[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-bugs
Subject:    Re: Very high interrupt rate on irq0/clock on Dell laptop
From:       Christophe Simon <christophe () pipeless ! org>
Date:       2018-03-31 0:41:33
Message-ID: 19fb76b6-acef-6d31-e441-78ae73e679df () pipeless ! org
[Download RAW message or body]

Hello,

Thank you for having answered so quickly.

It totally makes sense, thank you for having put me back in the right 
direction.

I'm still trying to figure out where this high interrupt load can come 
from. To do so, I disabled all the devices I could in the BIOS to see if 
any could be the cause:

- Network adapter
- Wireless cards
- USB stack
- Intel Turbo mode
- Camera, microphone and sound card
- Memory card reader
...

Then I tried booting the laptop in single user mode, but I'm still 
experiencing high interrupt load on CPU0, despite nothing except the 
shell was running.

Please find "top", "vmstat -iz" and "vmstat -s" outputs captured in 
single user mode below:

# top
load averages:  0.71,  0.29,  0.12     23:38:12
3 processes: 2 idle, 1 on processor  up  0:03
CPU0 states:  0.0% user,  0.0% nice,  0.0% system, 46.0% interrupt, 
53.9% idle
CPU1 states:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt, 100% 
idle
CPU2 states:  0.0% user,  0.0% nice,  0.2% system,  0.0% interrupt, 
99.8% idle
CPU3 states:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt, 100% 
idle
Memory: Real: 1728K/33M act/tot Free: 7773M Cache: 3744K Swap: 0K/8189M

   PID USERNAME PRI NICE  SIZE   RES STATE     WAIT      TIME    CPU COMMAND
     1 root      10    0  304K  172K idle      wait      0:01  0.00% init
91068 root      18    0  728K  800K sleep/2   pause     0:00  0.00% ksh
27957 root      28    0  360K 1156K onproc/0  -         0:00  0.00% top


# vmstat -iz
irq0/clock                     185108      398
irq0/ipi                         1357        2
irq144/acpi0                       97        0
irq145/inteldrm0                28077       60
irq96/ppb0                          0        0
irq97/sdhc0                         0        0
irq98/ehci0                       104        0
irq99/ahci0                     26691       57
irq100/ichiic0                      0        0
irq146/pckbc0                    1112        2
irq147/pckbc0                      39        0
Total                          242585      521


# vmstat -s
        4096 bytes per page
     1998390 pages managed
     1894589 pages free
         795 pages active
       13475 pages inactive
           0 pages being paged out
          49 pages wired
      236833 pages zeroed
           4 pages reserved for pagedaemon
           6 pages reserved for kernel
     2096481 swap pages
           0 swap pages in use
           0 total anon's in system
           0 free anon's
      345295 page faults
      277216 traps
    61136801 interrupts
      166173 cpu context switches
       13962 fpu context switches
       49986 software interrupts
      509915 syscalls
           0 pagein operations
         721 forks
          29 forks where vmspace is shared
          28 kernel map entries
      222927 zeroed page hits
        2222 zeroed page misses
           0 number of times the pagedaemon woke up
           0 revolutions of the clock hand
           0 pages freed by pagedaemon
           0 pages scanned by pagedaemon
           0 pages reactivated by pagedaemon
           0 busy pages found by pagedaemon
       48253 total name lookups
             cache hits (76% pos + 4% neg) system 0% per-directory
             deletions 3%, falsehits 0%, toolong 0%
           0 select collisions


I'm new to OpenBSD and lacking experience. I don't really know what else 
to check or can do to go further.

Do you have any advice that could help me ?

Thanks so much !

Le 03/30/18 à 18:30, Theo de Raadt a écrit :
>          I'm facing a very high interrupt rate on irq0/clock on a Dell Latitude
>          E7450 laptop.
>
>          interrupt                       total     rate
>          irq0/clock                     419735      389
>
> 100 per cpu.  4 cpus.
>
> Looks a lot like this:
>
> interrupt                       total     rate
> irq0/clock                 1591933050      599
>
> on a 6 cpu machine.
>
> Sorry, your interpretation is incorrect.
>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic