From owner-freebsd-net@FreeBSD.ORG Wed Aug 30 18:42:03 2006 Return-Path: X-Original-To: freebsd-net@FreeBSD.org Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E368516A4E0 for ; Wed, 30 Aug 2006 18:42:03 +0000 (UTC) (envelope-from mohan_srinivasan@yahoo.com) Received: from web30807.mail.mud.yahoo.com (web30807.mail.mud.yahoo.com [68.142.200.150]) by mx1.FreeBSD.org (Postfix) with SMTP id 3D7C143D6E for ; Wed, 30 Aug 2006 18:42:03 +0000 (GMT) (envelope-from mohan_srinivasan@yahoo.com) Received: (qmail 4495 invoked by uid 60001); 30 Aug 2006 18:42:02 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=4PLOylMSP1sbrQ7NwQqJJww5NNJhT67cUPMHt0UJ4teHvBPT97y1yPUJIJWfcYfC3uV77SxJM02AN/i/EZPwufIgWMmo5fgIW1m6/peFhIJ4PR+lmmpoK70NuMrc1BlnazMdHUQSjUk4kxg7DjQsqIT2j4xV/Xe6ZZMSZneIMu0= ; Message-ID: <20060830184202.4488.qmail@web30807.mail.mud.yahoo.com> Received: from [71.139.4.73] by web30807.mail.mud.yahoo.com via HTTP; Wed, 30 Aug 2006 11:42:02 PDT Date: Wed, 30 Aug 2006 11:42:02 -0700 (PDT) From: Mohan Srinivasan To: Danny Braniss , freebsd-stable@FreeBSD.org, freebsd-net@FreeBSD.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: Subject: Re: tcp/udp performance X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Aug 2006 18:42:04 -0000 Hi, 1) Have you made sure there are no NFS rexmits reported by nfsstat -c ? 2) I haven't run thruput tests lately, but when I tested NFS/UDP thruput a few months ago, I routinely got over 70MB/s sequential read thruput and over 80MB/s sequential write thruput (against filers). I used 32KB blocksizes. -current improves upon this significantly, by about 25%-30%. Send me private e-mail and we can discuss NFS client tunings. mohan --- Danny Braniss wrote: > > ever since 6.1 I've seen fluctuations in the performance of > the em (Intel(R) PRO/1000 Gigabit Ethernet). > > motherboard OBN (On Board NIC) > ---------------- ------------------ > 1- Intel SE7501WV2S Intel 82546EB::2.1 > 2- Intel SE7320VP2D2 INTEL 82541 > 3- Sun Fire X4100 Server Intel(R) PRO/1000 > > test 1: writing to a NetApp filer via NFS/UDP > FreeBSD Linux > MegaBytes/sec > 1- Average: 18.48 32.61 > 2- Average: 15.69 35.72 > 3- Average: 16.61 29.69 > (interstingly, doing NFS/TCP instead of NFS/UDP shows an increase in speed of > around 60% on FreeBSD but none on Linux) > > test2: iperf using 1 as server: > FreeBSD(*) Linux > Mbits/sec > 1- 926 905 (this machine was busy) > 2- 545 798 > 3- 910 912 > *: did a 'sysctl net.inet.tcp.sendspace=65536' > > > So, it seems to me something is not that good in the UDP department, but > I can't find what to tweek. > > Any help? > > danny > > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >