Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Mar 2001 23:32:25 -0500
From:      "Christian S." <cschreiber@netrail.net>
To:        <kstewart@urx.com>
Cc:        <freebsd-questions@freebsd.org>
Subject:   RE: Making & forking processes to accomplish faster compiles
Message-ID:  <MPEGJCJPPBKNCNBGOHGDKEEICNAA.cschreiber@netrail.net>
In-Reply-To: <3AB82886.27BE3136@urx.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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]

<snippage>

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 <http://www.pgp.com>;

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?MPEGJCJPPBKNCNBGOHGDKEEICNAA.cschreiber>