From owner-freebsd-net@FreeBSD.ORG Tue Apr 19 13:55:34 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02E0E106566B; Tue, 19 Apr 2011 13:55:34 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 53BB88FC13; Tue, 19 Apr 2011 13:55:32 +0000 (UTC) Received: by fxm11 with SMTP id 11so4611488fxm.13 for ; Tue, 19 Apr 2011 06:55:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:mime-version:content-type:from :in-reply-to:date:cc:message-id:references:to:x-mailer; bh=hy9KP/7D/e0ejiQ7Xct0MSeAVtQ8y4i9sypC7YWHqoA=; b=yA8sloes2vb6ABfOSXPEZGZyvKHaFwaZJuH3bo6VH71oe6olmVZPlhciBn+fl0tvIn S1I+Sjvku24WZxlmr/vpRRQnAK/OosygdUvQOdcsYdQWunwPPuPWxF5WmPzs1y/kRZdX SbUtpPPbCjTfEODsYHnbhryErtLccS+sDBCR0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to:x-mailer; b=LJ3lRfDVustyr0Q57jlXcOeFA7a+gwte0A5VEC8Ky1ILO0lB9r/4qDX2qWlDOwhlzJ PcLxVBNPbUQXi195g9D5DXhsdrPQ+imw6CsZOk/zbj94xMV/l0IVr7wTGl/zct4eTpCq li4zgRay15CJs3SkzRV6V/HWBEjZP0NuFzzSg= Received: by 10.223.155.140 with SMTP id s12mr874619faw.63.1303221331897; Tue, 19 Apr 2011 06:55:31 -0700 (PDT) Received: from ndenevsa.sf.moneybookers.net (g1.moneybookers.com [217.18.249.148]) by mx.google.com with ESMTPS id b18sm1942923fak.8.2011.04.19.06.55.28 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 19 Apr 2011 06:55:29 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1084) From: Nikolay Denev In-Reply-To: Date: Tue, 19 Apr 2011 16:55:27 +0300 Message-Id: References: To: K. Macy X-Mailer: Apple Mail (2.1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-net@freebsd.org, Ingo Flaschberger Subject: Re: Routing enhancement - reduce routing table locking 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: Tue, 19 Apr 2011 13:55:34 -0000 On Apr 18, 2011, at 8:59 PM, K. Macy wrote: > It occurred to me that I should add a couple of qualifications to the > previous statements. 1.6Mpps is line rate for GigE and I only know of > it to be achievable by igb hardware. The most I've seen em hardware > achieve is 1.1Mpps. Furthermore, in order to achieve that you would > have to enable IFNET_MULTIQUEUE in the driver, because by default the > driver uses the traditional (slow) IFQ as opposed overloading > if_transmit and doing its own queueing when needed. Support for > efficient multi-queue software queueing is provided by buf_ring, a > lock-free multi-producer ring buffer written just for this purpose. >=20 > Thus, the fairly low transmit rate may be attributable to driver = locking. >=20 > Cheers Hi, I'm not able to find IFNET_MULTIQUEUE in a recent 8.2-STABLE, is this = something present only in HEAD? Regards, Nikolay=