Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jun 2002 21:27:38 -0700 (PDT)
From:      Mark Smith <msmith@beta.tricity.wsu.edu>
To:        pepper@reppep.com (Chris Pepper)
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: make -j4 becoming default?
Message-ID:  <200206040427.VAA18855@beta.tricity.wsu.edu>
In-Reply-To: <p05111a16b9218b533fc1@[129.85.219.160]> from "Chris Pepper" at Jun 03, 2002 05:42:46 PM

next in thread | previous in thread | raw e-mail | index | archive | help
> 	Obviously, I'd like to use -j4 wherever possible, and it's 
> suboptimal to try everything multi-threaded, then sometimes fail and 
> manually fall back to single-threaded. Even worse, I usually forget 
> -j4 for thread-safe builds, so I waste time unnecessarily.

Why?  I've tried make buildworld with different -j options and,
on a single processor computer, they're slower than not using -jn
at all.

In this case, the handbook may be wrong.  If you have the time, try
"time make buildworld" and "time make -j4 buildworld" in both single
and multiuser mode and look at the "real" time for all 4. In my 
experience on my box, "make buildworld" under multiuser mode is
the fastest.

Mark
-- 
=========================================================================
UNIX IS user friendly, it's just very choosy about who it calls a friend!
=========================================================================

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?200206040427.VAA18855>