From owner-freebsd-hackers Fri Jul 26 12:13:51 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA17117 for hackers-outgoing; Fri, 26 Jul 1996 12:13:51 -0700 (PDT) Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id MAA17111 for ; Fri, 26 Jul 1996 12:13:48 -0700 (PDT) Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net id ad29058; 26 Jul 96 19:13 GMT Received: from longacre.demon.co.uk ([158.152.156.24]) by relay-3.mail.demon.net id aa21422; 26 Jul 96 20:12 +0100 From: Michael Searle Message-ID: To: hackers@freefall.freebsd.org Subject: Re: mfs /tmp, ffs /tmp or -pipe References: <199607261535.IAA02391@freefall.freebsd.org> Date: Fri, 26 Jul 1996 18:38:52 BST X-Mailer: Offlite 0.09 / Termite Internet for Acorn RISC OS Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk owner-hackers-digest@freefall.freebsd.org wrote: > Hi, > I've just been playing around with different ways to compile the kernel. > My, completely simple, measurement of kernel compile time on a 2.1.5 > P-100 are: > ffs /tmp : 7:50 seconds mfs /tmp : 7:30 seconds (with TMPDIR=/tmp) cc > -pipe : 7:22 seconds > Fairly inconclusive and probably not repeatable. Anyway, what I am > asking is are there any documented advantages of using an mfs /tmp?? Is > -pipe a better option for compiles?? I haven't tried using mfs, and these are not kernel compile times, but any large compile should be similar for comparing makes. I got 198-201 seconds real, of which 86-87% was used, whatever options were used, when using the system make. Using gmake (still with ffs /tmp), this dropped to 189.57 seconds real, 87.2% used. Using -pipe with gmake, this actually increased to 192.43 seconds real, 88.6% used. The real improvement was when I used -pipe with -j. Using -j2, -j3 and -j4 I got similar results, but the best for me was -j3, which completed in 176.28 seconds real, of which 97.6% was used. -- Michael Searle - searle@longacre.demon.co.uk