Subject: Re: Interrupts with MP kernel
To: Martin Husemann <martin@duskware.de>
From: rudolf <netbsd@eq.cz>
List: port-i386
Date: 10/14/2007 18:38:48
This is a multi-part message in MIME format.
--------------000704010007040106070205
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Martin Husemann wrote:
> On Sun, Oct 14, 2007 at 04:14:15PM +0200, rudolf wrote:
>> I have a problem with interrupts with NetBSD 4.0_RC2 GENERIC.MP kernel.
> 
> Sorry to be dense, but what is the problem?
> 
> Martin

I'm sorry, I forgot to mention that with MP kernel is one core spending 
around 95% on interrupts and the system is generally slow. I'm attaching 
systat and top outputs.

rudolf


--------------000704010007040106070205
Content-Type: text/plain;
 name="systat.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="systat.txt"

    2 users    Load  0.00  0.01  0.00                  Sun Oct 14 14:30:29

Proc:r  d  s  w     Csw    Trp    Sys   Int   Sof    Flt      PAGING   SWAPPING
           3          4      4     41    15    14      5      in  out   in  out
                                                        ops
   0.0% Sy   0.0% Us   0.0% Ni  46.9% In  53.1% Id    pages
|    |    |    |    |    |    |    |    |    |    |
%%%%%%%%%%%%%%%%%%%%%%%                                                   forks
                                                                          fkppw
           memory totals (in kB)             227 Interrupts               fksvm
          real  virtual     free              11 cpu0 softclock           pwait
Active   12228    12228  2022300               1 cpu0 softnet             relck
All      31844    31844  3071400             103 cpu0 timer               rlkok
                                                 FPU flush IPI            noram
Namei         Sys-cache     Proc-cache           FPU synch IPI            ndcpy
    Calls     hits    %     hits     %           TLB shootdown I          fltcp
        6        6  100                       97 cpu1 timer               zfod
                                                 FPU synch IPI            cow
Disks:   md0   wd0   wd1                         TLB shootdown I       64 fmin
 seeks                                        13 pic0 pin 0            85 ftarg
 xfers                                           ioapic0 pin 20           itarg
 bytes                                         1 ioapic0 pin 21        92 wired
 %busy                                           ioapic0 pin 22           pdfre
                                               1 ioapic0 pin 23           pdscn


--------------000704010007040106070205
Content-Type: text/plain;
 name="top.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="top.txt"

load averages:  0.01,  0.02,  0.00                                                                                                  up 0 days,  0:05   14:25:54
28 processes:  1 runnable, 26 sleeping, 1 on processor
CPU0 states:  0.0% user,  0.0% nice,  0.0% system, 94.6% interrupt,  5.4% idle
CPU1 states:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  100% idle
Memory: 11M Act, 364K Wired, 3456K Exec, 4024K File, 1975M Free
Swap: 1025M Total, 1025M Free

  PID USERNAME PRI NICE   SIZE   RES STATE      TIME   WCPU    CPU COMMAND
  511 root       2    0   348K 3120K select/0   0:02  0.00%  0.00% sshd
  625 root      28    0   212K 1052K CPU/0      0:00  0.00%  0.00% top
   12 root      18    0     0K   18M RUN/0      0:00  0.00%  0.00% [ioflush]
  574 root      18    0   244K  880K pause/0    0:00  0.00%  0.00% ksh
   10 root      14    0     0K   18M crypto/0   0:00  0.00%  0.00% [cryptoret]
    3 root      10    0     0K   18M usbevt/0   0:00  0.00%  0.00% [usb0]
    6 root      10    0     0K   18M usbevt/0   0:00  0.00%  0.00% [usb1]
    5 root      10    0     0K   18M usbtsk/0   0:00  0.00%  0.00% [usbtask-dr]
    4 root      10    0     0K   18M usbtsk/0   0:00  0.00%  0.00% [usbtask-hc]
    1 root      10    0   100K  864K wait/1     0:00  0.00%  0.00% init
  499 root      10    0   244K  796K nanosl/0   0:00  0.00%  0.00% cron
  560 root       3    0   244K  876K ttyin/0    0:00  0.00%  0.00% ksh
  532 root       3    0    56K  820K ttyin/0    0:00  0.00%  0.00% getty
  565 root       3    0    56K  820K ttyin/0    0:00  0.00%  0.00% getty
  538 root       3    0    56K  820K ttyin/0    0:00  0.00%  0.00% getty
  504 root       3    0    56K  820K ttyin/0    0:00  0.00%  0.00% getty
  571 root       2    0   348K 3128K select/0   0:00  0.00%  0.00% sshd
  471 root       2    0   296K 1452K select/0   0:00  0.00%  0.00% sshd
  246 root       2    0   180K  856K kqread/0   0:00  0.00%  0.00% syslogd
  505 root       2    0    72K  840K kqread/1   0:00  0.00%  0.00% inetd
    8 root      -6    0     0K   18M atath/0    0:00  0.00%  0.00% [atabus1]
    7 root      -6    0     0K   18M atath/0    0:00  0.00%  0.00% [atabus0]
   50 root      -6    0     0K   18M physio/1   0:00  0.00%  0.00% [physiod]
    9 root      -6    0     0K   18M atath/0    0:00  0.00%  0.00% [atabus2]
    0 root     -18    0     0K   18M schedu/0   0:00  0.00%  0.00% [swapper]
   13 root     -18    0     0K   18M aiodon/0   0:00  0.00%  0.00% [aiodoned]
   11 root     -18    0     0K   18M pgdaem/1   0:00  0.00%  0.00% [pagedaemon]
    2 root     -18    0     0K   18M smtask/0   0:00  0.00%  0.00% [sysmon]



--------------000704010007040106070205--