in reply to Re^4: Use more threads.
in thread Use more threads.
Of course, a pool of threads is what I have. I create it even before any jobs are enqueued, but still the process of creating threads eats up 100% of CPU, and creating 100 threads takes a long time (about 20-22 seconds). After threads are created, the CPU usage drops.
Maybe I'm running out of limits of my system, after all it's a P4 3.2GHz 9 y.o. computer with 3GB of DDR type slowwww, but I would have no excuse 9 years ago, so there's a possibility I am the bottleneck! :p
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Use more threads.
by BrowserUk (Patriarch) on Apr 30, 2013 at 00:43 UTC | |
by password (Beadle) on Apr 30, 2013 at 11:00 UTC | |
by BrowserUk (Patriarch) on Apr 30, 2013 at 11:27 UTC |