From owner-freebsd-hackers Sun Apr 13 18:00:20 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA06165 for hackers-outgoing; Sun, 13 Apr 1997 18:00:20 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id SAA06143 for ; Sun, 13 Apr 1997 18:00:16 -0700 (PDT) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.5/8.7.3) id KAA21424; Mon, 14 Apr 1997 10:29:09 +0930 (CST) From: Michael Smith Message-Id: <199704140059.KAA21424@genesis.atrad.adelaide.edu.au> Subject: Re: Maximizing NFS server performance In-Reply-To: from Brian Tao at "Apr 13, 97 03:24:21 pm" To: taob@risc.org (Brian Tao) Date: Mon, 14 Apr 1997 10:29:08 +0930 (CST) Cc: freebsd-hackers@freebsd.org X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Brian Tao stands accused of saying: > > Using a loopback NFS mount in a P200 running 3.0-970124-SNAP, it > takes almost two minutes to copy my 23MB /usr/src/sys hierarchy (2277 > files). A dd from /dev/zero to a file on the same NFS filesystem can > only write about 550K of data per second. I was hoping to see 10 > times that level of performance. :( I recall an async option to > mount_nfs back in FreeBSD 2.1, but I can't find it documented > anyhwere. Is there anything else I can do to improve NFS performance? Turn on async NFS (vfs.nfs.async), make sure the source filesystem(s) are mounted noatime, and the destination filesystem is mounted async. That's about all I can think of... > Brian Tao (BT300, taob@risc.org) -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[