Quote:
Originally Posted by
chetan.c
Hi Corona,
Thanks a lot.
So overlapping does happen in these cases.
It does, because you've explicitly told it to. They're simultaneous, they don't wait for each other.
Quote:
The problem here is i want to process a lot number of files so i wanted to try to make process more number of files.
Analyze the performance you already have, then, to see what can be improved. Improving the performance of the wrong bottleneck may be a waste of time.
Running too many processes will make it
slower. It will do timesharing among more processes than you have cores, just incurring extra overhead.
Thrashing the disk too much will make it
slower. Potentially quite a lot slower. Seek times on anything but SSD are murder.
Just blindly parallelizing everything 100% is as likely to swapdeath your machine as anything else.
What speed are you transforming these files already? Like, how many megabytes per second?