And why did you create 120 threads? What was the application?
Show me your design that requires you to run 120 threads and I'll pretty much guarentee that I can redesign it to use less, like maybe 10. And it will be considerably more efficient and more responsive. A process with 120 threads would spend so much time context switching, it would have little or no time for processing.
Threads can be a very effective tool for solving certain kinds of problems, but like all the best medicines, they are best used sparingly. This is doubly true of perl's ithreads implementation.
In reply to Re: Re: threads and RAM-Usage
by BrowserUk
in thread threads and RAM-Usage
by strat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |