From owner-freebsd-performance@FreeBSD.ORG Mon Jun 9 12:34:51 2003 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B442737B401 for ; Mon, 9 Jun 2003 12:34:51 -0700 (PDT) Received: from otter3.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED3D743FAF for ; Mon, 9 Jun 2003 12:34:50 -0700 (PDT) (envelope-from anderson@centtech.com) Received: from centtech.com (electron.centtech.com [204.177.173.173]) by otter3.centtech.com (8.12.3/8.12.3) with ESMTP id h59JYo56037292 for ; Mon, 9 Jun 2003 14:34:50 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <3EE4E156.6030603@centtech.com> Date: Mon, 09 Jun 2003 14:34:46 -0500 From: Eric Anderson User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-performance@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Slow disk write speeds over network X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2003 19:34:52 -0000 Ok, I have a file server (NFS) running FreeBSD 4.8-RC1, which is having incredibly slow disk write speeds. Locally, doing something like: dd if=/dev/zero of=/partition/testfile Shows 14MB/s - which is what I expect.. However, ftping a file or cp'ing over NFS shows speeds less than 1MB/s - which is not what I would expect - it's got gigabit ethernet, and has very fast read times (via ftp or nfs) over the network. After looking around, I noticed (when doing a systat -vmstat), that the vnode information looked a little strange.. like so: 54120 desiredvnodes 49163 numvnodes 35903 freevnodes Shouldn't I have a higher "numvnodes" than "desiredvnodes"? What else am I missing here? I have built many FreeBSD NFS file servers, and this is the first time I've had a slow one. I suspect maybe a sysctl tweak I bumped upon building the machine, or possibly something I didn't tweak. Any hints? Eric -- ------------------------------------------------------------------ Eric Anderson Systems Administrator Centaur Technology Attitudes are contagious, is yours worth catching? ------------------------------------------------------------------