From owner-freebsd-performance@FreeBSD.ORG Tue Apr 19 13:30:51 2005 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6DE9016A4CE for ; Tue, 19 Apr 2005 13:30:51 +0000 (GMT) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B2BC43D31 for ; Tue, 19 Apr 2005 13:30:50 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id j3JDUmgN066953; Tue, 19 Apr 2005 08:30:49 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <426507DC.50409@centtech.com> Date: Tue, 19 Apr 2005 08:30:04 -0500 From: Eric Anderson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050325 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Claus Guttesen References: <4264EC60.3020600@centtech.com> <4264EF40.3060900@centtech.com> <4264F8A8.3080405@centtech.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.82/840/Mon Apr 18 20:42:09 2005 on mh1.centtech.com X-Virus-Status: Clean cc: freebsd-performance@freebsd.org Subject: Re: some simple nfs-benchmarks on 5.4 RC2 X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Apr 2005 13:30:51 -0000 Claus Guttesen wrote: >>What does gstat look like on the server when you are doing this? >>Also - does a dd locally on the server give the same results? You should get >>about double that I would estimate locally direct to disk. What about a dd over >>NFS? > > > dd-command: > > dd if=/dev/zero of=/nfssrv/dd.tst bs=1024 count=1048576 > > on client: > 1073741824 bytes transferred in 24.787112 secs (43318553 bytes/sec) > gstat showed approx. 30.000-52.000 KB/s. > > on nfs-server: > 1073741824 bytes transferred in 23.368815 secs (45947637 bytes/sec) > gstat showed approx. 45.000-46.000 KB/s. > > The funny thing is that the outputrate fluxuates more dd'ing from the > client (remote) and is more consistent dd'ing on the server (locally). > > >>What is the server spending its time doing? (top?) > > > nfsd. > > >>If you are looking for the best performance, you might try a RAID 0+1 (or 10 >>possibly) instead of RAID 5. > > > I chosed raid 5 to maximize space. What state is nfsd in? Can you send the output of this: ps -auxw|grep nfsd while the server is slammed? I think you are disk bound.. You should not be disk bound at this point with a good RAID controller.. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology A lost ounce of gold may be found, a lost moment of time never. ------------------------------------------------------------------------