Re: [proaudio] rtirq and softirq

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Le Sat, 11 Oct 2008 12:39:04 +0200,
Dominique Michel <dominique.michel@xxxxxxxxx> a écrit :

> I get a different result with rtirq when running it into 64studio and gentoo:
> 
> 64studio:
> #/etc/init.d/rtirq status
> 
>   PID CLS RTPRIO  NI PRI %CPU STAT COMMAND	
>   340 FF      90   - 130  0.0 S<   IRQ-8	rtc
>   777 FF      85   - 125  0.0 S<   IRQ-16	ohci_hcd:usb1, HDA Intel
>   900 FF      80   - 120  0.0 S<   IRQ-19	ehci_hcd:usb6
>   893 FF      79   - 119  0.0 S<   IRQ-17	ohci_hcd:usb2, ohci_hcd:usb4
>   894 FF      78   - 118  0.0 S<   IRQ-18	ohci_hcd:usb3, ohci_hcd:usb5
>   367 FF      75   - 115  0.0 S<   IRQ-1	i8042
>   366 FF      74   - 114  0.0 S<   IRQ-12	i8042
>     4 FF      50   -  90  0.0 S    softirq-high/0	
>     5 FF      50   -  90  0.3 S    softirq-timer/0	
>     6 FF      50   -  90  0.0 S    softirq-net-tx/	
>     7 FF      50   -  90  0.0 S    softirq-net-rx/	
>     8 FF      50   -  90  0.0 S    softirq-block/0	
>     9 FF      50   -  90  0.0 S    softirq-tasklet	
>    10 FF      50   -  90  0.0 S    softirq-sched/0	
>    11 FF      50   -  90  0.0 S    softirq-rcu/0	
>    15 FF      50   -  90  0.0 S    softirq-high/1	
>    16 FF      50   -  90  0.2 S    softirq-timer/1	
>    17 FF      50   -  90  0.0 S    softirq-net-tx/	
>    18 FF      50   -  90  0.0 S    softirq-net-rx/	
>    19 FF      50   -  90  0.0 S    softirq-block/1	
>    20 FF      50   -  90  0.0 S    softirq-tasklet	
>    21 FF      50   -  90  0.0 S    softirq-sched/1	
>    22 FF      50   -  90  0.0 S    softirq-rcu/1	
>    26 FF      50   -  90  0.0 S    softirq-high/2	
>    27 FF      50   -  90  0.1 S    softirq-timer/2	
>    28 FF      50   -  90  0.0 S    softirq-net-tx/	
>    29 FF      50   -  90  0.0 S    softirq-net-rx/	
>    30 FF      50   -  90  0.0 S    softirq-block/2	
>    31 FF      50   -  90  0.0 S    softirq-tasklet	
>    32 FF      50   -  90  0.0 S    softirq-sched/2	
>    33 FF      50   -  90  0.0 S    softirq-rcu/2	
>    37 FF      50   -  90  0.0 S    softirq-high/3	
>    38 FF      50   -  90  0.2 S    softirq-timer/3	
>    39 FF      50   -  90  0.0 S    softirq-net-tx/	
>    40 FF      50   -  90  0.0 S    softirq-net-rx/	
>    41 FF      50   -  90  0.0 S    softirq-block/3	
>    42 FF      50   -  90  0.0 S    softirq-tasklet	
>    43 FF      50   -  90  0.0 S    softirq-sched/3	
>    44 FF      50   -  90  0.0 S    softirq-rcu/3	
>    75 FF      50   -  90  0.0 S<   IRQ-9	acpi
>   899 FF      50   -  90  0.1 S<   IRQ-22	libata, ohci1394
>  1125 FF      50   -  90  0.0 S<   IRQ-14	ide0
>  2375 FF      50   -  90  0.0 S<   IRQ-1275	PCI-MSI-edge      eth1
>  2579 FF      50   -  90  0.0 S<   IRQ-20	bttv0
>  6802 FF      50   -  90  0.0 S<   IRQ-4	
> 
> gentoo:
>  * status:  started
> 
>   PID CLS RTPRIO  NI PRI %CPU STAT COMMAND	
>   500 FF      90   - 130  0.0 S<   IRQ-8	rtc0
>  1579 FF      85   - 125  0.0 S<   IRQ-21	ICE1724
>   439 FF      84   - 124  0.0 S<   IRQ-16	ahci, ohci_hcd:usb2, HDA
> Intel 446 FF      80   - 120  0.3 S<   IRQ-19	ahci, ehci_hcd:usb1
>  1401 FF      79   - 119  0.0 S<   IRQ-17	ohci_hcd:usb3, ohci_hcd:usb5
>  1117 FF      78   - 118  0.0 S<   IRQ-18	eth0, ohci_hcd:usb4,
> ohci_hcd:usb6 494 FF      75   - 115  0.0 S<   IRQ-1	i8042
>   108 FF      50   -  90  0.0 S<   IRQ-9	acpi
>   395 FF      50   -  90  0.0 S<   IRQ-14	ide0
>   413 FF      50   -  90  0.0 S<   IRQ-22	ahci, ohci1394
>  1574 FF      50   -  90  0.0 S<   IRQ-20	bttv0
>  4552 FF      50   -  90  0.0 S<   IRQ-4	
>                        
> On 64studio, I get all the softirq-things. Is it something I missed during the
> installation or kernel config?
> 
> Ciao,
> Dominique
> 
> 
 Well, I found it. In /etc/init.d/rtirq.sh, the line (status function)

		| egrep '(^[[:blank:]]*PID|IRQ|softirq)' \

