Do you know where your variables are? | |
PerlMonks |
Re^2: Use more threads.by BrowserUk (Patriarch) |
on Apr 28, 2013 at 06:53 UTC ( [id://1031039]=note: print w/replies, xml ) | Need Help?? |
Note also the stack_size use line option added to threads as a result of this thread. I quite routinely set this as low as 4096 without problems, and doing so I have had a proof of concept code with 3000 threads running in 4GB of memory. Not that there are many good uses for using more than 3 or 4 times as many threads as you have cores. So unless you are running your code on a system with 32 cores or more, seeking to run so many threads is usually a sign of naive coding. With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Meditations
|
|