From owner-freebsd-amd64@FreeBSD.ORG Thu Oct 13 17:02:16 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CBA6A16A428 for ; Thu, 13 Oct 2005 17:02:16 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from mv.twc.weather.com (mv.twc.weather.com [65.212.71.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 409CD43D45 for ; Thu, 13 Oct 2005 17:02:16 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from [10.50.41.234] (Not Verified[10.50.41.234]) by mv.twc.weather.com with NetIQ MailMarshal (v6, 0, 3, 8) id ; Thu, 13 Oct 2005 13:18:37 -0400 From: John Baldwin To: freebsd-amd64@freebsd.org, sean@mcneil.com Date: Thu, 13 Oct 2005 11:49:23 -0400 User-Agent: KMail/1.8.2 References: <6.2.3.4.0.20051013090818.07a5c9a0@64.7.153.2> <1129216390.8681.6.camel@server.mcneil.com> In-Reply-To: <1129216390.8681.6.camel@server.mcneil.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200510131149.24411.jhb@freebsd.org> Cc: Mike Tancsa Subject: Re: realtek performance (was Re: good ATI chipset results) X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Oct 2005 17:02:17 -0000 On Thursday 13 October 2005 11:13 am, Sean McNeil wrote: > On Thu, 2005-10-13 at 09:17 -0400, Mike Tancsa wrote: > > Havent really seen anyone else use this board, but I have had good > > luck with it so far > > > > http://www.ecs.com.tw/ECSWeb/Products/ProductsDetail.aspx?DetailID=506&Me > >nuID=90&LanID=0 > > > > Its a micro ATX formfactor with built in video and the onboard NIC is > > a realtek. (Although its not the fastest NIC, its driver is stable > > and mature-- especially compared to the headaches people seem to have > > with the NVIDIA NICs.) > > Is this the RealTek 8169S Single-chip Gigabit Ethernet? > > For those interested, here are some changes I always use to increase the > performance of the above NIC. With these mods, I can stream over 20 > MBps video multicast and do other stuff over the network without issues. > Without the changes, xmit is horrible with severe UDP packet loss. So, I see two changes. One is to up the number of descriptors from 32 rx and 64 tx to 64 rx and 64 tx on some models and 1024 rx and 1024 tx on other modules. The other thing is that you seem to pessimize TX performance by always forcing the send packets to be coalesced into one mbuf (which requires doing an alloc and then copying all of the data) instead of making use of scatter/gatter for sending packets. Do you need both changes or do just the higher descriptor counts make the difference? -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org