in reply to Re^3: Problem in creating process
in thread Problem in creating process
It could be that the machine has only one CPU available, or that the whole process is IO bound or that the program(s) are starved for RAM.
I beg to differ.
Regardless of whether the machine has one or 16 cpu's, the processing as described will
By using a second process, the competition between the two processes during the second phase will increase the record read time; and regardless of how many cores are available do little to reduce the cpu usage required.
If 10% of clock time per record is needed for processing, the maximum gain to be had by using two processes is 5%; but the IO time will increase by far more than that due to read competition.
There really is nothing to be gained from profiling the code at this point because none of the available profilers give you any useful information about the breakdown of the IO; or the interactions between processes.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Problem in creating process
by Corion (Patriarch) on Nov 23, 2015 at 11:28 UTC |