Skip to contentSkip to conversation

Scheduling with Hyperthreading

DISCUSSION Mike Sullivan 1 participant 1 message Feb 25, 2003

lore
Share & tools
lore
#0 lore raw

Sorry, should have been more specific. I am referring to the scheduler. I have noticed that if I run two compute intensive jobs on a Dual Xeon, the processes run on separate physical cpus and can spend a significant amount of time with both on a single cpu. I have seen some patches that try to improve on this and was wondering if they have made it into the production kernel stream. I ran tests on a 2.4.20 kernel and it had the same problem as a 2.4.18 kernel.

Thanks

Mike

Quoted 30 lines · William Lee Irwin III
Quoted 4 lines · Mike Sullivan
Quoted 4 lines

What kernel versions will attempt to distribute jobs across physical CPUs on Xeon SMP configurations.

Quoted 9 lines · James Bourne

From what I've heard, Arjans' user space daemon might be the way things are going, it's at http://people.redhat.com/arjanv/irqbalance/ . The other way that you might try is the irq load balance patch that Ingo produced. There is a patch that is from 2.4.20 at
http://www.hardrock.org/kernel/2.4.20/ and it is what I'm using at work on our current Xeon systems (until I have the chance to test the user space daemon at least).

I think he's referring to the cpu scheduler, not interrupt load balancing. mingo might have some insight into current patches for this and current results thereof. I don't really participate in the scheduler aside from very occasional bugfixing.

-- wli

Signature · 6 lines
----------------------------------------------------------------------
Mike Sullivan                           Director Performance Computing
@lliance Technologies,                  Voice: (416) 385-3255,
18 Wynford Dr, Suite 407                Fax:   (416) 385-1774
Toronto, ON, Canada, M3C-3S2            Toll Free:1-877-216-3199
http://www.alltec.com