Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Oct 1996 17:46:37 -0700 (PDT)
From:      "Jonathan M. Bresler" <jmb>
To:        peter@spinner.DIALix.COM (Peter Wemm)
Cc:        freebsd-current@freebsd.org
Subject:   Re: make -j#
Message-ID:  <199610140046.RAA14663@freefall.freebsd.org>
In-Reply-To: <53s0at$358$1@haywire.DIALix.COM> from "Peter Wemm" at Oct 14, 96 00:09:01 am

next in thread | previous in thread | raw e-mail | index | archive | help
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?

	if i had a multiprocessor box, i would know without asking ;(
jmb



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