public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Arjan van de Ven <arjanv@redhat.com>
To: "Martin J. Bligh" <mbligh@aracnet.com>
Cc: "Nakajima, Jun" <jun.nakajima@intel.com>,
	Jeff Garzik <jgarzik@pobox.com>, Andrew Morton <akpm@osdl.org>,
	Anton Blanchard <anton@samba.org>,
	linux-kernel@vger.kernel.org
Subject: Re: CONFIG_IRQBALANCE for AMD64?
Date: Fri, 28 May 2004 21:01:29 +0200	[thread overview]
Message-ID: <20040528190129.GF9898@devserv.devel.redhat.com> (raw)
In-Reply-To: <4160000.1085770644@flay>

[-- Attachment #1: Type: text/plain, Size: 1585 bytes --]

On Fri, May 28, 2004 at 11:57:24AM -0700, Martin J. Bligh wrote:
> >> Here's my start at a list ... I'm sure it's woefully incomplete.
> >> 
> >> 1. Utilize all CPUs roughly evenly for IRQ processing load (anything that's
> >> not measured by the scheduler at least, because it's unfair to other 
> >> processes).
> > 
> > yep; irqbalance approximates irq processing load by irq count, which seems
> > to be ok-ish so far.
> 

> Isn't that exactly what the in-kernel one does though? which people were
> complaining about (wrt network backend (softirq?) processing)? And some
> interrupts are much heavier than others, surely?

irqbalance uses class based balancing to try to balance the "some are
heavier than others" thing. 

>  
> >> Also, we may well have more than 1 CPU's worth of traffic to
> >> process in a large network server.
> > 
> > One NIC? I've yet to see that ;)
> 
> No, multiple NICs. but if I shove 8 gigabit adaptors in a machine, we need
> more than 1 cpu to process it ... 

yeah, and if you have more than 1 cpu, irqbalanced *will* spread them.

> Is there actually any algorithmic difference between the user-space and
> in-kernel ones? or is this just a philosophical debate about user vs kernel
> placement of code? ;-)

the userspace one is quite different and uses different level of information
(for example it makes class groups of irq's, eg it groups all ethernet
irq's, all storage irq's etc in separate classes and uses the class info in
the balancing algorithm). That surely is beyond what you'd want to do inside
the kernel, but it works great ;)



[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2004-05-28 19:02 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-28 18:20 CONFIG_IRQBALANCE for AMD64? Nakajima, Jun
2004-05-28 18:33 ` Martin J. Bligh
2004-05-28 18:44   ` Arjan van de Ven
2004-05-28 18:57     ` Martin J. Bligh
2004-05-28 19:01       ` Arjan van de Ven [this message]
2004-05-29  8:38     ` michael
2004-05-29  8:41     ` michael
2004-05-29  8:45       ` Arjan van de Ven
  -- strict thread matches above, loose matches on Subject: below --
2004-05-28 23:37 Nakajima, Jun
2004-05-28 22:05 Nakajima, Jun
2004-05-28 22:54 ` Andi Kleen
2004-05-29  1:27   ` Nick Piggin
2004-05-29 10:06     ` Andi Kleen
2004-05-29 10:10       ` Nick Piggin
2004-05-29 11:18         ` Andi Kleen
     [not found] <20Uhn-7bP-11@gated-at.bofh.it>
     [not found] ` <20UqZ-7i7-5@gated-at.bofh.it>
2004-05-28 21:45   ` Andi Kleen
2004-05-28 17:09 Nakajima, Jun
2004-05-28 17:40 ` Jeff Garzik
2004-05-28 17:45   ` Arjan van de Ven
2004-05-28 17:46   ` Martin J. Bligh
2004-05-28 17:57     ` Arjan van de Ven
2004-05-28 19:51       ` Nivedita Singhvi
2004-05-28 19:58         ` Jeff Garzik
2004-05-28 20:14           ` Nivedita Singhvi
2004-05-28 21:45             ` Jeff Garzik
2004-05-28 20:03         ` Arjan van de Ven
2004-05-27  3:48 Thomas Zehetbauer
2004-05-27  5:13 ` Jeff Garzik
2004-05-27 16:36   ` Thomas Zehetbauer
2004-05-27 16:50     ` Arjan van de Ven
2004-05-27 21:37       ` Chris Wedgwood
2004-05-27 17:03     ` Anton Blanchard
2004-05-27 22:36       ` Thomas Zehetbauer
2004-05-28  5:57         ` Arjan van de Ven

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=20040528190129.GF9898@devserv.devel.redhat.com \
    --to=arjanv@redhat.com \
    --cc=akpm@osdl.org \
    --cc=anton@samba.org \
    --cc=jgarzik@pobox.com \
    --cc=jun.nakajima@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mbligh@aracnet.com \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox