From owner-freebsd-performance@FreeBSD.ORG Wed Feb 20 12:09:50 2008 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9B0F16A406 for ; Wed, 20 Feb 2008 12:09:50 +0000 (UTC) (envelope-from kometen@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.178]) by mx1.freebsd.org (Postfix) with ESMTP id 4388213C442 for ; Wed, 20 Feb 2008 12:09:49 +0000 (UTC) (envelope-from kometen@gmail.com) Received: by py-out-1112.google.com with SMTP id u52so3133130pyb.10 for ; Wed, 20 Feb 2008 04:09:49 -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:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=habmANXrZQZHpIey1WhFQMB8fNR6+OhJF8MEFgTyibM=; b=CLeiZm4pyexvTSIaNBIJRVcUa6wdQb2dpil0UFCI9S9bbYHfaR4ezXvo6V9hkhJnTKkGN95Je1UjuZ7H2iyFqSQFVOdUQ6HoTtcC+N+5CMAxAxUysuXLXan7V1aEXR0yEQFvruXKoDDSL5GrJsbDD5cSWdFNTSBGie4H0OQ1aVQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fMRx94Rw1/eTcMuxW6ReN/PIh9DG04l41T8Re0nTE2esBbSlvJubi06oafux3gLPN/2eDN+OYJCtuqKVfKicdJrvhS0My3hCW6nhN8qkKnsyhH0UIl14fv2MeRYjGDsz5DGiFuXUlkrqTC+2XheVQJfRzwY356dyoqDHdjfq4R8= Received: by 10.65.23.7 with SMTP id a7mr16203169qbj.79.1203509389048; Wed, 20 Feb 2008 04:09:49 -0800 (PST) Received: by 10.65.83.4 with HTTP; Wed, 20 Feb 2008 04:09:48 -0800 (PST) Message-ID: Date: Wed, 20 Feb 2008 13:09:48 +0100 From: "Claus Guttesen" To: "freebsd-performance@freebsd.org" In-Reply-To: <47BB33AD.1050005@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <27dbfc8c0802190243y113d3059yd0c602850a4dbd6b@mail.gmail.com> <47BB33AD.1050005@FreeBSD.org> Cc: freebsd-questions , Valerio Daelli Subject: Re: Bad performance of 7.0 nfs client with Solaris nfs server 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: Wed, 20 Feb 2008 12:09:51 -0000 > > 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): I have a solaris 9 nfs-server (on sparc) with som TB on HDS attached to it with two qlogic-hba's. These partitions are shared to our webservers via nfs, according to my mrtg-graph I get approx. 8 MB/s at peak. I can probably get more but the requirement is not there. With four-way-servers and FreeBSD 6.2 I had a read- and write-size of 8192. I ended up with this size by copying to and from the nfs-server until I didn't get "nfs server not responding; is alive again" message. Then I upgraded to FreeBSD 7.0 in October 2007 on a new eight-way-server I started to get "not responding; alive again" during load. So I decreased rw-size to the current 2048. When I decreased the size I also avoided another problem (by accident :-) ). When uploading images I sometimes saw ImageMagick's convert went into an (almost) infinite loop, comsuming 100 % cpu (on one core) until killed. Reducing the rw-size eliminated this issue. fstab-entry: my.nfs.server:/archive /archive nfs rw,nfsv3,-w=2048,-r=2048 0 0 I'm using udp-mounts, does not appear to change performance for my part. HTH. -- regards Claus When lenity and cruelty play for a kingdom, the gentlest gamester is the soonest winner. Shakespeare