LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Arjan van de Ven <arjan@infradead.org>
To: Imre Gergely <imre.gergely@astral.ro>
Cc: linux-kernel@vger.kernel.org
Subject: Re: irq balancing question
Date: Fri, 23 Feb 2007 15:45:17 +0100	[thread overview]
Message-ID: <1172241917.3241.4.camel@laptopd505.fenrus.org> (raw)
In-Reply-To: <45DED0D6.1040700@astral.ro>

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


  reply	other threads:[~2007-02-23 14:45 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-23 11:32 Imre Gergely
2007-02-23 14:45 ` Arjan van de Ven [this message]
2007-02-23 14:58   ` Gergely Imre
2007-02-23 15:54     ` Arjan van de Ven
2007-02-23 18:51       ` Gergely Imre
2007-02-23 19:01         ` Arjan van de Ven
2007-02-23 20:57           ` Gergely Imre
     [not found] <fa.o8VX4Uax4/73QDX3vvhLW5NBvRE@ifi.uio.no>
2007-02-23 14:39 ` Robert Hancock
  -- strict thread matches above, loose matches on Subject: below --
2005-12-15 14:00 Pallipadi, Venkatesh
2005-11-17  8:28 ` JaniD++
2005-12-15  0:48 Pallipadi, Venkatesh
2005-12-15  9:10 ` JaniD++
2005-12-14 21:05 JaniD++
2005-12-14 21:16 ` Arjan van de Ven
2005-12-14 21:31   ` JaniD++

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1172241917.3241.4.camel@laptopd505.fenrus.org \
    --to=arjan@infradead.org \
    --cc=imre.gergely@astral.ro \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: irq balancing question' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).