Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Nov 2004 07:56:05 +0100 (CET)
From:      "Derkjan de Haan" <derkjan@haanjdj.demon.nl>
To:        freebsd-stable@freebsd.org
Subject:   Re: make -j$n buildworld : use of -j investigated
Message-ID:  <47660.193.173.55.142.1101192965.squirrel@193.173.55.142>
In-Reply-To: <41A2C5C0.3080908@yahoo.com>
References:  <41A2C5C0.3080908@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

> With these simple tests, I come to the conclusion that
> "make -j$n buildworld" is best with n = number of CPUs.
> Does that make sense?

Yes, I believe this makes sense. The recommendations made in the handbook
(n >= 4) date back from the time when IO was the bottleneck in the
compilation process i.e. one needed to run multiple build processes in
parallel just to keep the cpu busy. Today this is no longer true, so it's
optimal to use n = number of CPUs. Not sure about Intel cpus with HT
enabled though...


regards,

Derkjan




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