mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Arjan van de Ven <arjan@infradead.org>
To: "Robert M. Stockmann" <stock@stokkie.net>
Cc: linux-kernel@vger.kernel.org, Randy Dunlap <rddunlap@osdl.org>,
	Linus Torvalds <torvalds@osdl.org>, Andrew Morton <akpm@osdl.org>,
	Andre Hedrick <andre@linux-ide.org>,
	Manfred Spraul <manfreds@colorfullife.com>,
	Alan Cox <alan@redhat.com>, Kamal Deen <kamal@kdeen.net>
Subject: Re: irqbalance mandatory on SMP kernels?
Date: Mon, 17 Apr 2006 15:10:22 +0200	[thread overview]
Message-ID: <1145279422.2847.44.camel@laptopd505.fenrus.org> (raw)
In-Reply-To: <Pine.LNX.4.44.0604171438490.14894-100000@hubble.stokkie.net>


> [jackson:stock]:(/usr/src/linux)$ cat /proc/interrupts 
>            CPU0       CPU1       
>   0:    3139568          0    IO-APIC-edge  timer
>   1:       8923          0    IO-APIC-edge  i8042
>   3:         10          0    IO-APIC-edge  serial
>   4:         37          0    IO-APIC-edge  serial
>   8:          0          0    IO-APIC-edge  rtc
>   9:        240          0   IO-APIC-level  acpi
>  12:      75316          0    IO-APIC-edge  i8042
>  14:      64291          0    IO-APIC-edge  ide0
>  15:      64291          0    IO-APIC-edge  ide1
>  16:     235408          0   IO-APIC-level  HiSax, nvidia
>  17:      15823          0   IO-APIC-level  libata, AMD AMD8111
>  19:        241          0   IO-APIC-level  ohci_hcd, ohci_hcd, ohci1394
>  24:      50761          0   IO-APIC-level  eth0
> NMI:         89         28 
> LOC:    3139042    3139125 
> ERR:          0
> MIS:          0
> [jackson:stock]:(/usr/src/linux)$ 

this may or may not be a problem depending on how long a time you used
to collect this. Based on your timer tick count it really looks like
your irq rates are so low that it really doesn't matter much

> 
> Only when firing up the irqbalance util at boot time will activate
> true SMP, distributing IRQ's across CPU's. Is this on purpose?
> Because afaik a Linux SMP kernel, 2.4.xx or 2.6.xx should always
> result in distributed IRQ loads across CPU's.

that is a chipset feature if it happens; not all chipsets do this (and
most that do, do it badly). 

I'm not sure what your actual problem is btw, the irqbalance tool is
supposed to automatically start at boot, did it not do that ?
(and no the kernel doesn't need to do everything, something like this
can perfectly well be done in userspace as irqbalance shows)


  reply	other threads:[~2006-04-17 13:10 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-17 13:00 Robert M. Stockmann
2006-04-17 13:10 ` Arjan van de Ven [this message]
2006-04-17 14:15   ` Robert M. Stockmann
2006-04-17 14:23     ` Arjan van de Ven
2006-04-17 14:31 ` Martin J. Bligh
2006-04-17 15:01   ` Lee Revell
2006-04-18 16:35     ` Theodore Ts'o
2006-04-18 17:42       ` Stephen Hemminger
2006-04-18 17:53       ` Martin Bligh
2006-04-18 18:19       ` Arjan van de Ven
2006-04-19 12:42         ` Erik Mouw
2006-04-19 14:23           ` Arjan van de Ven
2006-04-19 14:38             ` Theodore Ts'o
2006-04-19 14:45               ` Arjan van de Ven
2006-04-20  7:43                 ` Nick Piggin
2006-04-19 14:30           ` Martin J. Bligh

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=1145279422.2847.44.camel@laptopd505.fenrus.org \
    --to=arjan@infradead.org \
    --cc=akpm@osdl.org \
    --cc=alan@redhat.com \
    --cc=andre@linux-ide.org \
    --cc=kamal@kdeen.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=manfreds@colorfullife.com \
    --cc=rddunlap@osdl.org \
    --cc=stock@stokkie.net \
    --cc=torvalds@osdl.org \
    /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

all inboxes | Powered by JetHome®