Loadavg is off-by-one

From: Craig Reyenga <craig_at_bluemidnight.ca>
Date: Mon, 6 Sep 2004 21:01:28 -0400
When I run N instances of "yes > /dev/null" on my 5.3-BETA3 box (actually I
cvsupped to RELENG_5 about a day after) I see a load average of ~N+1. When
the system is idle, it's 0, as it ought to be.

More info upon request.

-Craig

More info:
ULE scheduler, UP box.

Copyright (c) 1992-2004 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 5.3-BETA3 #1: Sun Sep  5 14:47:48 EDT 2004
    craig_at_burnout:/usr/obj/usr/src/sys/BURNOUT5
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) XP 1600+ (1403.19-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x662  Stepping = 2

Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,
PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0480000<MP,AMIE,DSP,3DNow!>
real memory  = 268369920 (255 MB)
avail memory = 257089536 (245 MB)
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <VIA694 AWRDACPI> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
cpu0: <ACPI CPU (3 Cx states)> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port
0x5000-0x500f,0x4080-0x40ff,0x4000-0x407f,0xcf8-0xcff on acpi0
acpi link get: empty IRQ resource
pci0: <ACPI PCI bus> on pcib0
agp0: <VIA Generic host to PCI bridge> mem 0xd0000000-0xd7ffffff at device
0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
atapci0: <Promise PDC20269 UDMA133 controller> port
0xd000-0xd00f,0xcc00-0xcc03,0xc800-0xc807,0xc400-0xc403,0xc000-0xc007 mem
0xdd080000-0xdd083fff irq 10 at device 11.0 on pci0
ata2: channel #0 on atapci0
ata3: channel #1 on atapci0
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.25> port
0xd400-0xd43f mem 0xdd020000-0xdd03ffff,0xdd000000-0xdd01ffff irq 5 at
device 12.0 on pci0
em0: Ethernet address: 00:07:e9:09:38:e3
em0:  Speed:N/A  Duplex:N/A
em1: <Intel(R) PRO/1000 Network Connection, Version - 1.7.25> port
0xd800-0xd83f mem 0xdd060000-0xdd07ffff,0xdd040000-0xdd05ffff irq 10 at
device 13.0 on pci0
em1: Ethernet address: 00:07:e9:0a:59:e8
em1:  Speed:N/A  Duplex:N/A
isab0: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
atapci1: <VIA 8233 UDMA100 controller> port
0xdc00-0xdc0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 17.1 on pci0
ata0: channel #0 on atapci1
ata1: channel #1 on atapci1
uhci0: <VIA 83C572 USB controller> port 0xe000-0xe01f irq 10 at device 17.2
on pci0
uhci0: [GIANT-LOCKED]
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xe400-0xe41f irq 10 at device 17.3
on pci0
uhci1: [GIANT-LOCKED]
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <VIA 83C572 USB controller> port 0xe800-0xe81f irq 10 at device 17.4
on pci0
uhci2: [GIANT-LOCKED]
usb2: <VIA 83C572 USB controller> on uhci2
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pcm0: <VIA VT8233> port 0xec00-0xecff irq 5 at device 17.5 on pci0
pcm0: [GIANT-LOCKED]
pcm0: <Avance Logic ALC200 AC97 Codec>
speaker0 port 0x61 on acpi0
fdc0: <floppy drive controller> port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse, device ID 3
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem
0xd9000-0xda7ff,0xd7000-0xd87ff,0xd4000-0xd67ff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 1403188485 Hz quality 800
Timecounters tick every 10.000 msec
ipfw2 initialized, divert enabled, rule-based forwarding disabled, default
to accept, logging unlimited
acpi_cpu: throttling enabled, 2 steps (100% to 50.0%), currently 100.0%
ad0: 39083MB <Maxtor 34098H4/YAH814Y0> [79408/16/63] at ata0-master UDMA100
ATAPI_RESET time = 70us
acd0: CDRW <LITE-ON DVD+RW LDW-401S/ES0G> at ata1-slave UDMA33
em1: Link is up 100 Mbps Full Duplex
ad4: 114473MB <WDC WD1200JB-00DUA3/75.13B75> [232581/16/63] at ata2-master
UDMA100
cd0 at ata1 bus 0 target 1 lun 0
cd0: <LITE-ON DVD+RW LDW-401S ES0G> Removable CD-ROM SCSI-0 device
cd0: 33.000MB/s transfers
cd0: cd present [1 x 2048 byte records]
Mounting root from ufs:/dev/ad0s1a
WARNING: /garage was not properly dismounted
em1: Link is up 100 Mbps Full Duplex
em0: Link is up 1000 Mbps Full Duplex
Received on Mon Sep 06 2004 - 23:00:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:10 UTC