lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1172241917.3241.4.camel@laptopd505.fenrus.org>
Date:	Fri, 23 Feb 2007 15:45:17 +0100
From:	Arjan van de Ven <arjan@...radead.org>
To:	Imre Gergely <imre.gergely@...ral.ro>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: irq balancing question

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.

> is this irq balancing a feature in the chipset, or driver, or kernel ? i got
> the idea of the smp_affinity stuff, and i've set it to "f", but nothing
> happens, i mean i see only one CPU getting the interrupts.

if you have multiple real interrupt sources you can balance between them
using irqbalance, see http://www.irqbalance.org
But note that this program will NOT move one irq across 4 cpus all the
time, since that gives *really* bad performance.

-- 
if you want to mail me at work (you don't), use arjan (at) linux.intel.com
Test the interaction between Linux and your BIOS via http://www.linuxfirmwarekit.org

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