From owner-freebsd-net@FreeBSD.ORG Fri Jan 13 23:11:50 2012 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 972C3106564A for ; Fri, 13 Jan 2012 23:11:50 +0000 (UTC) (envelope-from luigi@onelab2.iet.unipi.it) Received: from onelab2.iet.unipi.it (onelab2.iet.unipi.it [131.114.59.238]) by mx1.freebsd.org (Postfix) with ESMTP id 57A288FC0C for ; Fri, 13 Jan 2012 23:11:50 +0000 (UTC) Received: by onelab2.iet.unipi.it (Postfix, from userid 275) id A64D77300A; Sat, 14 Jan 2012 00:10:48 +0100 (CET) Date: Sat, 14 Jan 2012 00:10:48 +0100 From: Luigi Rizzo To: "Vladislav V. Prodan" Message-ID: <20120113231048.GA30302@onelab2.iet.unipi.it> References: <4F109F79.5090406@ukr.net> <20120113221548.GA18199@michelle.cdnetworks.com> <4F10B1B3.6090908@ukr.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4F10B1B3.6090908@ukr.net> User-Agent: Mutt/1.4.2.3i Cc: pyunyh@gmail.com, net@freebsd.org Subject: Re: Lack of performance re0 (RTL8111/8168B) 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: Fri, 13 Jan 2012 23:11:50 -0000 On Sat, Jan 14, 2012 at 12:35:31AM +0200, Vladislav V. Prodan wrote: > 14.01.2012 0:15, YongHyeon PYUN wrote: > > On Fri, Jan 13, 2012 at 11:17:45PM +0200, Vladislav V. Prodan wrote: > >> > >> Tell me, what a performance in pps a network card RTL8111/8168B? > >> Can I somehow increase it? > >> Experimentally, since it begins to fall off 80Kpps: ( > >> > > > > RX performance number will show much better than that but TX is > > major bottleneck of controller. I tried hard to enhance TX > > performance for the controller but I'm under the impression that > > that number would be the maximum(around 90Kpps) and this is also > > similar number what I got on Linux. > > Given that re(4) controllers are for non-server grade systems I > > wouldn't be surprised to see that number. If you need higher pps, > > choose controllers targeted for servers. Alternatively, low cost > > controllers from JMicron/Atheros also show decent TX/RX > > performance numbers. > > That's why I would like to get some numerical limitations of the > controller re (4). my experience with netmap is that my re cards on PCIe bus can do over 1Mpps in receive (don't rember the exact number), but only about 400-450Kpps in tx. At least on the tx path i got approximately the same speed with the netsend program (in tools/tools/netrate/netsend). cheers luigi