in reply to Re^2: Multithreaded Script CPU Usage
in thread Multithreaded Script CPU Usage
Also keep in mind that each thread has its own Perl interpretter, so memory size may be an unavoidable issue, esp if the threads are spawned from another thread that already has a lot of context (due to the interpretter cloning).
Update:
I just realized your issue has 2 parts: memory and CPU; note that my comments thus far have been entirely about the memory issue. However, given the size of the Perl process, might the CPU issue be related to paging/swapping ?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Multithreaded Script CPU Usage
by Zenshai (Sexton) on Aug 25, 2008 at 17:37 UTC |