On Wed, Apr 04, 2018 at 06:43:32PM +0200, Christophe Simon wrote:
> Hello again,
> 
> I tried to disable SpeedStep to see if the interrupts were related to this,
> but it didn't help (except the laptop seems a little faster due to stalled
> high frequency). I'm still having more than 50% time spent in interrupts on
> CPU0, and still the same driver interrupts distribution in `vmstat -iz`.
> 
> The only noticeable difference I see in dmesg when comparing with my X220
> (except hardware itself) are related to ACPI.
> 
> Here's the Latitude E7450 dmesg samples.
> 

A quick google search shows other people are having this issue with the same
model machine with Windows and Linux (high load while doing "nothing", sometimes
accompanied by fans/heat output).

Could be bad firmware. Or something else. Shrug.

-ml

> ...
> "Intel Core 5G Thermal" rev 0x09 at pci0 dev 4 function 0 not configured
> ...
> "Intel 9 Series MEI" rev 0x03 at pci0 dev 22 function 0 not configured
> ...
> acpimadt0: bogus nmi for apid 0
> acpimadt0: bogus nmi for apid 2
> acpimadt0: bogus nmi for apid 1
> acpimadt0: bogus nmi for apid 3
> ...
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus -1 (PEG0)
> acpiprt2 at acpi0: bus -1 (PEG1)
> acpiprt3 at acpi0: bus -1 (PEG2)
> acpiprt4 at acpi0: bus 1 (RP01)
> acpiprt5 at acpi0: bus -1 (RP02)
> acpiprt6 at acpi0: bus -1 (RP03)
> acpiprt7 at acpi0: bus 2 (RP04)
> acpiprt8 at acpi0: bus 3 (RP05)
> acpiprt9 at acpi0: bus -1 (RP06)
> acpiprt10 at acpi0: bus -1 (RP07)
> acpiprt11 at acpi0: bus -1 (RP08)
> ...
> "INT3F0D" at acpi0 not configured
> "INT3403" at acpi0 not configured
> "INT3403" at acpi0 not configured
> "DLLK062E" at acpi0 not configured
> "DLL062E" at acpi0 not configured
> "SMO8810" at acpi0 not configured
> "INT3402" at acpi0 not configured
> "PNP0C14" at acpi0 not configured
> ...
> "INT3F0D" at acpi0 not configured
> "INT3403" at acpi0 not configured
> "INT3403" at acpi0 not configured
> "DLLK062E" at acpi0 not configured
> "DLL062E" at acpi0 not configured
> "SMO8810" at acpi0 not configured
> "INT3402" at acpi0 not configured
> "PNP0C14" at acpi0 not configured
> ...
> efifb at mainbus0 not configured
> ...
> 
> I don't know if it's normal or not...
> 
> Additionally, I don't know if it's related, but I see some messages looking
> like this one in dmesg:
> 
> error: [drm:pid51790:intel_pipe_update_start] *ERROR* Potential atomic
> update failure on pipe C
> 
> I hope it helps.
> 
> Many thanks !
> 
> Le 04/03/18 à 10:32, Christophe Simon a écrit :
> > Still trying to figure out where those interrupts may come from...
> > 
> > I had a look at my X220 (which does not present this problem) to compare
> > the interrupt rates per driver and see if anything was obvious. Here's
> > the output of "vmstat -iz"
> > 
> > Thinkpad X220:
> > 
> > interrupt                       total     rate
> > irq0/clock                   13485305      401
> > irq0/ipi                     13188022      392
> > irq144/acpi0                     6879        0
> > irq145/inteldrm0               639544       19
> > irq146/com4                         0        0
> > irq114/em0                          0        0
> > irq96/ehci0                       448        0
> > irq176/azalia0                  49724        1
> > irq97/ppb0                          0        0
> > irq98/ppb1                          0        0
> > irq115/iwn0                    923422       27
> > irq99/ppb2                          0        0
> > irq100/ppb3                         0        0
> > irq96/sdhc0                         0        0
> > irq101/ehci1                      140        0
> > irq102/ahci0                   226099        6
> > irq103/ichiic0                   6744        0
> > irq147/pckbc0                    2407        0
> > irq148/pckbc0                  154187        4
> > Total                        28682921      853
> > 
> > Compared to my Latitude E7450 (Intel Core i5-5300U/Intel HD Graphics
> > 5500) below
> > 
> > Latitude E7450:
> > 
> > interrupt                       total     rate
> > 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
> > 
> > Please note that when I gathered this output, I was in single user with
> > all possible devices disabled in the BIOS. I was still experiencing an
> > average 50% interrupt load on CPU0 (see my previous mail below) right
> > after boot.
> > 
> > The only noticeable differences I see are the ahci0 and inteldrm0
> > devices. I can't tell if this is sufficient to explain the interrupt
> > load.
> > 
> > What else could I look at ? Any advice would be welcome.
> > 
> > Many thanks !
> > 
> > 
> > As a reminder, please find my dmesg below:
> > 
> > OpenBSD 6.3 (GENERIC.MP) #107: Sat Mar 24 14:21:59 MDT 2018
> >      dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> > real mem = 8439771136 (8048MB)
> > avail mem = 8176918528 (7798MB)
> > mpath0 at root
> > scsibus0 at mpath0: 256 targets
> > mainbus0 at root
> > bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xed750 (89 entries)
> > bios0: vendor Dell Inc. version "A19" date 01/23/2018
> > bios0: Dell Inc. Latitude E7450
> > acpi0 at bios0: rev 2
> > acpi0: sleep states S0 S3 S4 S5
> > acpi0: tables DSDT FACP APIC FPDT FIDT MCFG HPET SSDT UEFI SSDT ASF!
> > SSDT SSDT SSDT SSDT PCCT SSDT SSDT SSDT SLIC BGRT
> > acpi0: wakeup devices PEGP(S4) PEG0(S4) PEGP(S4) PEG1(S4) PEGP(S4)
> > PEG2(S4) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4)
> > RP04(S4) PXSX(S4) RP05(S4) [...]
> > acpitimer0 at acpi0: 3579545 Hz, 24 bits
> > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> > cpu0 at mainbus0: apid 0 (boot processor)
> > cpu0: Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz, 2694.19 MHz
> > cpu0: 
> > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,PT,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN
> > 
> > cpu0: 256KB 64b/line 8-way L2 cache
> > acpitimer0: recalibrated TSC frequency 2294696561 Hz
> > cpu0: smt 0, core 0, package 0
> > mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
> > cpu0: apic clock running at 99MHz
> > cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE
> > cpu1 at mainbus0: apid 2 (application processor)
> > cpu1: Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz, 2693.77 MHz
> > cpu1: 
> > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,PT,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN
> > 
> > cpu1: 256KB 64b/line 8-way L2 cache
> > cpu1: smt 0, core 1, package 0
> > cpu2 at mainbus0: apid 1 (application processor)
> > cpu2: Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz, 2693.77 MHz
> > cpu2: 
> > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,PT,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN
> > 
> > cpu2: 256KB 64b/line 8-way L2 cache
> > cpu2: smt 1, core 0, package 0
> > cpu3 at mainbus0: apid 3 (application processor)
> > cpu3: Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz, 2693.77 MHz
> > cpu3: 
> > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,PT,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN
> > 
> > cpu3: 256KB 64b/line 8-way L2 cache
> > cpu3: smt 1, core 1, package 0
> > ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 40 pins
> > acpimadt0: bogus nmi for apid 0
> > acpimadt0: bogus nmi for apid 2
> > acpimadt0: bogus nmi for apid 1
> > acpimadt0: bogus nmi for apid 3
> > acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63
> > acpihpet0 at acpi0: 14318179 Hz
> > acpihpet0: recalibrated TSC frequency 2294654306 Hz
> > acpiprt0 at acpi0: bus 0 (PCI0)
> > acpiprt1 at acpi0: bus -1 (PEG0)
> > acpiprt2 at acpi0: bus -1 (PEG1)
> > acpiprt3 at acpi0: bus -1 (PEG2)
> > acpiprt4 at acpi0: bus 1 (RP01)
> > acpiprt5 at acpi0: bus -1 (RP02)
> > acpiprt6 at acpi0: bus -1 (RP03)
> > acpiprt7 at acpi0: bus 2 (RP04)
> > acpiprt8 at acpi0: bus 3 (RP05)
> > acpiprt9 at acpi0: bus -1 (RP06)
> > acpiprt10 at acpi0: bus -1 (RP07)
> > acpiprt11 at acpi0: bus -1 (RP08)
> > acpiec0 at acpi0
> > acpicpu0 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33),
> > C1(1000@1 mwait.1), PSS
> > acpicpu1 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33),
> > C1(1000@1 mwait.1), PSS
> > acpicpu2 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33),
> > C1(1000@1 mwait.1), PSS
> > acpicpu3 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33),
> > C1(1000@1 mwait.1), PSS
> > acpipwrres0 at acpi0: PG00, resource for PEG0
> > acpipwrres1 at acpi0: PG01, resource for PEG1
> > acpipwrres2 at acpi0: PG02, resource for PEG2
> > acpitz0 at acpi0: critical temperature is 107 degC
> > acpipwrres3 at acpi0: FN00, resource for FAN0
> > acpipwrres4 at acpi0: FN01, resource for FAN1
> > acpipwrres5 at acpi0: FN02, resource for FAN2
> > acpipwrres6 at acpi0: FN03, resource for FAN3
> > acpipwrres7 at acpi0: FN04, resource for FAN4
> > acpitz1 at acpi0: critical temperature is 105 degC
> > acpitz2 at acpi0: critical temperature is 105 degC
> > "INT3F0D" at acpi0 not configured
> > "INT3403" at acpi0 not configured
> > "INT3403" at acpi0 not configured
> > "DLLK062E" at acpi0 not configured
> > "DLL062E" at acpi0 not configured
> > "SMO8810" at acpi0 not configured
> > "INT3402" at acpi0 not configured
> > "PNP0C14" at acpi0 not configured
> > acpibtn0 at acpi0: LID0
> > acpibtn1 at acpi0: PBTN
> > acpibtn2 at acpi0: SBTN
> > acpiac0 at acpi0: AC unit online
> > acpibat0 at acpi0: BAT0 model "DELL G95J552" serial 39302 type LiP oem
> > "LGC-LGC3.6"
> > "DELLABCE" at acpi0 not configured
> > "INT340F" at acpi0 not configured
> > "INT3400" at acpi0 not configured
> > "PNP0C0B" at acpi0 not configured
> > "PNP0C0B" at acpi0 not configured
> > "PNP0C0B" at acpi0 not configured
> > "PNP0C0B" at acpi0 not configured
> > "PNP0C0B" at acpi0 not configured
> > acpivideo0 at acpi0: GFX0
> > acpivout0 at acpivideo0: LCD_
> > cpu0: Enhanced SpeedStep 2694 MHz: speeds: 2301, 2300, 2200, 2000, 1900,
> > 1800, 1700, 1500, 1400, 1300, 1100, 1000, 900, 800, 600, 500 MHz
> > pci0 at mainbus0 bus 0
> > pchb0 at pci0 dev 0 function 0 "Intel Core 5G Host" rev 0x09
> > inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 5500" rev 0x09
> > drm0 at inteldrm0
> > inteldrm0: msi
> > inteldrm0: 1920x1080, 32bpp
> > wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation)
> > wsdisplay0: screen 1-5 added (std, vt100 emulation)
> > azalia0 at pci0 dev 3 function 0 "Intel Core 5G HD Audio" rev 0x09: msi
> > "Intel Core 5G Thermal" rev 0x09 at pci0 dev 4 function 0 not configured
> > xhci0 at pci0 dev 20 function 0 "Intel 9 Series xHCI" rev 0x03: msi
> > usb0 at xhci0: USB revision 3.0
> > uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev
> > 3.00/1.00 addr 1
> > "Intel 9 Series MEI" rev 0x03 at pci0 dev 22 function 0 not configured
> > em0 at pci0 dev 25 function 0 "Intel I218-LM" rev 0x03: msi, address
> > 84:7b:eb:05:ad:f2
> > azalia1 at pci0 dev 27 function 0 "Intel 9 Series HD Audio" rev 0x03: msi
> > azalia1: codecs: Realtek/0x0293
> > audio0 at azalia1
> > ppb0 at pci0 dev 28 function 0 "Intel 9 Series PCIE" rev 0xe3: msi
> > pci1 at ppb0 bus 1
> > ppb1 at pci0 dev 28 function 3 "Intel 9 Series PCIE" rev 0xe3: msi
> > pci2 at ppb1 bus 2
> > iwm0 at pci2 dev 0 function 0 "Intel Dual Band Wireless AC 7265" rev
> > 0x59, msi
> > ppb2 at pci0 dev 28 function 4 "Intel 9 Series PCIE" rev 0xe3: msi
> > pci3 at ppb2 bus 3
> > ehci0 at pci0 dev 29 function 0 "Intel 9 Series USB" rev 0x03: apic 2
> > int 21
> > usb1 at ehci0: USB revision 2.0
> > uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev
> > 2.00/1.00 addr 1
> > pcib0 at pci0 dev 31 function 0 "Intel 9 Series LPC" rev 0x03
> > ahci0 at pci0 dev 31 function 2 "Intel 9 Series AHCI" rev 0x03: msi,
> > AHCI 1.3
> > ahci0: port 1: 6.0Gb/s
> > scsibus1 at ahci0: 32 targets
> > sd0 at scsibus1 targ 1 lun 0: <ATA, SAMSUNG SSD PM85, EXT4> SCSI3
> > 0/direct fixed naa.5002538844584d30
> > sd0: 244198MB, 512 bytes/sector, 500118192 sectors, thin
> > ichiic0 at pci0 dev 31 function 3 "Intel 9 Series SMBus" rev 0x03: apic
> > 2 int 18
> > iic0 at ichiic0
> > iic0: addr 0x29 07=ff 0f=33 10=03 11=1d 12=13 13=52 14=b3 15=33 16=20
> > 17=21 18=1c 19=82 1a=80 1b=74 1c=c0 1e=20 20=7f 22=40 27=ff 29=08 2b=01
> > 2d=33 2f=20 30=95 31=25 32=0e 33=16 87=ff 8f=33 90=03 91=1d 92=13 93=52
> > 94=b3 95=33 96=20 97=21 98=1c 99=82 9a=80 9b=74 9c=c0 9e=20 a0=7f a2=40
> > a7=ff a9=01 ad=32 af=20 b0=95 b1=25 b2=0e b3=16 words 00=0000 01=0000
> > 02=0000 03=0000 04=0000 05=0000 06=0000 07=ffff
> > spdmem0 at iic0 addr 0x50: 8GB DDR3 SDRAM PC3-12800 SO-DIMM
> > isa0 at pcib0
> > isadma0 at isa0
> > pckbc0 at isa0 port 0x60/5 irq 1 irq 12
> > pckbd0 at pckbc0 (kbd slot)
> > wskbd0 at pckbd0: console keyboard, using wsdisplay0
> > pms0 at pckbc0 (aux slot)
> > wsmouse0 at pms0 mux 0
> > pcppi0 at isa0 port 0x61
> > spkr0 at pcppi0
> > efifb at mainbus0 not configured
> > umb0 at uhub0 port 8 configuration 2 interface 12 "Sierra Wireless,
> > Incorporated Dell Wireless 5809e Gobi? 4G LTE Mobile Broadband Card" rev
> > 2.00/0.06 addr 2
> > uhub2 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching
> > Hub" rev 2.00/0.03 addr 2
> > ugen0 at uhub2 port 3 "Intel Bluetooth" rev 2.01/0.01 addr 3
> > uvideo0 at uhub2 port 6 configuration 1 interface 0
> > "CNFEH25F30401789B5C2 Integrated_Webcam_HD" rev 2.00/46.16 addr 4
> > video0 at uvideo0
> > ugen1 at uhub2 port 7 "Broadcom Corp 5880" rev 1.10/1.01 addr 5
> > vscsi0 at root
> > scsibus2 at vscsi0: 256 targets
> > softraid0 at root
> > scsibus3 at softraid0: 256 targets
> > sd1 at scsibus3 targ 1 lun 0: <OPENBSD, SR CRYPTO, 006> SCSI2 0/direct
> > fixed
> > sd1: 118831MB, 512 bytes/sector, 243367408 sectors
> > root on sd1a (95bda97ae2eec46e.a) swap on sd1b dump on sd1b
> > iwm0: hw rev 0x210, fw ver 16.242414.0, address 60:57:18:b0:14:ef
> > acpivideo0: unknown event 0x00
> > umb0 detached
> > uhub0 detached
> > ugen0 detached
> > video0 detached
> > uvideo0 detached
> > ugen1 detached
> > uhub2 detached
> > uhub1 detached
> > uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev
> > 3.00/1.00 addr 1
> > uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev
> > 2.00/1.00 addr 1
> > ugen0 at uhub0 port 8 "Sierra Wireless, Incorporated Dell Wireless 5809e
> > Gobi\M-b\M^D\M-" 4G LTE Mobile Broadband Card" rev 2.00/0.00 addr 2
> > WARNING cstate->base.active != intel_crtc->active failed at
> > /usr/src/sys/dev/pci/drm/i915/intel_pm.c:3715
> > WARNING drm_crtc_vblank_get(&crtc->base) failed at
> > /usr/src/sys/dev/pci/drm/i915/intel_sprite.c:104
> > error: [drm:pid37685:intel_pipe_update_end] *ERROR* Atomic update
> > failure on pipe A (start=10 end=63) time 5130100 us, min 1073, max 1079,
> > scanline start 576, end 1080
> > vblank not available on crtc 0, ret=-22
> > WARNING cstate->base.active != intel_crtc->active failed at
> > /usr/src/sys/dev/pci/drm/i915/intel_pm.c:3715
> > vblank not available on crtc 0, ret=-22
> > vblank not available on crtc 0, ret=-22
> > ugen0: setting configuration index 0 failed
> > uhub2 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching
> > Hub" rev 2.00/0.03 addr 2
> > ugen1 at uhub2 port 3 "Intel Bluetooth" rev 2.01/0.01 addr 3
> > uvideo0 at uhub2 port 6 configuration 1 interface 0
> > "CNFEH25F30401789B5C2 Integrated_Webcam_HD" rev 2.00/46.16 addr 4
> > video0 at uvideo0
> > ugen2 at uhub2 port 7 "Broadcom Corp 5880" rev 1.10/1.01 addr 5
> > ugen0 detached
> > uhub0 detached
> > ugen1 detached
> > video0 detached
> > uvideo0 detached
> > ugen2 detached
> > uhub2 detached
> > uhub1 detached
> > uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev
> > 3.00/1.00 addr 1
> > uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev
> > 2.00/1.00 addr 1
> > ugen0 at uhub0 port 8 "Sierra Wireless, Incorporated Dell Wireless 5809e
> > Gobi\M-b\M^D\M-" 4G LTE Mobile Broadband Card" rev 2.00/0.00 addr 2
> > ugen0: setting configuration index 0 failed
> > uhub2 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching
> > Hub" rev 2.00/0.03 addr 2
> > ugen1 at uhub2 port 3 "Intel Bluetooth" rev 2.01/0.01 addr 3
> > uvideo0 at uhub2 port 6 configuration 1 interface 0
> > "CNFEH25F30401789B5C2 Integrated_Webcam_HD" rev 2.00/46.16 addr 4
> > video0 at uvideo0
> > ugen2 at uhub2 port 7 "Broadcom Corp 5880" rev 1.10/1.01 addr 5
> > ugen0 detached
> > acpivideo0: unknown event 0x00
> > umb0 at uhub0 port 8 configuration 2 interface 12 "Sierra Wireless,
> > Incorporated Dell Wireless 5809e Gobi? 4G LTE Mobile Broadband Card" rev
> > 2.00/0.06 addr 2
> > umb0 detached
> > uhub0 detached
> > ugen1 detached
> > video0 detached
> > uvideo0 detached
> > ugen2 detached
> > uhub2 detached
> > uhub1 detached
> > uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev
> > 3.00/1.00 addr 1
> > uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev
> > 2.00/1.00 addr 1
> > ugen0 at uhub0 port 8 "Sierra Wireless, Incorporated Dell Wireless 5809e
> > Gobi\M-b\M^D\M-" 4G LTE Mobile Broadband Card" rev 2.00/0.00 addr 2
> > ugen0: setting configuration index 0 failed
> > uhub2 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching
> > Hub" rev 2.00/0.03 addr 2
> > ugen1 at uhub2 port 3 "Intel Bluetooth" rev 2.01/0.01 addr 3
> > uvideo0 at uhub2 port 6 configuration 1 interface 0
> > "CNFEH25F30401789B5C2 Integrated_Webcam_HD" rev 2.00/46.16 addr 4
> > video0 at uvideo0
> > ugen2 at uhub2 port 7 "Broadcom Corp 5880" rev 1.10/1.01 addr 5
> > ugen0 detached
> > uhub0 detached
> > ugen1 detached
> > video0 detached
> > uvideo0 detached
> > ugen2 detached
> > uhub2 detached
> > uhub1 detached
> > uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev
> > 3.00/1.00 addr 1
> > uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev
> > 2.00/1.00 addr 1
> > uhub2 at uhub0 port 1 configuration 1 interface 0 "Dell product 0x2513"
> > rev 2.00/0.05 addr 2
> > uhub3 at uhub0 port 4 configuration 1 interface 0 "Dell product 0x2513"
> > rev 2.00/0.05 addr 3
> > uhidev0 at uhub3 port 1 configuration 1 interface 0 "Lite-On Technology
> > Corp. ThinkPad USB Keyboard with TrackPoint" rev 1.10/1.27 addr 4
> > uhidev0: iclass 3/1
> > ukbd0 at uhidev0: 8 variable keys, 6 key codes
> > wskbd1 at ukbd0 mux 1
> > wskbd1: connecting to wsdisplay0
> > uhidev1 at uhub3 port 1 configuration 1 interface 1 "Lite-On Technology
> > Corp. ThinkPad USB Keyboard with TrackPoint" rev 1.10/1.27 addr 4
> > uhidev1: iclass 3/0, 4 report ids
> > ums0 at uhidev1 reportid 1: 3 buttons
> > wsmouse1 at ums0 mux 0
> > uhid0 at uhidev1 reportid 2: input=1, output=0, feature=0
> > uhid1 at uhidev1 reportid 3: input=3, output=1, feature=0
> > uhid2 at uhidev1 reportid 4: input=0, output=0, feature=4
> > uhidev2 at uhub3 port 2 configuration 1 interface 0 "Logitech USB
> > Receiver" rev 2.00/12.01 addr 5
> > uhidev2: iclass 3/1
> > ukbd1 at uhidev2: 8 variable keys, 6 key codes
> > wskbd2 at ukbd1 mux 1
> > wskbd2: connecting to wsdisplay0
> > uhidev3 at uhub3 port 2 configuration 1 interface 1 "Logitech USB
> > Receiver" rev 2.00/12.01 addr 5
> > uhidev3: iclass 3/1, 8 report ids
> > ums1 at uhidev3 reportid 2: 16 buttons, Z and W dir
> > wsmouse2 at ums1 mux 0
> > uhid3 at uhidev3 reportid 3: input=4, output=0, feature=0
> > uhid4 at uhidev3 reportid 4: input=1, output=0, feature=0
> > uhid5 at uhidev3 reportid 8: input=1, output=0, feature=0
> > uhidev4 at uhub3 port 2 configuration 1 interface 2 "Logitech USB
> > Receiver" rev 2.00/12.01 addr 5
> > uhidev4: iclass 3/0, 33 report ids
> > uhid6 at uhidev4 reportid 16: input=6, output=6, feature=0
> > uhid7 at uhidev4 reportid 17: input=19, output=19, feature=0
> > uhid8 at uhidev4 reportid 32: input=14, output=14, feature=0
> > uhid9 at uhidev4 reportid 33: input=31, output=31, feature=0
> > uhub4 at uhub3 port 3 configuration 1 interface 0 "Standard Microsystems
> > Hub" rev 2.00/0.01 addr 6
> > ugen0 at uhub0 port 8 "Sierra Wireless, Incorporated Dell Wireless 5809e
> > Gobi\M-b\M^D\M-" 4G LTE Mobile Broadband Card" rev 2.00/0.00 addr 7
> > ugen0: setting configuration index 0 failed
> > uhub5 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching
> > Hub" rev 2.00/0.03 addr 2
> > ugen1 at uhub5 port 3 "Intel Bluetooth" rev 2.01/0.01 addr 3
> > uvideo0 at uhub5 port 6 configuration 1 interface 0
> > "CNFEH25F30401789B5C2 Integrated_Webcam_HD" rev 2.00/46.16 addr 4
> > video0 at uvideo0
> > ugen2 at uhub5 port 7 "Broadcom Corp 5880" rev 1.10/1.01 addr 5
> > ugen0 detached
> > umb0 at uhub0 port 8 configuration 2 interface 12 "Sierra Wireless,
> > Incorporated Dell Wireless 5809e Gobi? 4G LTE Mobile Broadband Card" rev
> > 2.00/0.06 addr 7
> > uhidev5 at uhub4 port 2 configuration 1 interface 0 "Yubico Yubikey 4
> > OTP+U2F+CCID" rev 2.00/4.37 addr 8
> > uhidev5: iclass 3/1
> > ukbd2 at uhidev5: 8 variable keys, 6 key codes
> > wskbd3 at ukbd2 mux 1
> > wskbd3: connecting to wsdisplay0
> > 
> > 
> > 
> > Le 03/31/18 à 02:41, Christophe Simon a écrit :
> > > 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.
> > > > 
> > > 
> > > 
> > 
> > 
> 

Reply via email to