From owner-freebsd-hackers@FreeBSD.ORG Sat Jun 7 18:21:10 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A08CE8D1 for ; Sat, 7 Jun 2014 18:21:10 +0000 (UTC) Received: from mout.gmx.com (mout.gmx.com [74.208.4.201]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 680332502 for ; Sat, 7 Jun 2014 18:21:10 +0000 (UTC) Received: from [172.15.184.248] by 3capp-mailcom-lxa12 with HTTP; Sat, 7 Jun 2014 20:21:08 +0200 MIME-Version: 1.0 Message-ID: From: "Dutch Ingraham" To: "Konstantin Belousov" Subject: Re: Fwd: Interrupt Overload Content-Type: text/plain; charset=UTF-8 Date: Sat, 7 Jun 2014 20:21:08 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <20140607175752.GP3991@kib.kiev.ua> References: <538A3432.5010303@gmx.us> <53930E19.8090603@gmx.us> <53931963.4040604@selasky.org> <53932314.6010108@gmx.us> <1402153691.709851721.u6k6kkkk@frv35.fwdcdn.com> <53933110.8060300@gmx.us> <1402157083.156846225.m95e69ke@frv35.fwdcdn.com> <53934250.1090403@gmx.us>, <20140607175752.GP3991@kib.kiev.ua> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K0:zZG8XWudlSBEBrQwM2fZ85g9z/EobLCQwinQOs9aVw8 lJz5dchdcmVwaOggSl/xOFY1vyYJDl2LfiUpu/Ua0Skpf/mgb5 1rJLFP7bYSz10oO8imaAClRxXz00btwe37xUFFHIaQoHON4y4q kBP82cZTx17UIj0igA8cHdaJOBW4hpWlnU93UCi5LWayJoeBwp HqmqSZ1WQKucJPuGqVFn04w17BhgK1ofGmVvQaLkxwPe86pD+P eNXJ9IB2A46lsGD8tvGyCMPAFXWLUAIe3YXYr4fE7HtTlYLrUl 50apXkyadvMB6NnEMdGGx1cPRHb Cc: freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jun 2014 18:21:10 -0000 > Sent: Saturday, June 07, 2014 at 1:57 PM > From: "Konstantin Belousov" > To: "Dutch Ingraham" > Cc: freebsd-hackers@freebsd.org > Subject: Re: Fwd: Interrupt Overload > > On Sat, Jun 07, 2014 at 12:48:16PM -0400, Dutch Ingraham wrote: > > On 06/07/2014 12:04 PM, Vladislav Prodan wrote: > > > > > > > > > > > > --- Original message --- > > > From: "Dutch Ingraham" > > > Date: 7 June 2014, 18:33:12 > > > > > > > > >> > > >> Thanks for the response. > > >> > > >> The output you requested: > > >> > > >> kern.eventtimer.choice: HPET1 (440) HPET2 (440) HPET3 (440) HPET4 (440) > > >> HPET5 (440) HPET6 (440) LAPIC (400) i8254 (100) RTC (0) > > >> > > >> kern.eventtimer.choice: HPET (did not specify 1, 2, etc.) > > >> > > >> I also changed the type of timer to LAPIC and rebooted; there was no > > >> appreciable change in the interrupt activity. > > > > > > After reboot what became timer? :) > > > > > > You can change the timer "on the fly", without rebooting the system. > > > > > > If LAPIC does not help, then try other timers. > > > > > > > > > -- > > > Vladislav V. Prodan > > > System & Network Administrator > > > support.od.ua > > > > > > _______________________________________________ > > > freebsd-hackers@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > > > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > > > > > > > You're right, it is not persistent. I changed to each different event > > timer and the only one that made a difference was the i8254; that > > dropped the cpu load from 30% to 10-12%. Much better, but still of > > course not acceptable for a Core II-Duo running at 3.0GHz. The load > > averages shown in do also drop proportionally. Interestingly, > > though, shows the same interrupt rate - 325K/sec. > > > > What do you make of the fact that when I suspend with < > > and then wake-up, everything is absolutely normal, regardless of event > > timer type? > > You did not shown _useful_ output of vmstat -i. Do it when the storm > occurs. Also, show the pciconf -lvc output on the machine. > Sorry - I was entering that output by hand, so truncated what I thought was not useful. In addition, the storm is always occurring, unless I put the machine to sleep and then wake-up. Here is the full vmstat -i: dutch:~:# vmstat -i interrupt total rate irq1: atkbd0 48 0 irq0: attimer0 12236927 1178 irq8: atrtc0 146537 14 irq16: uhci0 3362560857 323946 irq18: atapci0+ 19828 1 irq23: uhci3 ehci1 2 0 cpu0:timer 163301 15 irq256: hpet0:t0 4516011 435 irq257: hpet0:t1 83960 8 irq264: em0 31799 3 irq265: hdac0 95 0 irq266: ahci0:ch0 8423 0 irq267: ahci0:ch1 15620 1 cpu1:timer 1229 0 irq274: vgapci0 10041 0 Total 3379794678 325606 dutch:~:# And here is pciconf -lvc: dutch:~:# pciconf -lvc hostb0@pci0:0:0:0: class=0x060000 card=0x04201028 chip=0x2e108086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '4 Series Chipset DRAM Controller' class = bridge subclass = HOST-PCI cap 09[e0] = vendor (length 12) Intel cap 6 version 1 pcib1@pci0:0:1:0: class=0x060400 card=0x04201028 chip=0x2e118086 rev=0x03 hdr=0x01 vendor = 'Intel Corporation' device = '4 Series Chipset PCI Express Root Port' class = bridge subclass = PCI-PCI cap 0d[88] = PCI Bridge card=0x04201028 cap 01[80] = powerspec 3 supports D0 D3 current D0 cap 05[90] = MSI supports 1 message cap 10[a0] = PCI-Express 2 root port slot max data 128(128) link x0(x16) speed 0.0(5.0) ASPM disabled(L0s) ecap 0002[100] = VC 1 max VC0 ecap 0005[140] = Root Complex Link Declaration 1 vgapci0@pci0:0:2:0: class=0x030000 card=0x04201028 chip=0x2e128086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '4 Series Chipset Integrated Graphics Controller' class = display subclass = VGA cap 05[90] = MSI supports 1 message enabled with 1 message cap 01[d0] = powerspec 2 supports D0 D3 current D0 vgapci1@pci0:0:2:1: class=0x038000 card=0x04201028 chip=0x2e138086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '4 Series Chipset Integrated Graphics Controller' class = display cap 01[d0] = powerspec 2 supports D0 D3 current D0 none0@pci0:0:3:0: class=0x078000 card=0x04201028 chip=0x2e148086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '4 Series Chipset HECI Controller' class = simple comms cap 01[50] = powerspec 3 supports D0 D3 current D0 cap 05[8c] = MSI supports 1 message, 64 bit atapci0@pci0:0:3:2: class=0x010185 card=0x04201028 chip=0x2e168086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '4 Series Chipset PT IDER Controller' class = mass storage subclass = ATA cap 01[c8] = powerspec 3 supports D0 D3 current D0 cap 05[d0] = MSI supports 1 message, 64 bit uart2@pci0:0:3:3: class=0x070002 card=0x04201028 chip=0x2e178086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '4 Series Chipset Serial KT Controller' class = simple comms subclass = UART cap 01[c8] = powerspec 3 supports D0 D3 current D0 cap 05[d0] = MSI supports 1 message, 64 bit em0@pci0:0:25:0: class=0x020000 card=0x02761028 chip=0x10de8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82567LM-3 Gigabit Network Connection' class = network subclass = ethernet cap 01[c8] = powerspec 2 supports D0 D3 current D0 cap 05[d0] = MSI supports 1 message, 64 bit enabled with 1 message cap 13[e0] = PCI Advanced Features: FLR TP uhci0@pci0:0:26:0: class=0x0c0300 card=0x04201028 chip=0x3a678086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801JD/DO (ICH10 Family) USB UHCI Controller' class = serial bus subclass = USB cap 13[50] = PCI Advanced Features: FLR TP uhci1@pci0:0:26:1: class=0x0c0300 card=0x04201028 chip=0x3a688086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801JD/DO (ICH10 Family) USB UHCI Controller' class = serial bus subclass = USB cap 13[50] = PCI Advanced Features: FLR TP uhci2@pci0:0:26:2: class=0x0c0300 card=0x04201028 chip=0x3a698086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801JD/DO (ICH10 Family) USB UHCI Controller' class = serial bus subclass = USB cap 13[50] = PCI Advanced Features: FLR TP ehci0@pci0:0:26:7: class=0x0c0320 card=0x04201028 chip=0x3a6c8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801JD/DO (ICH10 Family) USB2 EHCI Controller' class = serial bus subclass = USB cap 01[50] = powerspec 2 supports D0 D3 current D0 cap 0a[58] = EHCI Debug Port at offset 0xa0 in map 0x14 cap 13[98] = PCI Advanced Features: FLR TP hdac0@pci0:0:27:0: class=0x040300 card=0x04201028 chip=0x3a6e8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801JD/DO (ICH10 Family) HD Audio Controller' class = multimedia subclass = HDA cap 01[50] = powerspec 2 supports D0 D3 current D0 cap 05[60] = MSI supports 1 message, 64 bit enabled with 1 message cap 10[70] = PCI-Express 1 root endpoint max data 128(128) FLR link x0(x0) ecap 0002[100] = VC 1 max VC1 ecap 0005[130] = Root Complex Link Declaration 1 pcib2@pci0:0:28:0: class=0x060400 card=0x04201028 chip=0x3a708086 rev=0x02 hdr=0x01 vendor = 'Intel Corporation' device = '82801JD/DO (ICH10 Family) PCI Express Port 1' class = bridge subclass = PCI-PCI cap 10[40] = PCI-Express 2 root port slot max data 128(128) link x0(x1) speed 0.0(2.5) ASPM disabled(L0s) cap 05[80] = MSI supports 1 message cap 0d[90] = PCI Bridge card=0x04201028 cap 01[a0] = powerspec 2 supports D0 D3 current D0 ecap 0002[100] = VC 1 max VC0 ecap 0005[180] = Root Complex Link Declaration 1 pcib3@pci0:0:28:1: class=0x060400 card=0x04201028 chip=0x3a728086 rev=0x02 hdr=0x01 vendor = 'Intel Corporation' device = '82801JD/DO (ICH10 Family) PCI Express Port 2' class = bridge subclass = PCI-PCI cap 10[40] = PCI-Express 2 root port slot max data 128(128) link x0(x1) speed 0.0(2.5) ASPM disabled(L0s) cap 05[80] = MSI supports 1 message cap 0d[90] = PCI Bridge card=0x04201028 cap 01[a0] = powerspec 2 supports D0 D3 current D0 ecap 0002[100] = VC 1 max VC0 ecap 0005[180] = Root Complex Link Declaration 1 uhci3@pci0:0:29:0: class=0x0c0300 card=0x04201028 chip=0x3a648086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801JD/DO (ICH10 Family) USB UHCI Controller' class = serial bus subclass = USB cap 13[50] = PCI Advanced Features: FLR TP uhci4@pci0:0:29:1: class=0x0c0300 card=0x04201028 chip=0x3a658086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801JD/DO (ICH10 Family) USB UHCI Controller' class = serial bus subclass = USB cap 13[50] = PCI Advanced Features: FLR TP uhci5@pci0:0:29:2: class=0x0c0300 card=0x04201028 chip=0x3a668086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801JD/DO (ICH10 Family) USB UHCI Controller' class = serial bus subclass = USB cap 13[50] = PCI Advanced Features: FLR TP ehci1@pci0:0:29:7: class=0x0c0320 card=0x04201028 chip=0x3a6a8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801JD/DO (ICH10 Family) USB2 EHCI Controller' class = serial bus subclass = USB cap 01[50] = powerspec 2 supports D0 D3 current D0 cap 0a[58] = EHCI Debug Port at offset 0xa0 in map 0x14 cap 13[98] = PCI Advanced Features: FLR TP pcib4@pci0:0:30:0: class=0x060401 card=0x04201028 chip=0x244e8086 rev=0xa2 hdr=0x01 vendor = 'Intel Corporation' device = '82801 PCI Bridge' class = bridge subclass = PCI-PCI cap 0d[50] = PCI Bridge card=0x04201028 isab0@pci0:0:31:0: class=0x060100 card=0x04201028 chip=0x3a148086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801JDO (ICH10DO) LPC Interface Controller' class = bridge subclass = PCI-ISA cap 09[e0] = vendor (length 12) Intel cap 1 version 0 features: SATA RAID-5, 4 PCI-e x1 slots ahci0@pci0:0:31:2: class=0x010400 card=0x04201028 chip=0x28228086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801 SATA Controller [RAID mode]' class = mass storage subclass = RAID cap 05[80] = MSI supports 8 messages enabled with 8 messages cap 01[70] = powerspec 3 supports D0 D3 current D0 cap 12[a8] = SATA Index-Data Pair cap 13[b0] = PCI Advanced Features: FLR TP none1@pci0:0:31:3: class=0x0c0500 card=0x04201028 chip=0x3a608086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801JD/DO (ICH10 Family) SMBus Controller' class = serial bus subclass = SMBus dutch:~:# This is with the HPET timer and recall this is only happening with the xorg-server running; all is normal without X running. Thanks for looking at this for me.