From owner-freebsd-questions Tue Mar 20 20:36:43 2001 Delivered-To: freebsd-questions@freebsd.org Received: from courier.netrail.net (courier.netrail.net [205.215.10.53]) by hub.freebsd.org (Postfix) with ESMTP id 3A7C837B72E for ; Tue, 20 Mar 2001 20:36:38 -0800 (PST) (envelope-from cschreiber@netrail.net) Received: from cschriaber (localhost.netrail.net [127.0.0.1]) by courier.netrail.net (Postfix) with SMTP id 25DD6EB; Tue, 20 Mar 2001 23:36:37 -0500 (EST) Reply-To: From: "Christian S." To: Cc: Subject: RE: Making & forking processes to accomplish faster compiles Date: Tue, 20 Mar 2001 23:32:25 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-reply-to: <3AB82886.27BE3136@urx.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kent, Thanks for the input, that seems to prolly be the case (That the CPU is far faster than the HD), so it may not make much of a difference... *sigh* thank you for your help! :) Chrisitan "...we have only twice as many genes as a fruit fly, or roughly the same number as an ear of corn, about 30,000." Ergo, we are all corn. - -----Original Message----- From: Kent Stewart [mailto:kstewart@urx.com] See if the "-j4" parameter fits the description of what they did. BTW, that only works when the HD I/O is faster than the cpu. When the cpu is starved for I/O and you use a -j4, the build takes much longer. To test what it does do your buildworld using "time make -j4 buildworld". You have to time the build with out the -j4 and with the -j4. When I timed both, the results I saw were as follows: buildworld with files on 3 controllers and -j4 with softupdates 1539.114u 521.486s 45:54.82 74.7% 1209+1431k 48857+129907io 1858pf+0w buildworld with files on 3 controllers with softupdates and no -j4 1524.149u 431.967s 38:41.07 84.2% 1245+1453k 49804+11665io 1915pf+0w It is fairly repeatable. The build without -j4 was slightly faster for both u&s times, and it ran 17% faster by the wall clock. The system is an AMD 900 Thunderbird with 256MB of PC-133 memory and 3x30GB ATA-100 drives on separate controllers. I have a 2nd system with dual 866 coppermines and they will do a buildworld with -j4 in 34 minutes. Anything different compiles with a longer time. -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.5.8 for non-commercial use iQA/AwUBOrguHikK9qTvGvteEQLkbQCff0cXie1gkJPDJoeR5e720E4y76oAnRCQ kvWldw9IiINu5AQkijx+G3/+ =wdkL -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message