From owner-freebsd-current@FreeBSD.ORG Sun Feb 29 11:38:25 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 7267016A4CE for ; Sun, 29 Feb 2004 11:38:25 -0800 (PST) Received: from pimout2-ext.prodigy.net (pimout2-ext.prodigy.net [207.115.63.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 06D6943D45 for ; Sun, 29 Feb 2004 11:38:25 -0800 (PST) (envelope-from bob@immure.com) Received: from maul.immure.com (adsl-66-136-206-1.dsl.austtx.swbell.net [66.136.206.1])i1TJb82U196888; Sun, 29 Feb 2004 14:37:08 -0500 Received: (from root@localhost) by maul.immure.com (8.12.10/8.12.10) id i1TJb8PE016345; Sun, 29 Feb 2004 13:37:08 -0600 (CST) (envelope-from bob@immure.com) Received: from luke.immure.com (luke.immure.com [10.1.132.3]) by maul.immure.com (8.12.10/8.12.3) with ESMTP id i1TJb6xQ016320; Sun, 29 Feb 2004 13:37:06 -0600 (CST) (envelope-from bob@immure.com) Received: from luke.immure.com (localhost [127.0.0.1]) by luke.immure.com (8.12.10/8.12.10) with ESMTP id i1TJb6sb090968; Sun, 29 Feb 2004 13:37:06 -0600 (CST) (envelope-from bob@luke.immure.com) Received: (from bob@localhost) by luke.immure.com (8.12.10/8.12.10/Submit) id i1TJb6xr090967; Sun, 29 Feb 2004 13:37:06 -0600 (CST) (envelope-from bob) Date: Sun, 29 Feb 2004 13:37:06 -0600 From: Bob Willcox To: Evren Yurtesen Message-ID: <20040229193706.GB90729@luke.immure.com> References: <20040228144714.P8264-100000@oahu.WURLDLINK.NET> <4041B8C1.8000309@ispro.net.tr> <20040229164815.GA88163@luke.immure.com> <404226DF.3070809@ispro.net.tr> <20040229193302.GA90729@luke.immure.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040229193302.GA90729@luke.immure.com> User-Agent: Mutt/1.5.6i X-scanner: scanned by Inflex 1.0.12.3 on maul.immure.com cc: current@freebsd.org Subject: Re: buildworld times X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Bob Willcox List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Feb 2004 19:38:25 -0000 Oops, the two times that I should have sent are: logs/qui-gon-2: 2031.12 real 1570.18 user 387.54 sys logs/qui-gon-3: 4183.40 real 1625.23 user 2462.64 sys The logs/qui-gon-4 one was for a 5.2.1-release buildworld. Admittedly not much difference, but I wanted to be as precise as I could. Bob On Sun, Feb 29, 2004 at 01:33:02PM -0600, Bob Willcox wrote: > On Sun, Feb 29, 2004 at 07:52:31PM +0200, Evren Yurtesen wrote: > > Sorry, my mistake...I guess it was taking longer than 15 minutes... :( > > 41m51.44s real 24m52.18s user 14m56.58s sys > > > > I dont know how could I get 15 last time, if I forgot to do make clean > > or something, or a lot of stuff was cached in the memory maybe? I think > > I did it 2 times in a row :) I guess doing from a memory disk would > > enhance things a lot. > > I've never experienced _that_ big (3-fold) of difference when running > buildworlds back-to-back though. > > > > > Actually now I am running squid proxy on this machine with 8-16% cpu > > usage all the time. Maybe that might be the problem also. > > Could be, but the differences still seems excessive. > > > > > Good question, how do I know my kernel debug options? I think I didnt > > compile them in. I thought the version of the freebsd could be seen from > > dmesg output. It is cvsupped freebsd-current at about feb 4-5... > > If you are running the stock GENERIC -current kernel then I would expect > the following (standard) debug options to be set: > > # Debugging for use in -current > options DDB # Enable the kernel debugger > options INVARIANTS # Enable calls of extra sanity checking > options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS > options WITNESS # Enable checks to detect deadlocks and cycles > options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed > > In my experience, WITNESS increases my buildworld times by a factor of > about 2 (this is on an AMD Opteron 146 system). I see a big increase in > system time (as expected). For example here are two buildworlds done > back-to-back on this system (running -current as of yesterday) with the > only change being the removal of INVARIANTS and WITNESS: > > logs/qui-gon-3: 4183.40 real 1625.23 user 2462.64 sys > logs/qui-gon-4: 1909.12 real 1478.65 user 355.25 sys > > Bob > > > > > > > > > Bob Willcox wrote: > > >On Sun, Feb 29, 2004 at 12:02:41PM +0200, Evren Yurtesen wrote: > > > > > >>It takes 15 minutes on this one with make buildworld... > > > > > > > > >Interesting, but you don't mention what FreeBSD version or what your > > >kernel debug options are. Mind sharing those? > > > > > >Bob > > > > > > > > >>Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > > >> The Regents of the University of California. All rights reserved. > > >>FreeBSD 5.2-CURRENT #0: Fri Feb 6 13:59:01 EET 2004 > > >> toor@proxy.ispro.net.tr:/usr/obj/usr/src/sys/PROXY > > >>Preloaded elf kernel "/boot/kernel/kernel" at 0xc075a000. > > >>Preloaded elf module "/boot/kernel/splash_bmp.ko" at 0xc075a21c. > > >>ACPI APIC Table: > > >>Timecounter "i8254" frequency 1193182 Hz quality 0 > > >>CPU: Intel(R) Pentium(R) 4 CPU 3.06GHz (3059.02-MHz 686-class CPU) > > >> Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 > > >> > > >>Features=0xbfebfbff > > >> Hyperthreading: 2 logical CPUs > > >>real memory = 2142437376 (2043 MB) > > >>avail memory = 2094530560 (1997 MB) > > >>FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > > >>cpu0 (BSP): APIC ID: 0 > > >>cpu1 (AP): APIC ID: 1 > > > > > > > > -- > Bob Willcox A person is just about as big as the things > bob@immure.com that make him angry. > Austin, TX -- Bob Willcox A person is just about as big as the things bob@immure.com that make him angry. Austin, TX