From owner-freebsd-performance@FreeBSD.ORG Sat Jun 2 12:13:18 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 B32CA16A421 for ; Sat, 2 Jun 2007 12:13:18 +0000 (UTC) (envelope-from hunreal@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.251]) by mx1.freebsd.org (Postfix) with ESMTP id 6FBE613C455 for ; Sat, 2 Jun 2007 12:13:18 +0000 (UTC) (envelope-from hunreal@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so283444anc for ; Sat, 02 Jun 2007 05:13:17 -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=iHgZK3UWhfRqYclPz15y0NGgyXjn03efkb9bVW9l1JGoaXKEeJlONWRianpliOXCcTiThQHBzY41z6MhyGQYH5GV9lNLx1xdcOaVhn/PqKfcG4hjdqqPj2Vm+/QTDRN1TJmJFPYINSF5rtw0xHkL6XP+7c7JV/UPkgFyc6ulGmQ= 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=kePH1MDqxSmySQ1xhYeicVZH+ugs23I1ptXPz2+myr8iIhW+CPh9VYW1XO6+Zjww52k6dQN3p7vuRdjQ63B4WjLw3eGnlbk7OqyAFnDyelZTgGXQZqmW5TaRRVacxpftAKslpdJxN83VIqCqfs/TN0SH12EhJW8irM7unnVMdsM= Received: by 10.100.166.14 with SMTP id o14mr1582736ane.1180786397881; Sat, 02 Jun 2007 05:13:17 -0700 (PDT) Received: by 10.100.95.14 with HTTP; Sat, 2 Jun 2007 05:13:17 -0700 (PDT) Message-ID: <9b6b59500706020513x49cf8aecucf8393a98e478221@mail.gmail.com> Date: Sat, 2 Jun 2007 20:13:17 +0800 From: hshh To: "Claus Guttesen" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; 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: Sat, 02 Jun 2007 12:13:18 -0000 I tried, but not help. Still only 3798612 bytes/sec while block size is 2MBytes. On 6/1/07, Claus Guttesen wrote: > > 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 >