something wrong with interrupts

Коньков Евгений kes-kes at yandex.ru
Wed Nov 16 21:46:08 UTC 2011


Hi, system just rebooted.

stay without load one day

today, when I login I saw:

#top -SIHP

last pid: 88958;  load averages:  0.99,  0.97,  0.92                up 1+05:27:18  23:45:42
109 processes: 6 running, 84 sleeping, 19 waiting
CPU 0:  0.0% user,  0.0% nice,  0.0% system, 97.6% interrupt,  2.4% idle
CPU 1:  0.0% user,  0.0% nice,  0.8% system,  0.0% interrupt, 99.2% idle
CPU 2:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  100% idle
CPU 3:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  100% idle
Mem: 136M Active, 355M Inact, 217M Wired, 212K Cache, 112M Buf, 2211M Free
Swap: 32G Total, 32G Free

  PID USERNAME   PRI NICE   SIZE    RES STATE   C   TIME   WCPU COMMAND
   11 root       155 ki31     0K    32K CPU3    3  29.4H 100.00% idle{idle: cpu3}
   11 root       155 ki31     0K    32K CPU2    2  29.4H 100.00% idle{idle: cpu2}
   11 root       155 ki31     0K    32K RUN     1  29.3H 100.00% idle{idle: cpu1}
   12 root       -88    -     0K   160K CPU0    0 421:07 100.00% intr{irq16: atapci0}
   11 root       155 ki31     0K    32K RUN     0  22.3H  0.29% idle{idle: cpu0}


why intr take all CPU time?? I do nothing!

# vmstat -i
interrupt                          total       rate
irq1: atkbd0                          14          0
irq16: atapci0                 240185057       2262
irq23: ehci0 ehci1                368174          3
cpu0:timer                     438088141       4125
irq256: re0                       145321          1
cpu1:timer                     373026062       3513
cpu3:timer                      57648330        542
cpu2:timer                      43618662        410
Total                         1153079761      10859

systat -v
    1 users    Load  0,96  0,96  0,92                  16 ноя 23:48

Mem:KB    REAL            VIRTUAL                       VN PAGER   SWAP PAGER
        Tot   Share      Tot    Share    Free           in   out     in   out
Act  165920    5840   586612     7676 2264164  count
All  278248    7756  2744244    17100          pages
Proc:                                                            Interrupts
  r   p   d   s   w   Csw  Trp  Sys  Int  Sof  Flt        cow   18012 total
             42       47k    1  116 9278 4021    1      1 zfod        atkbd0 1
                                                          ozfod  9275 atapci0 16
 0,0%Sys  25,0%Intr  0,0%User  0,0%Nice 75,0%Idle        %ozfod     3 ehci0 ehci
|    |    |    |    |    |    |    |    |    |    |       daefr  4129 cpu0:timer
++++++++++++                                              prcfr     1 re0 256
                                        12 dtbuf       40 totfr  4129 cpu1:timer
Namei     Name-cache   Dir-cache    126612 desvn          react    10 cpu3:timer
   Calls    hits   %    hits   %     90415 numvn          pdwak   465 cpu2:timer
     317     113  36                 31651 frevn          pdpgs
                                                          intrn
Disks  ada0   da0 pass0 pass1                      222376 wire
KB/t  15,44  0,00  0,00  0,00                      139736 act
tps       5     0     0     0                      363240 inact
MB/s   0,08  0,00  0,00  0,00                         212 cache
%busy     0     0     0     0                     2263952 free

# iostat
       tty            ada0              da0            pass0             cpu
 tin  tout  KB/t tps  MB/s   KB/t tps  MB/s   KB/t tps  MB/s  us ni sy in id
   0     3 10.53   1  0.01   0.01   0  0.00   0.00   0  0.00   0  0  0  6 94

How to fix that?

# uname -a
FreeBSD 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Sat Nov 12 20:17:02 EET 2011     :/usr/obj/usr/src/sys/KES_KERN_v10  i386

-- 
С уважением,
 Коньков                          mailto:kes-kes at yandex.ru



More information about the freebsd-questions mailing list