mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Yinghai Lu <yhlu.kernel@gmail.com>
To: SUJIT V <sujit.linux@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: x86_64 IOAPIC
Date: Fri, 30 Jan 2009 00:08:36 -0800	[thread overview]
Message-ID: <86802c440901300008x7d2c465cne6c21e4c54e78c3b@mail.gmail.com> (raw)
In-Reply-To: <74ae4f6a0901291405o6b615399vaa033abfbeac3a06@mail.gmail.com>

On Thu, Jan 29, 2009 at 2:05 PM, SUJIT V <sujit.linux@gmail.com> wrote:
> Forgot to mention that we are not using the irqbalance utility.
>
> So which part of the kernel io_apic code is doing the irq balancing
> which we see in /proc/interrupt.
>
> Thanks
>
>
> On Thu, Jan 29, 2009 at 2:02 PM, SUJIT V <sujit.linux@gmail.com> wrote:
>> Hi,
>>    We have a IBM Qauadcore 8 CPU system running x86_64 linux 2.6.23.
>> We were doing some performance test. (disk & network).
>> The eth0 IRQ is pinned to CPU0.  The aacraid interrupt has not been
>> assigned any smp affinity.
>>
>> On the system we see in (/proc/interrupts) that when the eth0
>> interrupt rate is high, the aacraid interrupt counter for CPU0 does
>> not increase as much compared to aacraid interrupts handled by other
>> CPUs .
>> This shows that IOAPIC is doing some load balancing.
>>
>> I wanted to check the code which is doing this load balancing. I
>> checked the file arch/x86_64/kernel/io_apic.c. I could not find any
>> irq balancing stuff out there.
>> I went through some archived discussions about the x86_64 ioapic irq
>> balancing. Most of the discussions were about using irqbalance
>> utility.
>>
>>
>> Could some one point me to the relevant piece of io_apic code ?

you are using logical flat mode. and target_cpus and smp_affinity are 0xff.
aka irq is broadcast to all cpus.

YH

      reply	other threads:[~2009-01-30  8:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-29 22:02 SUJIT V
2009-01-29 22:05 ` SUJIT V
2009-01-30  8:08   ` Yinghai Lu [this message]

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=86802c440901300008x7d2c465cne6c21e4c54e78c3b@mail.gmail.com \
    --to=yhlu.kernel@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sujit.linux@gmail.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

all inboxes | Powered by JetHome®