From owner-freebsd-performance@FreeBSD.ORG Fri Jun 1 11:27:25 2007 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E011B16A400 for ; Fri, 1 Jun 2007 11:27:25 +0000 (UTC) (envelope-from kometen@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.181]) by mx1.freebsd.org (Postfix) with ESMTP id B968A13C480 for ; Fri, 1 Jun 2007 11:27:25 +0000 (UTC) (envelope-from kometen@gmail.com) Received: by wa-out-1112.google.com with SMTP id m33so638193wag for ; Fri, 01 Jun 2007 04:27:25 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DspBMLsnHMoTLf8SyONWcABWyf2oUUAMWH5uilLqhFKFvFO+lK7gYxVTeCczUwvU30vZ2H7XmBp/e7u+nNcCpIK6icdNjlLT+O8iek9G/UHTf9urq9Eby5VZss1w9jmK4Pvec/6xUeYxdnGpNII0uxfuMahXQ5IwxB7xXXmRRp0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=GmLFc7hsyifN2DTr3LKDHYKyEPrtvmxRHodGKFP+AoUCSe99GJUoJAmFxmjD/9qNnMixnXJ9rca73zSyJpIH+nE91H9mfVgynuWPjldQxP8VxG6Ud95P+7ysfHUqw6WDP8oN3kn0xarhAsELgitYCIQjWwEasEDmaX6Fk9sKeKA= Received: by 10.114.201.1 with SMTP id y1mr1634895waf.1180695791266; Fri, 01 Jun 2007 04:03:11 -0700 (PDT) Received: by 10.114.194.12 with HTTP; Fri, 1 Jun 2007 04:03:11 -0700 (PDT) Message-ID: Date: Fri, 1 Jun 2007 13:03:11 +0200 From: "Claus Guttesen" To: hshh In-Reply-To: <9b6b59500706010310h145a1804ie97e57aa0c5e90a4@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <9b6b59500706010310h145a1804ie97e57aa0c5e90a4@mail.gmail.com> Cc: freebsd-performance@freebsd.org Subject: Re: Bad performance while transfer large block size through NFS. X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jun 2007 11:27:26 -0000 > I set up one NFS server, and mounted on other server by TCP. Servers > connected with Giga network, and running 6.2-RELEASE. > > But I found the performance is very bad while transfering large block size data. > For example, I use dd on NFS client to test the speed. > And ``systat -vm 1'' is displayed HDD is most busy, > Disks da0 > KB/t 16.00 > tps 239 > MB/s 3.73 > % busy 91 > > Can I do some tuning to improve large block size transfer over NFS? Try adding read- and write-size 32768, partial /etc/fstab: rw,intr,nfsv3,-a=4,-w=32768,-r=32768 or adding -r 32768 -w 32768 while mounting from command line. -- regards Claus When lenity and cruelty play for a kingdom, the gentlest gamester is the soonest winner. Shakespeare