kern/173541: load average 0.60 at 100% idle
Johan Broman
je.broman at gmail.com
Thu Jan 3 22:20:01 UTC 2013
The following reply was made to PR kern/173541; it has been noted by GNATS.
From: Johan Broman <je.broman at gmail.com>
To: bug-followup at FreeBSD.org
Cc: viktor.stujber at 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 at 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Features2=0xe3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM>
AMD Features=0x20100800<SYSCALL,NX,LM>
AMD Features2=0x1<LAHF>
TSC: P-state invariant, performance statistics
real memory = 4296015872 (4097 MB)
avail memory = 4101558272 (3911 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: <COMPAQ GLENWOOD>
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 <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) failed
acpi0: 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 realtime 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 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: <High Precision Event Timer> 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!<br><br>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.<br><br>I'm also seeing the timer di=
fferences in dmesg as described earlier in the bug report. <br>
<br># sysctl -a | egrep "kern.event|clock" <br>kern.clockrate: { =
hz =3D 1000, tick =3D 1000, profhz =3D 8126, stathz =3D 127 }<br>kern.event=
timer.choice: HPET(450) HPET1(440) HPET2(440) LAPIC(400) i8254(100) RTC(0)<=
br>kern.eventtimer.et.LAPIC.flags: 15<br>
kern.eventtimer.et.LAPIC.frequency: 0<br>kern.eventtimer.et.LAPIC.quality: =
400<br>kern.eventtimer.et.i8254.flags: 1<br>kern.eventtimer.et.i8254.freque=
ncy: 1193182<br>kern.eventtimer.et.i8254.quality: 100<br>kern.eventtimer.et=
.RTC.flags: 17<br>
kern.eventtimer.et.RTC.frequency: 32768<br>kern.eventtimer.et.RTC.quality: =
0<br>kern.eventtimer.et.HPET.flags: 3<br>kern.eventtimer.et.HPET.frequency:=
14318180<br>kern.eventtimer.et.HPET.quality: 450<br>kern.eventtimer.et.HPE=
T1.flags: 3<br>
kern.eventtimer.et.HPET1.frequency: 14318180<br>kern.eventtimer.et.HPET1.qu=
ality: 440<br>kern.eventtimer.et.HPET2.flags: 3<br>kern.eventtimer.et.HPET2=
.frequency: 14318180<br>kern.eventtimer.et.HPET2.quality: 440<br>kern.event=
timer.periodic: 0<br>
kern.eventtimer.timer: HPET<br>kern.eventtimer.activetick: 1<br>kern.eventt=
imer.idletick: 0<br>kern.eventtimer.singlemul: 2<br>debug.acpi.reset_clock:=
1<br>debug.clocktime: 0<br>hw.clockrate: 2133<br>machdep.wall_cmos_clock: =
0<br>
dev.atrtc.0.%desc: AT realtime clock<br><br><br># dmesg | more<br>Copyright=
(c) 1992-2012 The FreeBSD Project.<br>Copyright (c) 1979, 1980, 1983, 1986=
, 1988, 1989, 1991, 1992, 1993, 1994<br>=A0=A0=A0=A0=A0=A0=A0 The Regents o=
f the University of California. All rights reserved.<br>
FreeBSD is a registered trademark of The FreeBSD Foundation.<br>FreeBSD 9.1=
-RELEASE #0 r243825: Tue Dec=A0 4 09:23:10 UTC 2012<br>=A0=A0=A0 root at farre=
ll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64<br>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)<br>
=A0 Origin =3D "GenuineIntel"=A0 Id =3D 0x6f2=A0 Family =3D 6=A0 =
Model =3D f=A0 Stepping =3D 2<br>=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><br>
=A0 Features2=3D0xe3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTP=
R,PDCM><br>=A0 AMD Features=3D0x20100800<SYSCALL,NX,LM><br>=A0 AMD=
Features2=3D0x1<LAHF><br>=A0 TSC: P-state invariant, performance sta=
tistics<br>
real memory=A0 =3D 4296015872 (4097 MB)<br>avail memory =3D 4101558272 (391=
1 MB)<br>Event timer "LAPIC" quality 400<br>ACPI APIC Table: <=
COMPAQ GLENWOOD><br>FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs<=
br>
FreeBSD/SMP: 1 package(s) x 2 core(s)<br>=A0cpu0 (BSP): APIC ID:=A0 0<br>=
=A0cpu1 (AP): APIC ID:=A0 1<br>ioapic0: Changing APIC ID to 1<br>ioapic0 &l=
t;Version 2.0> irqs 0-23 on motherboard<br>kbd1 at kbdmux0<br>acpi0: <=
;HPQOEM SLIC-WKS> on motherboard<br>
acpi0: Power Button (fixed)<br>acpi0: reservation of 0, a0000 (3) failed<br=
>acpi0: reservation of 100000, dff00000 (3) failed<br>cpu0: <ACPI CPU>=
; on acpi0<br>cpu1: <ACPI CPU> on acpi0<br>attimer0: <AT timer>=
port 0x40-0x43 irq 0 on acpi0<br>
Timecounter "i8254" frequency 1193182 Hz quality 0<br>Event timer=
"i8254" frequency 1193182 Hz quality 100<br>atrtc0: <AT realt=
ime clock> port 0x70-0x71 irq 8 on acpi0<br>Event timer "RTC" =
frequency 32768 Hz quality 0<br>
hpet1: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on ac=
pi0<br>Event timer "HPET" frequency 14318180 Hz quality 450<br>Ev=
ent timer "HPET1" frequency 14318180 Hz quality 440<br>Event time=
r "HPET2" frequency 14318180 Hz quality 440<br>
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on ac=
pi0<br>device_attach: hpet0 attach returned 12<br>Timecounter "ACPI-fa=
st" frequency 3579545 Hz quality 900<br>acpi_timer0: <24-bit timer =
at 3.579545MHz> port 0xf808-0xf80b on acpi0<br>
<br>Regards<br>Johan<br><br>
--089e01177699f745b904d269bf93--
More information about the freebsd-bugs
mailing list