From owner-freebsd-current@FreeBSD.ORG Mon Feb 2 03:41:45 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3810016A4CE for ; Mon, 2 Feb 2004 03:41:45 -0800 (PST) Received: from sarevok.idg.nl (ardvark.idg.nl [62.250.13.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F94643D2F for ; Mon, 2 Feb 2004 03:41:37 -0800 (PST) (envelope-from mdev@sarevok.idg.nl) Received: by sarevok.idg.nl (Postfix, from userid 100) id 990EDB910; Mon, 2 Feb 2004 12:41:35 +0100 (CET) From: Melvyn Sopacua Organization: WebTeckies.org To: current@FreeBSD.org Date: Mon, 2 Feb 2004 12:41:31 +0100 User-Agent: KMail/1.5.94 MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-03=_vdjHAapwygbxMFy"; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200402021241.35427.freebsd-current@webteckies.org> Subject: SCHED_ULE and loadavg() results X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2004 11:41:45 -0000 --Boundary-03=_vdjHAapwygbxMFy Content-Type: multipart/mixed; boundary="Boundary-01=_rdjHAS06uher6Xo" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_rdjHAS06uher6Xo Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, following up on recent statements regarding loadavg() calculation: I currently have a machine compiling a make release, using SCHED_ULE. I use WORLDARGS=3D'-j4' and have observed the following: * During compilation loads gets up to 15 and stays there, but I feel this h= as=20 been "set in motion" by top(1). The buildprocess already was an hour or 2 o= n=20 it's way (set it up remotely) and the first time I ran top, the load was=20 three. I quit top, and monitored slowly by calling uptime(1) about every=20 minute manually (to avoid sleep()), but the load still went up. * changing top's refresh frequency to 5, had no impact whatsoever - load st= ill=20 goes up, finally changed it to 1 and kept monitoring. * during 'install' stage load went down to appr. 0.62 and kept lurking betw= een=20 0.62 and 1.20, still with many make(10 and sh(1) processes, but no compiler= s. * during kernel build stage load went quickly up to 3 and 5, with less=20 compilers this time. * it's now building ports and balancing between 1.10 and 3.50. I've used this machine more often lately to build dists, but never saw the= =20 load come above 6, using SCHED_4BSD. Last time was about 1,5 weeks ago. Kernel config and dmesg attached. =46ull command is: nohup make release BUILDNAME=3D5.2-idgnl-CURRENT \ CHROOTDIR=3D/webdocs/scratch/CURRENT \ CVSROOT=3D/home/ncvs DOC_LANG=3Den_US.ISO8859-1 -DMAKEISOS \ RELEASEDIRFILES=3D/usr/ports/distfiles WORLD_FLAGS=3D-j4 \ KERNELS=3D'DBSERVER SERVER3' -DNOPORTREADMES & =2D-=20 Melvyn =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D =46reeBSD sarevok.idg.nl 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 18:= 01:18=20 CET 2004 =20 root@sarevok.lan.webteckies.org:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG = =20 i386 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D --Boundary-01=_rdjHAS06uher6Xo Content-Type: text/plain; charset="us-ascii"; name="dmesg.boot" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="dmesg.boot" 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. =46reeBSD 5.2-CURRENT #0: Mon Feb 2 05:21:28 CET 2004 root@server3.webtechs.idg.nl:/usr/obj/usr/src/sys/SERVER3 Preloaded elf kernel "/boot/kernel/kernel" at 0xc07fa000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc07fa1f4. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel Pentium III (601.37-MHz 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0x681 Stepping =3D 1 Features=3D0x383f9ff real memory =3D 536858624 (511 MB) avail memory =3D 519802880 (495 MB) Pentium Pro MTRR support enabled npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard pcibios: BIOS version 2.10 Using $PIR table, 7 entries at 0xc00f0d10 acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0 acpi_cpu0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib0: slot 6 INTA is routed to irq 3 pcib0: slot 9 INTA is routed to irq 3 pcib0: slot 10 INTA is routed to irq 4 pcib0: slot 11 INTA is routed to irq 10 agp0: mem 0xe4000000-0xe7ffffff= at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 isab0: at device 4.0 on pci0 isa0: on isab0 atapci0: port 0xd800-0xd80f at device 4.1 o= n pci0 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] uhci0: port 0xd400-0xd41f at devi= ce 4.2 on pci0 pcib0: slot 4 INTD is routed to irq 3 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pci0: at device 4.3 (no driver attached) ahc0: port 0xd000-0xd0ff mem 0xe10= 00000-0xe1000fff irq 3 at device 6.0 on pci0 aic7890/91: Ultra2 Wide Channel A, SCSI Id=3D7, 32/253 SCBs pci0: at device 9.0 (no driver attached) fxp0: port 0xb800-0xb81f mem 0xe0000000-0xe0= 0fffff,0xe3000000-0xe3000fff irq 4 at device 10.0 on pci0 fxp0: Ethernet address 00:90:27:12:cb:aa miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp1: port 0xb400-0xb41f mem 0xdf800000-0xdf= 8fffff,0xe2000000-0xe2000fff irq 10 at device 11.0 on pci0 fxp1: Ethernet address 00:50:8b:5b:a3:01 miibus1: on fxp1 inphy1: on miibus1 inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fdc0: ready for input in output fdc0: cmd 3 failed at out byte 1 of 3 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 fdc0: ready for input in output fdc0: cmd 3 failed at out byte 1 of 3 orm0: