View Single Post

   
  #6 (permalink)  
Old 01-19-2008, 07:35 AM
John Reiser
 
Posts: n/a
Default Re: Linux to support Massive Multi-Threading (or dies)!

> cat $HOME/big_file | filter1 | filter2 | filter3 > $HOME/output
>
> That leads to having 4 processes, each of which can (and likely
> will) migrate to separate CPUs.


Instead use:
< $HOME/big_file filter1 | filter2 | filter3 > $HOME/output
which requires only 3 processes to accomplish the same thing.

--
Reply With Quote