Can you characterize the processing that you're doing on lines from this file? If it's compute intensive processing (with no program induced blocking for I/O), then you're not liable to see much improvement from processing sections of the file in parallel.
Where multiple processes or threads win is where the processing involves activities that block for IO.
In reply to Re: Re: Re: Forking processes / children / threads
by dws
in thread Forking processes / children / threads
by msergeant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |