On Sun, Dec 27, 2015 at 01:55:30PM +0000, peter.foster.li...@gmail.com wrote:
> Hi,
> 
> I have installed 5.8 Release GENERIC i386 on an Acer Aspire 3630
> laptop. Even when the system is almost completely idle, `top'
> consistently reports an interrupt load in the range 75%--80%.
> Admittedly this hardware is more than 8 years old, nevertheless I
> believe the load is unusually high, based on limited experience with
> installing the same version of OpenBSD on a lower-spec i586 machine.
> Is it possible that CPU cycles are being wasted due to the system
> being mis-configured? If so, does anyone have any suggestions on how
> to reduce the observed load?

Can you build a kernel with ACPI_DEBUG enabled and try that?

We've seen stuck GPEs in the past, and judging that you have only seen
a single (eg, 1) ACPI interrupt, that's a bit suspect.

-ml

> 
> dmesg:
> 
> OpenBSD 5.8 (GENERIC) #0: Sat Dec 26 21:32:37 GMT 2015
>     pe...@rebelene.home:/usr/src/sys/arch/i386/compile/GENERIC
> cpu0: Intel(R) Celeron(R) M processor 1.60GHz ("GenuineIntel"
> 686-class) 1.61 GHz
> cpu0: 
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE,NXE,PERF
> real mem  = 467091456 (445MB)
> avail mem = 445419520 (424MB)
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: date 03/20/06, BIOS32 rev. 0 @ 0xfd600, SMBIOS rev.
> 2.31 @ 0x1bdfb000 (35 entries)
> bios0: vendor Acer version "3A22" date 03/20/06
> bios0: Acer, inc. Aspire 3630
> acpi0 at bios0: rev 0
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP APIC SSDT
> acpi0: wakeup devices PCI0(S5) LAN_(S5) MODM(S3) KBC_(S4) USB0(S3)
> USB1(S3) USB2(S3) USB3(S3)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
> cpu0: apic clock running at 99MHz
> ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 11, 24 pins
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiec0 at acpi0
> acpicpu0 at acpi0: !C3(@900 io@0x8015), !C2(@90 io@0x8014), C1(@1 halt!)
> acpitz0 at acpi0: critical temperature is 97 degC
> acpiac0 at acpi0: AC unit online
> acpibat0 at acpi0: BAT1 not present
> acpibtn0 at acpi0: LID_
> acpibtn1 at acpi0: PWRB
> acpibtn2 at acpi0: SLPB
> bios0: ROM list: 0xc0000/0xc000 0xcc000/0xa000! 0xdc000/0x8000!
> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> pchb0 at pci0 dev 0 function 0 "SiS 661 PCI" rev 0x11
> sisagp0 at pchb0
> agp0 at sisagp0: aperture at 0xe0000000, size 0x2000000
> ppb0 at pci0 dev 1 function 0 "SiS 648FX AGP" rev 0x00
> pci1 at ppb0 bus 1
> vga1 at pci1 dev 0 function 0 "SiS 6330 VGA" rev 0x00
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> pcib0 at pci0 dev 2 function 0 "SiS 85C503 System" rev 0x25
> pciide0 at pci0 dev 2 function 5 "SiS 5513 EIDE" rev 0x00: 661: DMA,
> channel 0 configured to compatibility, channel 1 configured to
> compatibility
> wd0 at pciide0 channel 0 drive 0: <HTS541080G9AT00>
> wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
> atapiscsi0 at pciide0 channel 1 drive 0
> scsibus1 at atapiscsi0: 2 targets
> cd0 at scsibus1 targ 0 lun 0: <HL-DT-ST, DVD-RW GWA-4082N, CP03> ATAPI
> 5/cdrom removable
> cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
> "SiS 7013 Modem" rev 0xa0 at pci0 dev 2 function 6 not configured
> auich0 at pci0 dev 2 function 7 "SiS 7012 AC97" rev 0xa0: apic 1 int
> 18, SiS7012 AC97
> ac97: codec id 0x414c4770 (Avance Logic ALC203 rev 0)
> ac97: codec features headphone, 20 bit DAC, 18 bit ADC, No 3D Stereo
> audio0 at auich0
> ohci0 at pci0 dev 3 function 0 "SiS 5597/5598 USB" rev 0x0f: apic 1
> int 20, version 1.0, legacy support
> ohci1 at pci0 dev 3 function 1 "SiS 5597/5598 USB" rev 0x0f: apic 1
> int 21, version 1.0, legacy support
> ehci0 at pci0 dev 3 function 3 "SiS 7002 USB" rev 0x00: apic 1 int 23
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "SiS EHCI root hub" rev 2.00/1.00 addr 1
> sis0 at pci0 dev 4 function 0 "SiS 900 10/100BaseTX" rev 0x91: apic 1
> int 19, address 00:16:36:58:b8:c3
> rlphy0 at sis0 phy 13: RTL8201L 10/100 PHY, rev. 1
> cbb0 at pci0 dev 6 function 0 "ENE CB-1410 CardBus" rev 0x01: apic 1 int 19
> bwi0 at pci0 dev 11 function 0 "Broadcom BCM4318" rev 0x02: apic 1 int
> 17, address 00:16:ce:59:63:f8
> 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
> pms0: Synaptics touchpad, firmware 6.2
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> usb1 at ohci0: USB revision 1.0
> uhub1 at usb1 "SiS OHCI root hub" rev 1.00/1.00 addr 1
> usb2 at ohci1: USB revision 1.0
> uhub2 at usb2 "SiS OHCI root hub" rev 1.00/1.00 addr 1
> cardslot0 at cbb0 slot 0 flags 0
> cardbus0 at cardslot0: bus 2 device 0 cacheline 0x0, lattimer 0x20
> pcmcia0 at cardslot0
> uhidev0 at uhub2 port 2 configuration 1 interface 0 "Logitech USB
> Laser Mouse" rev 2.00/31.00 addr 2
> uhidev0: iclass 3/1
> ums0 at uhidev0: 8 buttons, Z dir
> wsmouse1 at ums0 mux 0
> vscsi0 at root
> scsibus2 at vscsi0: 256 targets
> softraid0 at root
> scsibus3 at softraid0: 256 targets
> root on wd0a (a1e28179ecadfc54.a) swap on wd0b dump on wd0b
> 
> top:
> 
> load averages:  0.11,  0.12,  0.15    rebelene.home 23:22:10
> 26 processes: 25 idle, 1 on processor
> CPU states:  0.4% user,  0.0% nice,  0.2% system, 80.4% interrupt, 19.1% idle
> Memory: Real: 15M/99M act/tot Free: 326M Cache: 50M Swap: 0K/514M
> 
>   PID USERNAME PRI NICE  SIZE   RES STATE     WAIT      TIME    CPU COMMAND
>     1 root      10    0  472K  456K idle      wait      0:01  0.00% init
> 14061 _ntp       2  -20 1120K 2264K sleep     poll      0:00  0.00% ntpd
> 30305 _ntp       2    0  932K 1340K idle      poll      0:00  0.00% ntpd
> 25976 _pflogd    4    0  692K  352K sleep     bpf       0:00  0.00% pflogd
>  4209 peter     18    0  644K  672K sleep     pause     0:00  0.00% ksh
> 32659 _syslogd   2    0  960K 1296K idle      kqread    0:00  0.00% syslogd
>  1455 root       2    0 1448K 1924K idle      kqread    0:00  0.00% smtpd
> 17012 _dhcp      2    0  740K  600K idle      poll      0:00  0.00% dhclient
>  1301 _smtpq     2    0 1432K 1992K idle      kqread    0:00  0.00% smtpd
>  7313 root       2    0  656K 1068K sleep     poll      0:00  0.00% cron
> 21267 peter     28    0  436K 1448K onproc    -         0:00  0.00% top
> 26278 _smtpd     2    0 1368K 2332K idle      kqread    0:00  0.00% smtpd
> 13038 root       2  -20  660K 1328K idle      poll      0:00  0.00% ntpd
> 23939 root       2    0  628K  564K idle      netio     0:00  0.00% pflogd
>  6418 _smtpd     2    0 1436K 2020K idle      kqread    0:00  0.00% smtpd
> 23164 root       2    0  960K 1256K idle      netio     0:00  0.00% syslogd
> 25320 _smtpd     2    0 1232K 1764K idle      kqread    0:00  0.00% smtpd
> 28232 root       3    0  288K 1024K idle      ttyin     0:00  0.00% getty
> 
> vmstat -iz:
> 
> interrupt                       total     rate
> irq0/clock                     151778      100
> irq130/acpi0                        1        0
> irq80/pciide0                    3763        2
> irq81/pciide0                       0        0
> irq160/auich0                       0        0
> irq83/ohci0                         0        0
> irq84/ohci1                      1767        1
> irq85/ehci0                         2        0
> irq82/sis0                        488        0
> irq82/cbb0                          0        0
> irq96/bwi0                          0        0
> irq129/pckbc0                    2119        1
> irq131/pckbc0                     195        0
> Total                          160113      105
> 
> vmstat:
> 
>  procs    memory       page                    disks    traps          cpu
>  r b w    avm     fre  flt  re  pi  po  fr  sr wd0 cd0  int   sys   cs us sy 
> id
>  1 0 0 159520  148984   48   0   0   0   0   0   2   0 202905  2571  214  8 
> 81 1
> 
> Running 5.8 Release GENERIC.MP i386 did not change the observed
> behaviour, nor did applying 005_kevent.patch to 5.8 Release GENERIC
> i386.
> 
> Kind regards,
> 
> Peter

Reply via email to