From owner-freebsd-current@FreeBSD.ORG Mon Feb 2 14:40:39 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 C10C216A4CF for ; Mon, 2 Feb 2004 14:40:39 -0800 (PST) Received: from mail.chesapeake.net (chesapeake.net [208.142.252.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id BFFF243D41 for ; Mon, 2 Feb 2004 14:40:15 -0800 (PST) (envelope-from jroberson@chesapeake.net) Received: from localhost (jroberson@localhost) by mail.chesapeake.net (8.11.6/8.11.6) with ESMTP id i12MeDn51752; Mon, 2 Feb 2004 17:40:13 -0500 (EST) (envelope-from jroberson@chesapeake.net) Date: Mon, 2 Feb 2004 17:40:13 -0500 (EST) From: Jeff Roberson To: Melvyn Sopacua In-Reply-To: <200402021241.35427.freebsd-current@webteckies.org> Message-ID: <20040202173852.S30170-100000@mail.chesapeake.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Mailman-Approved-At: Tue, 03 Feb 2004 05:23:39 -0800 cc: current@freebsd.org Subject: Re: 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 22:40:39 -0000 On Mon, 2 Feb 2004, Melvyn Sopacua wrote: > Hi, > > following up on recent statements regarding loadavg() calculation: > I currently have a machine compiling a make release, using SCHED_ULE. > > I use WORLDARGS='-j4' and have observed the following: > * During compilation loads gets up to 15 and stays there, but I feel this has > been "set in motion" by top(1). The buildprocess already was an hour or 2 on > it's way (set it up remotely) and the first time I ran top, the load was > three. I quit top, and monitored slowly by calling uptime(1) about every > minute manually (to avoid sleep()), but the load still went up. > * changing top's refresh frequency to 5, had no impact whatsoever - load still > goes up, finally changed it to 1 and kept monitoring. > * during 'install' stage load went down to appr. 0.62 and kept lurking between > 0.62 and 1.20, still with many make(10 and sh(1) processes, but no compilers. > * during kernel build stage load went quickly up to 3 and 5, with less > 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 > load come above 6, using SCHED_4BSD. Last time was about 1,5 weeks ago. We're tinkering with the load average reporting right now. I assure you that it is a problem with statistics and not a problem with the actual machine load. Thank you for the thorough report. I'll send a follow-up mail to current@ when we're doing tinkering with loadvg. Cheers, Jeff > > Kernel config and dmesg attached. > Full command is: > nohup make release BUILDNAME=5.2-idgnl-CURRENT \ > CHROOTDIR=/webdocs/scratch/CURRENT \ > CVSROOT=/home/ncvs DOC_LANG=en_US.ISO8859-1 -DMAKEISOS \ > RELEASEDIRFILES=/usr/ports/distfiles WORLD_FLAGS=-j4 \ > KERNELS='DBSERVER SERVER3' -DNOPORTREADMES & > > -- > Melvyn > > ======================================================= > FreeBSD sarevok.idg.nl 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 18:01:18 > CET 2004 > root@sarevok.lan.webteckies.org:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG > i386 > ======================================================= >