Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Sep 1997 05:37:09 -0700
From:      David Greenman <dg@root.com>
To:        dkelly@hiwaay.net
Cc:        robsch@robkaos.ruhr.de (Robert Schien), hardware@FreeBSD.ORG
Subject:   Re: 'make world' on P6 system takes 3 h 
Message-ID:  <199709101237.FAA06597@implode.root.com>
In-Reply-To: Your message of "Wed, 10 Sep 1997 07:12:41 CDT." <199709101212.HAA05906@nospam.hiwaay.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
>Robert Schien writes:
>>
>> I have the impression that there is something wrong with my
>> P6 system. 'make world' (3.0-current) takes 3 hours!
>> 
>> The hardware is:
>> Asus P6NP5 motherboard with 64 MB EDO, 200 MHz PentiumPro (256k).
>> Asus SC-200 SCSI host adapter
>> 4 GB IBM DCAS hard disk (this is where /usr/src and /usr obj reside).
>
>I have a PPro 166 with 512k cache, 32M FP RAM, 2G Barracuda, 2940. "make
>world" for 2.2.2 (recent cvsup) takes 2:47. Mounting /usr with "-o async"
>drops that time to 2:15. It was interesting to note "time" reported
>almost exactly the same amount of time in CPU for both.
>
>dg@root.com said:
>> >CFLAGS= -O2 -m486 -pipe
>>    Make that "-O" and kill the -m486. The -O2 nearly doubles the
>> compile time and provides almost no measurable improvement in most
>> cases. 
>
>Was -O the default at some time during 2.x's life? I remember my old MB
>could "make world" in 5 hours or so once, and was up to 9 hours by the
>time I replaced it.

   -O is still the default. The commented out CFLAGS in make.conf should
probably be changed to more closely match the default - the main reason it
there is to remind people about the -pipe option (which, with memory prices
the way they are, should probably be made the default).

-DG

David Greenman
Core-team/Principal Architect, The FreeBSD Project



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