[Mageia-dev] irqbalance

Colin Guthrie mageia at colin.guthr.ie
Sun Sep 30 15:58:26 CEST 2012


'Twas brillig, and Thomas Backlund at 30/09/12 14:44 did gyre and gimble:
> 30.09.2012 16:39, Colin Guthrie skrev:
>> 'Twas brillig, and Colin Guthrie at 27/09/12 17:05 did gyre and gimble:
>>> 'Twas brillig, and Thomas Backlund at 27/09/12 16:09 did gyre and
>>> gimble:
>>>> Colin Guthrie skrev 27.9.2012 15:31:
>>>>> 'Twas brillig, and Anne Wilson at 27/09/12 11:02 did gyre and gimble:
>>>>>>
>>>>>> While the new reboot is completing, and while I remember - irqbalance
>>>>>> daemon always fails to start.  I've assumed it's not relevant?
>>>>>
>>>>> I noticed this yesterday too. It has a very incomplete systemd unit
>>>>> for
>>>>> some reason. Will have to investigate who added that without
>>>>> checking it.
>>>>>
>>>>
>>>> I did ... for Mga2 the service file shipped in irqbalance-1.0.3 tarball
>>>> works, but for the updated 1.0.4 in Cauldron upstream did this:
>>>>
>>>> --- irqbalance-1.0.3/misc/irqbalance.service
>>>> +++ irqbalance-1.0.4/misc/irqbalance.service
>>>> @@ -3,9 +3,8 @@ Description=irqbalance daemon
>>>>   After=syslog.target
>>>>
>>>>   [Service]
>>>> -EnvironmentFile=/etc/sysconfig/irqbalance
>>>> -Type=forking
>>>> -ExecStart=/usr/sbin/irqbalance $ONESHOT
>>>> +EnvironmentFile=/path/to/irqbalance.env
>>>> +ExecStart=/usr/sbin/irqbalance --foreground $IRQBALANCE_ARGS
>>>
>>> Well, I'm glad upstream have made their unit much better :p
>>
>> Interestingly with the updated version, irqbalance --foreground seems to
>> exit after about 10s which isn't very useful.
>>
> 
> No such problem here... it stays active all the time...
> 
> Any info in the any logs ?

Not that I can see. It does seem to run for almost exactly 10s tho'.

It starts up quick and the delay happens after outputting "LOCAL CPU
MASK: 00000003"


[root at jimmy ~]# date;/usr/sbin/irqbalance --foreground --debug;date
Sun 30 Sep 14:56:20 BST 2012
Package 0:  numa_node is 0 cpu mask is 00000003 (load 0)
        Cache domain 0:  numa_node is 0 cpu mask is 00000003  (load 0)
                CPU number 0  numa_node is 0 (load 0)
                CPU number 1  numa_node is 0 (load 0)
Adding IRQ 16 to database
Adding IRQ 42 to database
Adding IRQ 40 to database
Adding IRQ 41 to database
Adding IRQ 20 to database
Adding IRQ 21 to database
Adding IRQ 22 to database
Adding IRQ 23 to database
DROPPING DUPLICATE ENTRY FOR IRQ 20 on path
/sys/bus/pci/devices/0000:00:1d.7
Adding IRQ 17 to database
DROPPING DUPLICATE ENTRY FOR IRQ 17 on path
/sys/bus/pci/devices/0000:00:1f.3
DROPPING DUPLICATE ENTRY FOR IRQ 17 on path
/sys/bus/pci/devices/0000:03:00.0
Adding IRQ 19 to database
Adding IRQ 18 to database
DROPPING DUPLICATE ENTRY FOR IRQ 18 on path
/sys/bus/pci/devices/0000:03:01.2
DROPPING DUPLICATE ENTRY FOR IRQ 18 on path
/sys/bus/pci/devices/0000:03:01.3
Adding IRQ 43 to database
NUMA NODE NUMBER: -1
LOCAL CPU MASK:
ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,
 ffffffff,
ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff

NUMA NODE NUMBER: 0
LOCAL CPU MASK: 00000003




-----------------------------------------------------------------------------
Package 0:  numa_node is 0 cpu mask is 00000003 (load 0)
        Cache domain 0:  numa_node is 0 cpu mask is 00000003  (load 0)
                CPU number 0  numa_node is 0 (load 0)
                  Interrupt 43 node_num is -1 (ethernet/0)
                CPU number 1  numa_node is 0 (load 0)
          Interrupt 41 node_num is -1 (legacy/0)
          Interrupt 40 node_num is -1 (legacy/0)
          Interrupt 19 node_num is -1 (legacy/0)
          Interrupt 17 node_num is -1 (storage/0)
          Interrupt 23 node_num is -1 (legacy/0)
          Interrupt 22 node_num is -1 (legacy/0)
          Interrupt 21 node_num is -1 (legacy/0)
          Interrupt 20 node_num is -1 (legacy/0)
  Interrupt 18 node_num is -1 (other/0)
  Interrupt 42 node_num is -1 (other/0)
  Interrupt 16 node_num is -1 (other/0)
Sun 30 Sep 14:56:30 BST 2012


-- 

Colin Guthrie
colin(at)mageia.org
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/


More information about the Mageia-dev mailing list