Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 May 2000 22:21:42 -0700 (PDT)
From:      Kris Kennaway <kris@FreeBSD.org>
To:        Kent Stewart <kstewart@3-cities.com>
Cc:        George Cox <gjvc@sophos.com>, freebsd-hackers@freebsd.org
Subject:   Re: Double buffered cp(1)
Message-ID:  <Pine.BSF.4.21.0005112219060.49885-100000@freefall.freebsd.org>
In-Reply-To: <3904B391.D72E8D0E@3-cities.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 24 Apr 2000, Kent Stewart wrote:

> This is what I see on a buildworld with 4.0-Stable
> 
> Modified /etc/make.conf and commented out CFLAGS= -Os -pipe
> 3707.4u 799.6s 1:35:52.46 78.3% 1374+1477k 56974+173232io 2337pf+0w
> 3693.9u 800.5s 1:29:45.73 83.4% 1375+1477k 55201+173224io 2160pf+0w
> Modified /etc/make.conf and added CFLAGS= -pipe
> 3559.2u 807.2s 1:28:00.05 82.6% 1608+1286k 56499+174033io 2516pf+0w

This is an old message, but what you're seeing here is that if CFLAGS is
not overridden, it is set by sys.mk to "-O -pipe"

Setting CFLAGS explicitly to "-pipe" is faster because it does no
optimization, "-Os -pipe" would be slower because it does more. Leaving
out -pipe would be slower still, because the compiler does data passing
using temporary files in /tmp instead of via a pipe.

Kris

----
In God we Trust -- all others must submit an X.509 certificate.
    -- Charles Forsythe <forsythe@alum.mit.edu>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0005112219060.49885-100000>