From owner-freebsd-questions@FreeBSD.ORG Tue Nov 23 03:51:25 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2603916A4CE for ; Tue, 23 Nov 2004 03:51:25 +0000 (GMT) Received: from auk2.snu.ac.kr (auk2.snu.ac.kr [147.46.100.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB3D243D5E for ; Tue, 23 Nov 2004 03:51:24 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Received: from [147.46.44.181] (spamrefuse@yahoo.com) by auk2.snu.ac.kr (Terrace Internet Messaging Server) with ESMTP id 2004112312:51:13:151939.21758.2792786864 for ; Tue, 23 Nov 2004 12:51:13 +0900 (KST) Message-ID: <41A2B3BB.3020108@yahoo.com> Date: Tue, 23 Nov 2004 12:51:23 +0900 From: Rob User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD References: <41A2A7A2.3040102@yahoo.com> In-Reply-To: <41A2A7A2.3040102@yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-TERRACE-SPAMMARK: YES-__TRSYS_LV__3 (SR:-0.11) (SRN:SPAMROBOT) ----------------- Subject: Re: make -j$n buildworld : use of -j investigated X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Nov 2004 03:51:25 -0000 Laurence Sanford wrote: > Rob wrote: > >> ---------------------------------------- >> >> 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? >> >> Rob. > > This is what I've been telling people and using myself for years. > However, I've been shot down on this several times, so I just leave > everyone alone and let them do their own thing. You and I will be > getting it done a little faster though. Not really faster, but higher values do not make a difference, well, as long as the extra processes do not force the use of swap. Intensified swapping because of a high -j value slows down the build considerably. I don't understand why this is reason for debate. My test has obvious results on various of my PCs, and was very quickly done: I wrote a script with a loop that built the world again and again, doing a 'touch' to a file immediately before and after the build. Got all my data within a day or so. Rob.