From owner-freebsd-current Fri Apr 5 10:31:42 2002 Delivered-To: freebsd-current@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id C5F0237B404 for ; Fri, 5 Apr 2002 10:31:37 -0800 (PST) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.2/8.12.2) with ESMTP id g35IV6Y9019351 for ; Fri, 5 Apr 2002 20:31:07 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: current@freebsd.org Subject: "ccache" and FreeBSD kernels... From: Poul-Henning Kamp Date: Fri, 05 Apr 2002 20:31:06 +0200 Message-ID: <19350.1018031466@critter.freebsd.dk> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Just for fun I tried compiling some kernels with "ccache". It cuts the time it takes to compile LINT in half. And that is on a dual-athlon-1800 system with 2GB RAM and 15kRPM scsi disks, slower systems will see larger improvements. There about 100 files overlab between kernels, probably mostly stuff in libkern. Conclusion: Most people can probably benefit from using ccache. It's actually a pretty neat idea, which (despite what O'brien will yell at me) I would suggest should be put in the compiler itself. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message