From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JJxlR-0007fs-0j for garchives@archives.gentoo.org; Tue, 29 Jan 2008 21:13:05 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C8221E04F5; Tue, 29 Jan 2008 21:13:03 +0000 (UTC) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id B0EEBE04F5 for ; Tue, 29 Jan 2008 21:13:03 +0000 (UTC) Received: by py-out-1112.google.com with SMTP id w53so2562968pyg.25 for ; Tue, 29 Jan 2008 13:13:03 -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:user-agent:mime-version:to:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; bh=6sJ2932hpJO7FtLYYQKJIwaAVih6VDvmAr+vVCJ7vvs=; b=Kft9VFuCvS3y9chu9pq2zVYlxrT9Cy+ClDGXRuAoN3ZaZqsn66Ncf4DRgdg++SvYTpq3zczBtitVVp4TMLwT3k12iZzLvtQShyd8sUOV+cW5F9FP2hoZO3lt7vvpX/H+89+L9au0/0PqWiq+r+Vup+C0BQ8OZc3q6z+dk05kkjA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=F39khkYWPwAEJ0SRdFeEhzCNT78/CYHJ/KgYWpjyetsIP1wZHhvdMus1Pj6D5dthQfbBmnHKV/3q0lB6T3ti7XXa/i+5JC4RS8kSvXZgIAmqyZFwKv/Yy8eCykS5eWeQtCRGZfSo8Er9yShuLYQpk3dMEoUdpm1CPfYomtkLfGo= Received: by 10.64.156.2 with SMTP id d2mr15327150qbe.54.1201641182780; Tue, 29 Jan 2008 13:13:02 -0800 (PST) Received: from ?192.168.1.100? ( [68.114.95.159]) by mx.google.com with ESMTPS id e11sm6309694qbc.5.2008.01.29.13.13.01 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 29 Jan 2008 13:13:02 -0800 (PST) Message-ID: <479F96B4.8090400@gmail.com> Date: Tue, 29 Jan 2008 16:12:20 -0500 From: Eric Martin User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] NFS Server Tuning References: <200801242018.02309.Support@stonki.de> In-Reply-To: <200801242018.02309.Support@stonki.de> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: cac74a69-9180-43d8-b8b6-1d22e97e2d6e X-Archives-Hash: 7827f06ef97b5c293e6616b16acaadbc Stefan Onken wrote: > Hello, > > I am running a x86 gentoo box as a nfs server. As a filesystem I am > using XFS on a 3ware Raid system. > > The 3ware systems seems to be quite quick, although access via NFS > seems to be very slow. Any ideas how I can improve speed ? I was > expected a speed only limited by the 100 Mbit network. Now, the > speed is so slow, that reading/writing at the same time is nearly > impossible. > > Any ideas how to improve the speed ? > > hdparm on the gentoo box machine: > backup3 ~ # hdparm -tT /dev/sdb > /dev/sdb: > Timing cached reads: 4108 MB in 2.00 seconds = 2054.34 MB/sec > Timing buffered disk reads: 232 MB in 3.01 seconds = 77.09 MB/sec > > /etc/exports on the gentoo box: > /mnt/backup/ 192.168.1.0/24 > (rw,no_root_squash,async,no_subtree_check) > > I am not even able to run a bonnie benchmark on the client. It seems > to hang while doing rewriting. Running bonnie on the nfs server > gives a fast result. > > /etc/fstab on the client: > 192.168.1.3:/mnt/backup /mnt/backup nfs > rw,users,async 0 > > http://pastebin.com/m72ae9d47 > > Any ideas ? > I turned on tcp (vs. udp for nfs and I'm much happier. I have a mixed cat5 (100Mbps) vs 802.11G(54Mbps) network. YMMV but it's worth a shot. I'm streaming mp3s over it, my home directories and mythtv. HTH -eric -- gentoo-user@lists.gentoo.org mailing list