From owner-freebsd-questions@FreeBSD.ORG Tue Feb 19 10:43:07 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5DC0D16A418 for ; Tue, 19 Feb 2008 10:43:07 +0000 (UTC) (envelope-from valerio.daelli@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.179]) by mx1.freebsd.org (Postfix) with ESMTP id 2DF1B13C45E for ; Tue, 19 Feb 2008 10:43:06 +0000 (UTC) (envelope-from valerio.daelli@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so3358159waf.3 for ; Tue, 19 Feb 2008 02:43:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=Fyc5vpKvyR9e35bQVItGLRRqNzr4259y1n3as4GvFmY=; b=gOq8x2WDgOHGTqVmPQG3OxoVEspaB0ojpps1SoN2vChypjuDsZGfVW7dAFW1mQCHR9KlVVBa6Kwlnekh4JtblGoxUK1qwH++v5kxyNx+O6KPylpNphLWO3X5GWmz7g5M+TQBZOj5JVgNpgTz6Ztj7LMj3dT7UWGi+XK0c9aIiBQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=gaOemS+kY5cghk5cQ1YnlCubV9t1a0HvgtGRmLF5X3SmEs0vtB3onWPUndet1ncNbZZsRLytOusLfM9MqAuZ0CsidN+5eXFPQz6NcViRJVN6B3qCndQpBOL2TiRa27j1PvZBQfrfgeEsuaxD7SqNqlS1lmQ8VubnUaPng9zXQPY= Received: by 10.114.161.11 with SMTP id j11mr4403462wae.127.1203417786450; Tue, 19 Feb 2008 02:43:06 -0800 (PST) Received: by 10.114.113.14 with HTTP; Tue, 19 Feb 2008 02:43:06 -0800 (PST) Message-ID: <27dbfc8c0802190243y113d3059yd0c602850a4dbd6b@mail.gmail.com> Date: Tue, 19 Feb 2008 11:43:06 +0100 From: "Valerio Daelli" To: freebsd-questions MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Bad performance of 7.0 nfs client with Solaris nfs server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Feb 2008 10:43:07 -0000 Hi list we have a FreeBSD 7.0 NFS client (csup today, built world and kernel). It mounts a Solaris 10 NFS share. We have bad performance with 7.0 (3MB/s). We have tried both UDP and TCP mounts, both sync and async. This is our mount: nest.xx.xx:/data/export/hosts/bsd7.xx.xx/ /mnt/nest.xx.xx nfs noatime,async,-i,rw,-T,-3 Both our server (7.0 and Solaris 10) are Gigabit Ethernet, both are HP Proliant DL360 i386 (NIC bge0): --- FreeBSD 7.0: [eldon@bsd7 ~]$ uname -a FreeBSD bsd7.xx.xx 7.0-RC2 FreeBSD 7.0-RC2 #1: Mon Feb 18 17:46:46 CET 2008 root@bsd7.xx.xx:/usr/obj/usr/src/sys/BSD7 i386 --- This is our performance with iozone: command line: iozone -+q 1 -i 0 -i 1 -n 2048 -g 2G -Raceb iozone.xls -f /mnt/nest.xx.xx/iozone.bsd7/iozone.tmp FreeBSD 7: File stride size set to 17 * record size. random random bkwd record stride KB reclen write rewrite read reread read write read rewrite read fwrite frewrite fread freread 2048 1024 109883 101289 769058 779880 2048 2048 3812 3674 760479 767066 4096 1024 111156 106788 724692 728040 4096 2048 3336 2241 157132 733417 4096 4096 2829 3364 699351 699807 As you can see, while with record length less than 1024KB the speed is 'fast', with record of 2048 or more (I've tried with record much bigger) we get only 3 MB/s. Is this a known issue? If you need more details please contact me, I am willing to do more tests to risolve this problem. Thanks Valerio Daelli