11-14-04 10:47 PM
> 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.
--
[ Post a follow-up to this message ]
|