[asterisk-users] Re: Balancing interrupts.

Carlos Rojas crt.rojas at gmail.com
Fri May 4 19:59:57 MST 2007


Hello

And  lspci -vb   ??

Regards

On 5/4/07, Daniel Pittman <daniel at rimspace.net> wrote:
>
> Steve Edwards <asterisk.org at sedwards.com> writes:
>
> > I see the following on one of my new servers:
> >
> > -ts10::sedwards:~$ cat /proc/interrupts
> >             CPU0       CPU1       CPU2       CPU3
> >    0:    2979045    2988620   87780075   87779501    IO-APIC-edge  timer
>
> [...]
>
> > 225:    4611916     681023   84732445   89903138
> IO-APIC-level  wct4xxp
> > NMI:          0          0          0          0
> > LOC:  181534588  181534654  181534653  181534652
> > ERR:          0
> > MIS:          0
> >
> > -ts10::sedwards:~$ ps -e | grep bal
> >   2633 ?        00:00:00 irqbalance
> >
> > Should I be concerned that cpu1 is servicing only 700,000 interrupts
> > from my te410p while cpu3 is servicing almost 90,000,000?
> >
> > I thought this is what irqbalance was for...
>
> Actually, what you *really* want (for performance reasons) is to have
> one CPU handle *all* the interrupts and all the threads that talk to
> hardware for that card, if possible.
>
> Every time you move the IRQ to a different CPU you lose a bunch of
> cycles reloading data from main memory into the L2 and L1 cache, cycles
> that can't be used elsewhere.
>
> Binding that interrupt to one specific CPU -- and your NIC to a
> different CPU -- is generally a good idea.  If you can keep the threads
> that handle those signals and the hardware on that same CPU you increase
> efficiency a bit more.
>
> Moving the IRQ has plenty of cost and isn't a great plan.  :)
>
> Regards,
>         Daniel
> --
> Digital Infrastructure Solutions -- making IT simple, stable and secure
> Phone: 0401 155 707        email: contact at digital-infrastructure.com.au
>                  http://digital-infrastructure.com.au/
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070504/a1dc2ba8/attachment.htm


More information about the asterisk-users mailing list