Re: [PATCH] sched.c: Be a bit more conservative in SMP



Vincent Pelletier <subdino2004 <at> yahoo.fr> writes:
I've often seen the following use case happening on the few linux SMP boxes
I have access to : one process eats one cpu becaus eit has a big
computation to do, all cpu being idle, and the process keeps on hopping
from one cpu to another.
This patch is a quick try to make this behaviour disapear without requiring
to bind all processes manually with taskset.
I don't know if there is any practical performance increase (although I
believe there locally is).

Hi !

Do you know if your patch has been included somewhere ?
We have the same problem on a HPCC here with 4 CPUs per MB, and I don't like
playing with taskset (moreover, performance under Windows *much* is better
without any tuning, shame on us), it would be nice to see less migration when
it's not needed...

Cheers,

Ludovic.





-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: RT patch acceptance (scheduler)
    ... > lock up the CPU in IRQ mode for human-perceptible time, ... For non-DMA IDE access data copies are CPU driven ... which can create tons of latency problems for that case. ... I suggest that you read the patch for the answer to softirq ...
    (Linux-Kernel)
  • Re: better wake-balancing: respin
    ... >>I guess I missed the objection for dropping the patch. ... correlation between the CPU the interrupt arrives on and the CPU the ... There is no point in immediate balancing either: ... If this patch hurts other workloads (and please ...
    (Linux-Kernel)
  • [PATCH] v5 Teach RCU that idle task is not quiscent state at boot
    ... The boot CPU runs in the context of its idle thread during boot-up. ... RCU to prematurely end grace periods during this time. ... This patch changes the rcutree.c and rcuclassic.c rcu_check_callbacks ...
    (Linux-Kernel)
  • Re: [PATCH] AMD Thermal Interrupt Support
    ... I'll add a robust description with the next revision of the patch. ... My buddy at Google suggested that I might as well fix this while I'm ... the throttling MCEs which you might naturally expect to see ... if you're expecting to be warned at 50C that your CPU has ...
    (Linux-Kernel)
  • [PATCH] v3 Teach RCU that idle task is not quiscent state at boot
    ... The boot CPU runs in the context of its idle thread during boot-up. ... RCU to prematurely end grace periods during this time. ... This patch changes the rcutree.c and rcuclassic.c rcu_check_callbacks ...
    (Linux-Kernel)