From owner-freebsd-current Sun Oct 13 20:55:55 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA23433 for current-outgoing; Sun, 13 Oct 1996 20:55:55 -0700 (PDT) Received: from friley216.res.iastate.edu (friley216.res.iastate.edu [129.186.78.216]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id UAA23421 for ; Sun, 13 Oct 1996 20:55:49 -0700 (PDT) Received: from friley216.res.iastate.edu (loopback [127.0.0.1]) by friley216.res.iastate.edu (8.7.6/8.7.3) with ESMTP id WAA03987; Sun, 13 Oct 1996 22:52:04 -0500 (CDT) Message-Id: <199610140352.WAA03987@friley216.res.iastate.edu> To: "Jonathan M. Bresler" Cc: freebsd-current@freebsd.org Subject: Re: make -j# In-reply-to: Your message of Sun, 13 Oct 1996 17:46:37 -0700. <199610140046.RAA14663@freefall.freebsd.org> Date: Sun, 13 Oct 1996 22:52:04 -0500 From: "Chris Csanady" Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Peter Wemm wrote: >> >> I find that using -pipe is a better overall option for a single-cpu compile. >> When I set in /etc/make.conf: >> CFLAGS= -O -pipe >> COPTFLAGS= -O -pipe >> .. I find that a simple 'make' is faster than any setting of -j# .. >> >> This is probably more dependent on the machine in question than anything, >> including things like cache speed, ram speed, disk speed and architecture >> (ie: scsi vs. ide etc). >> >> I found that the job-complete polling was too chunky though, It seemed that >> make was taking up to half a second to start a new job after the last one >> had finished. Dropping one of the select timeout parameters from 500000 >> usec to 50000 usec made a lot of difference, but it still wasn't quite as >> quick as simply -pipe. >> >> However, on the smp kernel it certainly is nice! :-) > >Peter, > how much faster is make work on an smp box than on the > same box running only one processor? how much of a boost > are we getting at this point? FWIW, these are the respective times on my box. I only bother because its such a pleasure to see progress. :) Chris Csanady make -O2 -pipe -j3 528.404u 74.618s 5:39.12 177.8% 483+723k 1232+2119io 169pf+0w make -O2 -pipe 560.248u 65.277s 10:27.07 99.7% 482+717k 850+652io 68pf+0w > > if i had a multiprocessor box, i would know without asking ;( >jmb