From owner-freebsd-ppc@FreeBSD.ORG Mon Jun 27 19:04:50 2005 Return-Path: X-Original-To: freebsd-ppc@freebsd.org Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD0C216A423 for ; Mon, 27 Jun 2005 19:04:50 +0000 (GMT) (envelope-from drosih@rpi.edu) Received: from smtp3.server.rpi.edu (smtp3.server.rpi.edu [128.113.2.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F56343D49 for ; Mon, 27 Jun 2005 19:04:50 +0000 (GMT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp3.server.rpi.edu (8.13.0/8.13.0) with ESMTP id j5RJ4ldh012223; Mon, 27 Jun 2005 15:04:47 -0400 Mime-Version: 1.0 Message-Id: In-Reply-To: <20050627072428.GD77236@catpipe.net> References: <20050627072428.GD77236@catpipe.net> Date: Mon, 27 Jun 2005 15:04:46 -0400 To: Phil Regnauld From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-CanItPRO-Stream: default X-RPI-SA-Score: undef - spam-scanning disabled X-Scanned-By: CanIt (www . canit . ca) on 128.113.2.3 Cc: freebsd-ppc@freebsd.org Subject: Re: speed of disk I/O on PPC X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jun 2005 19:04:50 -0000 At 9:24 AM +0200 6/27/05, Phil Regnauld wrote: >Garance A Drosihn (drosih) writes: >> me, so I haven't looked into other alternatives. I am running on >> a Mac-mini though, which has a rather slow hard drive (4200 rpm). >> So in my case, it's probably faster to stick with the NFS-mounted >> directory... :-) > > Indeed on my G4-450 the disk is running in PIO mode, so NFS > is definitely faster... I just did some buildworld timings on my Mac-mini, which has that really slow hard drive. I tried a buildworld with an NFS-mounted /usr/obj directory, and another with an NFS-mounted /usr/src directory. The NFS directories are coming from a i386 machine with much faster disks. Oddly enough, the buildworld was faster with both src and obj as local directories on the slow hard disk. This was a very simplistic benchmark, and there were some other things going on at the same time. Still, I was surprised that NFS-mounting some directories did not seem to speed anything up. Both local: real=5597.58 user=5157.62 sys= 75.53 NFS obj: real=6543.29 user=5203.52 sys=300.07 NFS src: real=6703.42 user=5564.93 sys= 90.69 -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu