From owner-freebsd-stable Tue Jan 22 13:18:55 2002 Delivered-To: freebsd-stable@freebsd.org Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by hub.freebsd.org (Postfix) with ESMTP id AAEFD37B405 for ; Tue, 22 Jan 2002 13:18:45 -0800 (PST) Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id NAA13337; Tue, 22 Jan 2002 13:18:43 -0800 Message-ID: <3C4DD732.5030600@owt.com> Date: Tue, 22 Jan 2002 13:18:42 -0800 From: Kent Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011128 Netscape6/6.2.1 X-Accept-Language: en-us MIME-Version: 1.0 To: Mike Tancsa Cc: freebsd-stable@FreeBSD.ORG Subject: Re: make -j4 world References: <5.1.0.14.0.20020122145124.03cd1380@marble.sentex.ca> <5.1.0.14.0.20020122145124.03cd1380@marble.sentex.ca> <5.1.0.14.0.20020122151930.03d62220@marble.sentex.ca> <3C4DCB91.7080701@owt.com> <3C4DCDE7.C5E77C03@math.missouri.edu> <20020122125645.1a0c9b36.sreese@codysbooks.com> <5.1.0.14.0.20020122160206.0475a170@marble.sentex.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Mike Tancsa wrote: > > Just successfully completed a -j2 on the same machine. Apart from rm -R > /usr/obj nothing was/is different. What extra debugging information can > I provide to help track this down ? The machine is not in production so > I can do with it as needed. I think to start with you need to capture your build. What I use is the following script. It was just changed from -j4 to no -j to see what the difference in elapsed time is. I will run -j2 next. I don't have to do the recursive rm to get a successful buildworld. I think you would want it to fail and then see what isn't being syncronized properly. opal# cat mkworld #! /bin/sh cd /usr/src make buildworld 2>&1 | tee /var/log/build/bworld-`date "+%Y%m%d-%H%M"`.log #make -j2 buildworld 2>&1 | tee /var/log/build/bworld-`date "+%Y%m%d-%H%M"`.log #make -j4 buildworld 2>&1 | tee /var/log/build/bworld-`date "+%Y%m%d-%H%M"`.log It is all one line tho. I added a build directory to /var/log and all of my builds and installs (kernel and world) go in there. Kent > At 01:04 PM 1/22/02 -0800, Kent Stewart wrote: > > >> Scott Reese wrote: >> >>> On Tue, 22 Jan 2002 14:39:03 -0600 >>> Stephen Montgomery-Smith wrote: >>> >>>> On the "Error in make buildworld" thread I said that I had this problem >>>> on 1 out of 3 machines, so you may not necessarily see this problem. I >>>> only saw this problem on the fastest machine. >>>> >>> I've actually found that on a fast computer (1.6 GHz Pentium IV) >>> using the "-j" >>> flag tends to slow things down a bit. The standard "make buildworld" >>> ran much >>> faster and much more smoothly than "make -j4 buildworld." It was the >>> same with >>> kernel builds. Honestly, with a machine that fast, I don't really >>> see a need >>> for the "-j" flags anyway. >> >> >> >> That has also been my experience on most of my single cpu systems. I >> find the combination of # of controllers and ATA-100 drives makes a >> difference. I have one XP system setup with a -j4 and the other with >> -j6. I just finished a buildworld. It required 26:40. I have a make >> script that I uncomment the line I want it to use. The make script is >> setup to use no -j to -j12 in steps of 2. The system with -j6 used to >> be a dual 866 coppermine and I hadn't noticed that it was still -j6. >> >> There were two threads of build failures and I am not seeing it the >> buildworld fail on this end. >> >> >> Kent >> >> -- >> Kent Stewart >> Richland, WA >> >> mailto:kbstew99@hotmail.com >> http://users.owt.com/kstewart/index.html >> FreeBSD News http://daily.daemonnews.org/ >> >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org >> with "unsubscribe freebsd-stable" in the body of the message > > > > . > -- Kent Stewart Richland, WA mailto:kbstew99@hotmail.com http://users.owt.com/kstewart/index.html FreeBSD News http://daily.daemonnews.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message