Messages in this thread | | | Date | Mon, 10 Nov 2008 08:38:42 -0600 (CST) | From | Christoph Lameter <> | Subject | Re: regression introduced by - timers: fix itimer/many thread hang |
| |
On Fri, 7 Nov 2008, Peter Zijlstra wrote:
> The advantage is that the memory foot-print scales with nr_tasks and the > runtime cost is min(nr_tasks, nr_cpus) where nr_cpus is limited to the > cpus the process actually runs on, so this takes full advantage of > things like cpusets.
Typically you want threads of a process to spread out as far as possible. The point of having multiple threads is concurrency after all. So this will deteriorate in the common cases where you want the full aggregate processing power of a machine to work on something. Timer processing is already a latency problem (isnt there some option to switch that off?) and a solution like this is going to make things worse.
Can we at least somehow make sure that nothing significantly happens in a timer interrupt on a processor if the thread has not scheduled any events or not odone any system calls?
| |