mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: James Lamanna <jlamanna@gmail.com>
To: "Alejandro Riveira Fernández" <ariveira@gmail.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: Hardware Interrupt Balancing
Date: Mon, 29 Mar 2010 13:14:35 -0700	[thread overview]
Message-ID: <8E1CBD32-5DCE-4931-A0AB-6713229193D2@gmail.com> (raw)
In-Reply-To: <20100325113618.024b8643@varda>



--James

On Mar 25, 2010, at 3:36, Alejandro Riveira Fernández <ariveira@gmail.co 
m> wrote:

> El Wed, 24 Mar 2010 18:11:36 -0700
> James Lamanna <jlamanna@gmail.com> escribió:
>
>> Hi,
>> I have a Dual Xeon (single core each w/HT) machine and I noticed the
>> other day that interrupts are not
>> being balanced across the 2 processors:
>>
>>          CPU0       CPU1       CPU2       CPU3
>>  0:        306          0          0 3254413993    IO-APIC-edge   
>> timer
>>  1:          0          0          0      13468    IO-APIC-edge   
>> i8042
>>  8:          0          0          0          3    IO-APIC-edge  rtc
>>  9:          0          0          0          0   IO-APIC-level  acpi
>> 12:          0          0          0          4    IO-APIC-edge   
>> i8042
>> 169:          0          0          0          0   IO-APIC-level   
>> uhci_hcd:usb2
>> 177:          0          0          0   16743166   IO-APIC-level   
>> ata_piix
>> 185:          0          0          0          1   IO-APIC-level   
>> ehci_hcd:usb1
>> 193:          0          0          0          0   IO-APIC-level   
>> uhci_hcd:usb3
>> 201:          0          0          0 1867922172   IO-APIC-level   
>> eth0
>> 209:          0          0          0 3254690559   IO-APIC-level   
>> wct4xxp
>> NMI:          1          0          0          0
>> LOC: 3255261535 3255261540 3255261549 3255220504
>> ERR:          0
>> MIS:          0
>>
>> However the cpu_affinity of say, wct4xxp is:
>> # cat /proc/irq/209/smp_affinity
>> 0000000f
>
> Maybe you just need to run irqbalance http://www.irqbalance.org/
> « sudo aptitude install irqbalance » in Debian system

I do not want to use irq balance because everytime irqbalance moves  
the CPU of my PRI card, there is a hiccup in voice calls.
I manually moved the interrupts for the wct4xxp to CPU0 using  
smp_affinity = 1.

However today I got a lot of soft lockups on CPU0 due to asterisk in  
udp_sendmsg() - unsure if moving the interrupt caused this...could it?

Thanks.

-- James
>

      reply	other threads:[~2010-03-29 20:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-25  1:11 James Lamanna
2010-03-25 10:36 ` Alejandro Riveira Fernández
2010-03-29 20:14   ` James Lamanna [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=8E1CBD32-5DCE-4931-A0AB-6713229193D2@gmail.com \
    --to=jlamanna@gmail.com \
    --cc=ariveira@gmail.com \
    --cc=linux-kernel@vger.kernel.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®