From owner-freebsd-bugs@FreeBSD.ORG Thu Jan 3 22:20:01 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 54C1890C for ; Thu, 3 Jan 2013 22:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 38BBCA0A for ; Thu, 3 Jan 2013 22:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id r03MK1gv074837 for ; Thu, 3 Jan 2013 22:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id r03MK1aE074836; Thu, 3 Jan 2013 22:20:01 GMT (envelope-from gnats) Date: Thu, 3 Jan 2013 22:20:01 GMT Message-Id: <201301032220.r03MK1aE074836@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Johan Broman Subject: Re: kern/173541: load average 0.60 at 100% idle X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Johan Broman List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jan 2013 22:20:01 -0000 The following reply was made to PR kern/173541; it has been noted by GNATS. From: Johan Broman To: bug-followup@FreeBSD.org Cc: viktor.stujber@gmail.com Subject: Re: kern/173541: load average 0.60 at 100% idle Date: Thu, 3 Jan 2013 23:19:00 +0100 --089e01177699f745b904d269bf93 Content-Type: text/plain; charset=ISO-8859-1 Hi! I'm getting the exact same issue. Upgraded from FreeBSD 9.0 to FreeBSD 9.1 and my load avg jumped from 0.01 to 0.60, while the server is doing pretty much nothing at all. I'm also seeing the timer differences in dmesg as described earlier in the bug report. # sysctl -a | egrep "kern.event|clock" kern.clockrate: { hz = 1000, tick = 1000, profhz = 8126, stathz = 127 } kern.eventtimer.choice: HPET(450) HPET1(440) HPET2(440) LAPIC(400) i8254(100) RTC(0) kern.eventtimer.et.LAPIC.flags: 15 kern.eventtimer.et.LAPIC.frequency: 0 kern.eventtimer.et.LAPIC.quality: 400 kern.eventtimer.et.i8254.flags: 1 kern.eventtimer.et.i8254.frequency: 1193182 kern.eventtimer.et.i8254.quality: 100 kern.eventtimer.et.RTC.flags: 17 kern.eventtimer.et.RTC.frequency: 32768 kern.eventtimer.et.RTC.quality: 0 kern.eventtimer.et.HPET.flags: 3 kern.eventtimer.et.HPET.frequency: 14318180 kern.eventtimer.et.HPET.quality: 450 kern.eventtimer.et.HPET1.flags: 3 kern.eventtimer.et.HPET1.frequency: 14318180 kern.eventtimer.et.HPET1.quality: 440 kern.eventtimer.et.HPET2.flags: 3 kern.eventtimer.et.HPET2.frequency: 14318180 kern.eventtimer.et.HPET2.quality: 440 kern.eventtimer.periodic: 0 kern.eventtimer.timer: HPET kern.eventtimer.activetick: 1 kern.eventtimer.idletick: 0 kern.eventtimer.singlemul: 2 debug.acpi.reset_clock: 1 debug.clocktime: 0 hw.clockrate: 2133 machdep.wall_cmos_clock: 0 dev.atrtc.0.%desc: AT realtime clock # dmesg | more Copyright (c) 1992-2012 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 CPU: Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz (2133.45-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x6f2 Family = 6 Model = f Stepping = 2 Features=0xbfebfbff Features2=0xe3bd AMD Features=0x20100800 AMD Features2=0x1 TSC: P-state invariant, performance statistics real memory = 4296015872 (4097 MB) avail memory = 4101558272 (3911 MB) Event timer "LAPIC" quality 400 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 1 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, dff00000 (3) failed cpu0: on acpi0 cpu1: on acpi0 attimer0: port 0x40-0x43 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 atrtc0: port 0x70-0x71 irq 8 on acpi0 Event timer "RTC" frequency 32768 Hz quality 0 hpet1: iomem 0xfed00000-0xfed003ff on acpi0 Event timer "HPET" frequency 14318180 Hz quality 450 Event timer "HPET1" frequency 14318180 Hz quality 440 Event timer "HPET2" frequency 14318180 Hz quality 440 hpet0: iomem 0xfed00000-0xfed003ff on acpi0 device_attach: hpet0 attach returned 12 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xf808-0xf80b on acpi0 Regards Johan --089e01177699f745b904d269bf93 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi!

I'm getting the exact same issue. Upgraded from FreeBSD 9.0 = to FreeBSD 9.1 and my load avg jumped from 0.01 to 0.60, while the server i= s doing pretty much nothing at all.

