[CentOS] Re: Re: Does irqbalance actually do anything?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I have the following in my rc.local file:
--------------------
setpci -v -s 00:1f.1 LATENCY_TIMER=4
setpci -v -s 02:0e.0 LATENCY_TIMER=4
setpci -v -s 0b:07.0 LATENCY_TIMER=4
setpci -v -s 0c:08.0 LATENCY_TIMER=4
setpci -v -s 10:0d.0 LATENCY_TIMER=0
setpci -v -s 06:02.0 LATENCY_TIMER=ff

echo 1 > /proc/irq/201/smp_affinity
echo 1 > /proc/irq/217/smp_affinity
echo 0 > /proc/irq/209/smp_affinity
echo 1 > /proc/irq/14/smp_affinity
---------------------

The last 4 lines set the CPU for the 4 PCI cards that I have with the most activity.
My TDM Card, 2 NICs and a Raid Controller.

It is a dual proc machine, so 0 is one CPU and 1 is the other.

If you do these commands while irqbalance is still running, they will just get undone a few seconds later.
irqbalance does the same as above, it just edits these files after determining the load on each CPU.


-- 
-- 
Steven

http://www.glimasoutheast.org



"Email Lists" <lists06@xxxxxxxxxxxx> wrote in message news:00ab01c6cab7$4751ffe0$4001a8c0@xxxxxxxxx
>
>
> -> Behalf Of Steven
> -> Subject: [CentOS] Re: Does irqbalance actually do anything?
> ->
> -> My experience is that when switching CPUs for the IRQ Interrupts, it
> -> introduces a delay.
> -> In other words, each time it switches CPUs, I would lose interrupts.
> ->
> -> I am using CentOS for Telephony purposes, so eached dropped interrupts is
> -> a potential problem.
> ->
> -> The first thing that I do on any CentOS box, is disable irqbalance and
> -> set them CPUs manually.
> ->
> -> --
> -> --
> -> Steven
> ->
>
> Would you please show and tell what you mean by "set the cpus manually"
> after disabling irqbalance.
>
> Thanks in advance!
>
> - rh 



_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux