Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Oct 2004 08:37:47 -0400
From:      Chuck Swiger <cswiger@mac.com>
To:        Brian Bobowski <bbobowski@cogeco.ca>
Cc:        FreeBSD User Questions List <freebsd-questions@freebsd.org>
Subject:   Re: make buildworld.........24 hours????
Message-ID:  <41838B1B.4010108@mac.com>
In-Reply-To: <4183864E.30500@cogeco.ca>
References:  <1099096228.18749.149.camel@aaron.proficuous.com> <20041030003606.GA60037@xor.obsecurity.org> <41838096.2080902@cogeco.ca> <418384E9.8010601@mac.com> <4183864E.30500@cogeco.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
Brian Bobowski wrote:
> Chuck Swiger wrote:
>> Using -j is recommended only when you have lots of memory and can keep 
>> all of the processes resident in memory.  Trying to run a parallel 
>> build on a low-memory machine is almost certainly going to be much 
>> slower, since you are going to swap more, not less.
[ ... ]
> Ah, thanks for the clarification. I'd seen it cited as a way to deal 
> with the delay caused by file access, but I guess it does make sense 
> that it would apply to the actual filesystem rather than swap.

There's that point, too.  FreeBSD will happily cache all of the header files 
and such in memory if it can, rather than re-reading them from disk all of the 
time.  Adding more memory to this machine will do more for your dollar to 
improve the performance of the system, then anything else you can do.

-- 
-Chuck



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