I'm also seeing the timer di= fferences in dmesg as described earlier in the bug report.

# sysctl -a | egrep "kern.event|clock"
kern.clockrate: { = hz =3D 1000, tick =3D 1000, profhz =3D 8126, stathz =3D 127 }
kern.event= timer.choice: HPET(450) HPET1(440) HPET2(440) LAPIC(400) i8254(100) RTC(0)<= br>kern.eventtimer.et.LAPIC.flags: 15
kern.eventtimer.et.LAPIC.frequency: 0
kern.eventtimer.et.LAPIC.quality: = 400
kern.eventtimer.et.i8254.flags: 1
kern.eventtimer.et.i8254.freque= ncy: 1193182
kern.eventtimer.et.i8254.quality: 100
kern.eventtimer.et= .RTC.flags: 17
kern.eventtimer.et.RTC.frequency: 32768
kern.eventtimer.et.RTC.quality: = 0
kern.eventtimer.et.HPET.flags: 3
kern.eventtimer.et.HPET.frequency:= 14318180
kern.eventtimer.et.HPET.quality: 450
kern.eventtimer.et.HPE= T1.flags: 3
kern.eventtimer.et.HPET1.frequency: 14318180
kern.eventtimer.et.HPET1.qu= ality: 440
kern.eventtimer.et.HPET2.flags: 3
kern.eventtimer.et.HPET2= .frequency: 14318180
kern.eventtimer.et.HPET2.quality: 440
kern.event= timer.periodic: 0
kern.eventtimer.timer: HPET
kern.eventtimer.activetick: 1
kern.eventt= imer.idletick: 0
kern.eventtimer.singlemul: 2
debug.acpi.reset_clock:= 1
debug.clocktime: 0
hw.clockrate: 2133
machdep.wall_cmos_clock: = 0
dev.atrtc.0.%desc: AT realtime clock


# dmesg | more
Copyright= (c) 1992-2012 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986= , 1988, 1989, 1991, 1992, 1993, 1994
=A0=A0=A0=A0=A0=A0=A0 The Regents o= f the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 9.1= -RELEASE #0 r243825: Tue Dec=A0 4 09:23:10 UTC 2012
=A0=A0=A0 root@farre= ll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
CPU: Intel(R) Core= (TM)2 CPU=A0=A0=A0=A0=A0=A0=A0=A0=A0 6400=A0 @ 2.13GHz (2133.45-MHz K8-clas= s CPU)
=A0 Origin =3D "GenuineIntel"=A0 Id =3D 0x6f2=A0 Family =3D 6=A0 = Model =3D f=A0 Stepping =3D 2
=A0 Features=3D0xbfebfbff<FPU,VME,DE,PS= E,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI= ,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
=A0 Features2=3D0xe3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTP= R,PDCM>
=A0 AMD Features=3D0x20100800<SYSCALL,NX,LM>
=A0 AMD= Features2=3D0x1<LAHF>
=A0 TSC: P-state invariant, performance sta= tistics
real memory=A0 =3D 4296015872 (4097 MB)
avail memory =3D 4101558272 (391= 1 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: <= COMPAQ GLENWOOD>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs<= br> FreeBSD/SMP: 1 package(s) x 2 core(s)
=A0cpu0 (BSP): APIC ID:=A0 0
= =A0cpu1 (AP): APIC ID:=A0 1
ioapic0: Changing APIC ID to 1
ioapic0 &l= t;Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <= ;HPQOEM SLIC-WKS> on motherboard
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failedacpi0: reservation of 100000, dff00000 (3) failed
cpu0: <ACPI CPU>= ; on acpi0
cpu1: <ACPI CPU> on acpi0
attimer0: <AT timer>= port 0x40-0x43 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer= "i8254" frequency 1193182 Hz quality 100
atrtc0: <AT realt= ime clock> port 0x70-0x71 irq 8 on acpi0
Event timer "RTC" = frequency 32768 Hz quality 0
hpet1: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on ac= pi0
Event timer "HPET" frequency 14318180 Hz quality 450
Ev= ent timer "HPET1" frequency 14318180 Hz quality 440
Event time= r "HPET2" frequency 14318180 Hz quality 440
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on ac= pi0
device_attach: hpet0 attach returned 12
Timecounter "ACPI-fa= st" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer = at 3.579545MHz> port 0xf808-0xf80b on acpi0

Regards
Johan

--089e01177699f745b904d269bf93--