Skip to contentSkip to conversation

CONFIG_IRQBALANCE for AMD64?

DISCUSSION Thomas Zehetbauer 5 participants 8 messages May 27, 2004 – May 28, 2004

lore
Share & tools
lore
#0 lore raw

I wonder why there is no in-kernel irq balancing for the AMD64 architecture yet. I guess this shouldn't be much different to the i386 code. Someone willing to explain/provide a patch?

Tom

Signature · 5 lines
  T h o m a s   Z e h e t b a u e r   ( TZ251 )
  PGP encrypted mail preferred - KeyID 96FFCB89
      finger [email protected] for key

Windows 98 supports real multitasking - it can boot and crash simultaneously.
#1 lore raw
Quoted 3 lines · Thomas Zehetbauer

I wonder why there is no in-kernel irq balancing for the AMD64 architecture yet. I guess this shouldn't be much different to the i386 code. Someone willing to explain/provide a patch?

Why do you think you need in-kernel irq balancing?

Does userspace irqbalanced not work for you?

Jeff

#2 lore raw
Quoted 1 line · Jeff Garzik

Why do you think you need in-kernel irq balancing?

Very good question indeed, why is it there for the i386 architecture at all?

I just don't like the idea of unnecessary branching for the AMD64 architecture increasing maintenance and testing affords and thereby generating less maintained and tested code.

Quoted 1 line

Does userspace irqbalanced not work for you?

Seems to work, just like the i386 irqbalanced before it has been obsoleted by CONFIG_IRQBALANCE

Tom

Signature · 5 lines
  T h o m a s   Z e h e t b a u e r   ( TZ251 )
  PGP encrypted mail preferred - KeyID 96FFCB89
      finger [email protected] for key

Press any key to continue or any other key to quit.
#3 lore raw
Quoted 3 lines

Seems to work, just like the i386 irqbalanced before it has been obsoleted by CONFIG_IRQBALANCE

irqbalanced has NOT been obsoleted by CONFIG_IRQBALANCE.

#5 lore raw
Quoted 1 line · Arjan van de Ven

irqbalanced has NOT been obsoleted by CONFIG_IRQBALANCE.

Quoted 4 lines · Anton Blanchard
Quoted 2 lines

Seems to work, just like the i386 irqbalanced before it has been obsoleted by CONFIG_IRQBALANCE

No, CONFIG_IRQBALANCE is an x86 specific hack.

Why do we have CONFIG_IRQBALANCE at all then?

--cw

#6 lore raw
In reply to Anton Blanchard

Unfortunately I couldn't find much info on the topic, could you please provide some more information? Why is there a kirqd at all?

What are the differences/advantages/disadvantages between the kirqd and the user space implementation?

TIA
Tom

#7 lore raw
Quoted 2 lines · Thomas Zehetbauer

Unfortunately I couldn't find much info on the topic, could you please provide some more information? Why is there a kirqd at all?

For people with old distributions that didn't include irqbalanced yet ;)

Quoted 3 lines

What are the differences/advantages/disadvantages between the kirqd and the user space implementation?

the userspace implementation implements a more sophisticated algorithm for balancing irq's (well to be fair, since its in userspace it's easier to do this so it's not kirqd's failt that it doesn't have that). While I didn't test kirqd to compare, we did see quite a difference (order of percents) in a specweb load between a naive algorithm in kirqbalanced and the current algorithm. Otoh few real life workloads get as many interrupts as specweb ;)