> Thread switch time does not scale to the # of threads involved.
True, but the number of context switches does increase and that in turn decreases the ratio of useful work vs. context switch overhead.
Also the secondary costs of context switching, like flushing caches increase. If there are hundreds of threads, the chances that a thread is woken up with warm caches decreases.
Re:C++11 async tutorial
by JoeAltmaier on Thursday October 25, 2012 @11:43AM
(#4698017)
Again, my point Was that context switching is identical. That is equal to the # io completions and nothing else.
Memory footprint is somewhat applicable - often each has a (virtual) megabyte stack. So in 32-bit address mode you could run out of virtual memory!