From owner-freebsd-hardware@FreeBSD.ORG Sat Sep 29 01:31:48 2007 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5248B16A41B for ; Sat, 29 Sep 2007 01:31:48 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.235]) by mx1.freebsd.org (Postfix) with ESMTP id DF49613C461 for ; Sat, 29 Sep 2007 01:31:47 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by wr-out-0506.google.com with SMTP id 70so1419808wra for ; Fri, 28 Sep 2007 18:31:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=Mmsz4rkj5s7D+eMkXKp0n4hLiZn9ey7hNpeiRFlwEds=; b=U/DW4BYSYxepmMupmpnHvFmpzjHtc2hqJhtE/AmGUZCNF5IeqB9Ibh0hwryTgTjY97kSHCrtXPQSZkZVFD3hWKNx5R8b1x06xDpA7siCfcILRVMOU4UxQ9/5zby7Ym4FAnOakHcZXStD4Go2BJlXJm6rN9CL2X1xAwbab9S7Olg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=nRHgf7kGAtd8B7LAv43X44mxuBHlTzlFjzQlyfS99l4veLlp3MvIZ6+M4snzwYZkk27ShtNu9+DMn5vc8+ll+vNi7hL2RgDjFkn6E53oT2Th03glosGUGcXOE8CoJznKCBGqU2WFz4gdQaX/5i7imsvodtIjlPX4mKDSAoaQg/k= Received: by 10.114.146.1 with SMTP id t1mr1118169wad.1191029506353; Fri, 28 Sep 2007 18:31:46 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTPS id n38sm6659523wag.2007.09.28.18.31.42 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 28 Sep 2007 18:31:45 -0700 (PDT) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id l8T1S2DY011564 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 29 Sep 2007 10:28:02 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id l8T1S2Fu011563; Sat, 29 Sep 2007 10:28:02 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Sat, 29 Sep 2007 10:28:01 +0900 From: Pyun YongHyeon To: Chris Message-ID: <20070929012801.GA11457@cdnetworks.co.kr> References: <3aaaa3a0709231657r3264c873ife71800731608b03@mail.gmail.com> <20070924020116.GA36909@eos.sc1.parodius.com> <3aaaa3a0709240844j2603a050nd09bb5482a0f3c21@mail.gmail.com> <20070927065155.GE3692@cdnetworks.co.kr> <3aaaa3a0709271030k24892099ra3409ce6f5f7020f@mail.gmail.com> <20070928000656.GA7119@cdnetworks.co.kr> <3aaaa3a0709281105g1503fdbcu70910de6eae060a0@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3aaaa3a0709281105g1503fdbcu70910de6eae060a0@mail.gmail.com> User-Agent: Mutt/1.4.2.1i Cc: FreeBSD Stable , freebsd-hardware@freebsd.org Subject: Re: nfe driver 6.2 stable X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Sep 2007 01:31:48 -0000 On Fri, Sep 28, 2007 at 07:05:35PM +0100, Chris wrote: > On 28/09/2007, Pyun YongHyeon wrote: > > On Thu, Sep 27, 2007 at 06:30:20PM +0100, Chris wrote: > > > On 27/09/2007, Pyun YongHyeon wrote: > > > > On Mon, Sep 24, 2007 at 04:44:09PM +0100, Chris wrote: > > > > [...] > > > > > > > > > The card is more stable when using nve driver no crashes still but the > > > > > performance is around the same maxing out at around 200mbit. I was > > > > > expecting nearer 400-500mbit. > > > > > > > > > > e1000phy0: on miibus0 > > > > > > > > > > > > > There had been issues nfe(4) with 88E1116/88E1149 PHYs but your issue > > > > seems to be different one. How about manually set media configuration? > > > > For example, "ifconfig nfe0 media 1000baseTX mediaopt full-duplex" > > > > > > > > [...] > > > > > > > > I typod I meant to say nve was unstable and nfe has been rock solid so > > > great work with the driver. I enabled mpsafe now and still no > > > problems and its gave me a little more performance as well, a shame my > > > nic has no hardware features (unusual for a gigabit nic) but overall > > > glad its at least stable. > > > > > > > How did you check network performance? > > Maxing out at around 200Mbps seems weird. Personally, I had never seen > > GigE hardwares that saturate at 200Mbps. One of causes I can think of > > is speed/duplex mismatches with link partner. Manually setting > > speed/duplex might fix your performance issue, I guess. > > > > -- > > Regards, > > Pyun YongHyeon > > > > These are ftp transfers it is running on a amd62 x2 dual core > processor and gig of ram, when at max speed cpu usage is very high in > excess of 80% but not completely maxed out. It now seems to be able > to sustain around 30meg/sec the highest I have seen I havent done any > other testing so if you have a better way it would be good to know ftp transfers involve disk activities so you're not measuring NIC performance. Try one of benchmark programs in ports/benchmarks (e.g. netperf, iperf, ttcp etc). ATM nfe(4)'s interrupt moderation mechanism doesn't seem to work at all so nfe(4) generates too many interrupts. However I don't think it wouldn't be major bottleneck of the performance. > thanks. Please bare in mind I have no local access to the server so > crashing it eg. is expensive for as will have to pay for a kvm switch > netstat -i indicates no collisions for a duplex mismatch so not keen > on trying a manual negotiotian again for reasons above. So even for a > card with no hardware features you would expect it to exceed 200mbit > easily? > Yes. You have a gigabit ethernet controller and fast CPU. Run one of benchmark programs and get a number. > I havent enabled net isr setting I wonder if that will help. > That wouldn't help a lot, I guess. > Chris -- Regards, Pyun YongHyeon