Re: irq balancing question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Arjan van de Ven wrote:
> On Fri, 2007-02-23 at 13:32 +0200, Imre Gergely wrote:
>> hi
>>
>> i have a SMP with 2x duo-core Opteron processors, and i have an ethernet card
>> (eth0). i want to balance the interrupts generated by the card to all 4
>> processors. 
> 
> you have only one card? then balancing like you say will only really
> hurt you; neither linux nor the chipset will do this.

in fact i have two cards, and 4 CPUs, but i was interested in then answer
Robert gave, that only _some_ machines distribute interrupts in hardware.
software distribution is obviously not good. consider this scenario:

you have one machine with 4 cpus, and two ethernet cards with a lot of
traffic on them. if you bind every card to one cpu, two of them are not used,
so you really use only half the power. not let's say you have so much traffic
(with limiting enabled, htb or something), that the two CPUs are on 100% all
the time, but the other two are doing nothing.

now if you could balance that to all 4 cpus, you could use all the power AND
no cpu would be used 100%.

but i guess the machine has to do it in hardware, and that was the real
question. irqbalance has no use here, i think, only if the hardware supports it.

is there a way to find out (some easy way) for sure, if one particular
hardware supports this interrupt distribution?


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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux