From owner-cvs-all Fri Apr 5 16:41:25 2002 Delivered-To: cvs-all@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id 47CFD37B416; Fri, 5 Apr 2002 16:41:16 -0800 (PST) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 72C0A78451; Sat, 6 Apr 2002 10:11:14 +0930 (CST) Date: Sat, 6 Apr 2002 10:11:14 +0930 From: Greg 'groggy' Lehey To: Josef Karthauser Cc: "J. Mallett" , Dag-Erling Smorgrav , Kenneth Culver , Matthew Dillon , Mike Barcroft , "M. Warner Losh" , jake@locore.ca, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: Compiler cache (was: style(9) bike shed, 371st edition (was: cvs commit: src/sys/i386/i386 critical.c src/sys/i386/include cpufunc.h critical.h src/sys/i386/isa apic_vector.s icu_vector.s src/sys/kern kern_fork.c kern_proc.c kern_switch.c src/sys/alpha/alph)) Message-ID: <20020406101114.F68310@wantadilla.lemis.com> References: <20020402154308.F46914-100000@alpha.yumyumyum.org> <20020403100131.Q26122@wantadilla.lemis.com> <20020404120805.U44513@wantadilla.lemis.com> <20020405034604.A3087@FreeBSD.ORG> <20020405135843.S93816@wantadilla.lemis.com> <20020405163738.GA72974@genius.tao.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020405163738.GA72974@genius.tao.org.uk> User-Agent: Mutt/1.3.23i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Friday, 5 April 2002 at 17:37:38 +0100, Josef Karthauser wrote: > On Fri, Apr 05, 2002 at 01:58:43PM +0930, Greg 'groggy' Lehey wrote: >> On Friday, 5 April 2002 at 3:46:05 +0000, J. Mallett wrote: >>> On Thu, Apr 04, 2002 at 12:08:05PM +0930, Greg 'groggy' Lehey wrote: >>>> >>>> On a similar note, Andrew Tridgell has written a compiler cache which >>>> claims to be able to speed up things by recognizing already-compiled >>>> sources. I'm a little sceptical myself, but everybody who has tried >>>> it says it's very useful. http://ccache.samba.org/ for more details. >>> >>> Why don't we look into precompiled headers, thus avoiding analysis of >>> well, crap? >> >> That wouldn't do the same thing. The cache apparently contains object >> files. If it detects preprocessor output identical to something it >> has compiled before, it just grabs the object file out of the cache. >> >> I'm dubious too. But it seems that the Samba and Apache people love >> it. I suppose it would help when you have multiple source trees, all >> of which are mainly the same. > > A mate of mine is doing a very similar thing. It works wonders if > you've got loads of people all 'make world'ing on the same cluster of > machines - say with shared file space. There's no point rebuilding an > object if someone did so a few minutes ago. It's probably more use in a > multideveloper local environment rather than for individuals. The environment I'm talking about is mainly Linux. It might reflect something about the Linux development style that I hadn't noticed before. Greg -- See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message