From owner-freebsd-current@FreeBSD.ORG Mon Sep 20 20:52:00 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F0CB816A4CE for ; Mon, 20 Sep 2004 20:52:00 +0000 (GMT) Received: from mail.vicor-nb.com (bigwoop.vicor-nb.com [208.206.78.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 216B143D48 for ; Mon, 20 Sep 2004 20:52:00 +0000 (GMT) (envelope-from julian@elischer.org) Received: from elischer.org (julian.vicor-nb.com [208.206.78.97]) by mail.vicor-nb.com (Postfix) with ESMTP id AD3BA7A3D2; Mon, 20 Sep 2004 13:51:59 -0700 (PDT) Message-ID: <414F42EF.1000902@elischer.org> Date: Mon, 20 Sep 2004 13:51:59 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030516 X-Accept-Language: en, hu MIME-Version: 1.0 To: Sascha Holzleiter References: <1095681918.79469.11.camel@area51.cc-web.ma.schlund.de> In-Reply-To: <1095681918.79469.11.camel@area51.cc-web.ma.schlund.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: current@freebsd.org Subject: Re: RELENG_5 nfs performance X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Sep 2004 20:52:01 -0000 Make sure that the NIC is configured manually with th eright speed. e.g. ifconfig vr0 media 100BaseT mediaopt full-duplex automatic selection often produces problems like this.. Sascha Holzleiter wrote: >Hi, > >I just installed a new system with 5.2.1 which shall serve as a NFS >server. While testing the performance of the system was VERY slow. > >I could read from the server with about 500KB/s and write to it with >3,5MB/s on a 100MBit link. > >copying from the server: > vr0 in 9.138 KB/s 26.394 KB/s 304.019 MB > out 505.639 KB/s 505.639 KB/s 1.236 GB > >copying to the server: > vr0 in 3.219 MB/s 3.219 MB/s 377.028 MB > out 79.540 KB/s 79.540 KB/s 1.248 GB > >I then upgraded to 5.3-BETA4 which gives me the same results. > >Is there anything I'm missing here? The system is Athlon UP system with >a via-rhine network card. I tried to set various sysctls e.g. >vm.old_msync=1 and debug.mpsafenet=0 which did not help. > >One strange thing was that after some reboots I got once a rate of 9MB/s >but after the next reboot this was gone :) > >Using FTP for data transport the rate is around 10Mb/s which is quite >normal so this seems to be no NIC issue. > > > >