From owner-freebsd-stable Sun Oct 22 16:26:53 2000 Delivered-To: freebsd-stable@freebsd.org Received: from zipcode.corp.home.net (zipcode.corp.home.net [24.0.26.58]) by hub.freebsd.org (Postfix) with ESMTP id 3B98937B4C5 for ; Sun, 22 Oct 2000 16:26:46 -0700 (PDT) Received: from rover (dialup-24-0-25-83.corp.home.net [24.0.25.83]) by zipcode.corp.home.net (8.9.3/8.9.3) with SMTP id QAA27094; Sun, 22 Oct 2000 16:26:35 -0700 (PDT) From: "Sameer R. Manek" To: "Donn Miller" , "Sam Zamarripa" Cc: Subject: RE: Make World "Nice" Date: Sun, 22 Oct 2000 16:26:34 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal In-Reply-To: <39F29DA8.1F056F9B@cvzoom.net> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > -----Original Message----- > From: owner-freebsd-stable@FreeBSD.ORG > [mailto:owner-freebsd-stable@FreeBSD.ORG]On Behalf Of Donn Miller > Sam Zamarripa wrote: > > > Is there anyway to have Make world(s) be set to use a higher > cpu priority? > > Such as all the GCC compiling set to use nice -10 for example. Thanks. > > Actually, doing make -j [n] where n is an integer >=1 will implicitly > raise the priority level, because you have approx. [n] gcc processes > going at once. With 64M RAM, I find that make -j2 buildworld works > best. > From what I've seen, make -j [n] where n = number cpu + X, X = a few extra processes, usually 1-3. You want every cpu to be compiling, plus you want a few more in the run queue, so should a process enter a sleep state, due to an io wait or something, there is another compile to make use of the idle cpu. a make world is a high disk io process for most folks, setting a gcc to a nice value of -10 is not likely to significantly speed up the process, unless your processor is already being heavily utilized by other applications. In which case I doubt that's the best system to be performing a make world on. On my pII 400, it takes approximately 3.5 hours to run through a buildworld/buildkernel, so I usually just run it over night, or when I don't plan on using the system for a while. Sameer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message