must be
		| egrep '(^[[:blank:]]*PID|IRQ|sirq)' \

After modification, I get:
# /etc/init.d/rtirq status
 * status:  started

  PID CLS RTPRIO  NI PRI %CPU STAT COMMAND	
  500 FF      90   - 130  0.0 S<   IRQ-8	rtc0
 1595 FF      85   - 125  0.0 S<   IRQ-21	ICE1724
  439 FF      84   - 124  0.0 S<   IRQ-16	ahci, ohci_hcd:usb2, HDA Intel
  446 FF      80   - 120  0.0 S<   IRQ-19	ahci, ehci_hcd:usb1
 1365 FF      79   - 119  0.0 S<   IRQ-17	ohci_hcd:usb3, ohci_hcd:usb5
 1129 FF      78   - 118  0.2 S<   IRQ-18	eth0, ohci_hcd:usb4,
ohci_hcd:usb6 494 FF      75   - 115  0.0 S<   IRQ-1	i8042
    5 FF      50   -  90  0.0 S<   sirq-high/0	
    6 FF      50   -  90  0.0 S<   sirq-timer/0	
    7 FF      50   -  90  0.0 S<   sirq-net-tx/0	
    8 FF      50   -  90  0.1 S<   sirq-net-rx/0	
    9 FF      50   -  90  0.0 S<   sirq-block/0	
   10 FF      50   -  90  0.0 S<   sirq-tasklet/0	
   11 FF      50   -  90  0.0 S<   sirq-sched/0	
   12 FF      50   -  90  0.0 S<   sirq-hrtimer/0	
   13 FF      50   -  90  0.0 S<   sirq-rcu/0	
   17 FF      50   -  90  0.0 S<   sirq-high/1	
   18 FF      50   -  90  0.0 S<   sirq-timer/1	
   19 FF      50   -  90  0.0 S<   sirq-net-tx/1	
   20 FF      50   -  90  0.0 S<   sirq-net-rx/1	
   21 FF      50   -  90  0.0 S<   sirq-block/1	
   22 FF      50   -  90  0.0 S<   sirq-tasklet/1	
   23 FF      50   -  90  0.0 S<   sirq-sched/1	
   24 FF      50   -  90  0.0 S<   sirq-hrtimer/1	
   25 FF      50   -  90  0.0 S<   sirq-rcu/1	
   29 FF      50   -  90  0.0 S<   sirq-high/2	
   30 FF      50   -  90  0.0 S<   sirq-timer/2	
   31 FF      50   -  90  0.0 S<   sirq-net-tx/2	
   32 FF      50   -  90  0.0 S<   sirq-net-rx/2	
   33 FF      50   -  90  0.0 S<   sirq-block/2	
   34 FF      50   -  90  0.0 S<   sirq-tasklet/2	
   35 FF      50   -  90  0.0 S<   sirq-sched/2	
   36 FF      50   -  90  0.0 S<   sirq-hrtimer/2	
   37 FF      50   -  90  0.0 S<   sirq-rcu/2	
   41 FF      50   -  90  0.0 S<   sirq-high/3	
   42 FF      50   -  90  0.0 S<   sirq-timer/3	
   43 FF      50   -  90  0.0 S<   sirq-net-tx/3	
   44 FF      50   -  90  0.1 S<   sirq-net-rx/3	
   45 FF      50   -  90  0.0 S<   sirq-block/3	C
   46 FF      50   -  90  0.0 S<   sirq-tasklet/3	
   47 FF      50   -  90  0.0 S<   sirq-sched/3	
   48 FF      50   -  90  0.0 S<   sirq-hrtimer/3	
   49 FF      50   -  90  0.0 S<   sirq-rcu/3	
  108 FF      50   -  90  0.0 S<   IRQ-9	acpi
  395 FF      50   -  90  0.0 S<   IRQ-14	ide0
  413 FF      50   -  90  0.0 S<   IRQ-22	ahci, ohci1394
 1590 FF      50   -  90  0.0 S<   IRQ-20	bttv0
 4551 FF      50   -  90  0.0 S<   IRQ-4	

Ciao,
Dominique



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/