From owner-freebsd-net@freebsd.org Wed Jun 14 15:21:41 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 23DFBB945B9 for ; Wed, 14 Jun 2017 15:21:41 +0000 (UTC) (envelope-from olivier@freebsd.org) Received: from smtp.smtpout.orange.fr (smtp01.smtpout.orange.fr [80.12.242.123]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "Bizanga Labs SMTP Client Certificate", Issuer "Bizanga Labs CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 646FF68024 for ; Wed, 14 Jun 2017 15:21:39 +0000 (UTC) (envelope-from olivier@freebsd.org) Received: from mail-yw0-f172.google.com ([209.85.161.172]) by mwinf5d53 with ME id YfMV1v00V3jUb6x03fMWeR; Wed, 14 Jun 2017 17:21:31 +0200 X-ME-Helo: mail-yw0-f172.google.com X-ME-Auth: Y29jaGFyZC1sYWJiZS5vbGl2aWVyQG9yYW5nZS5mcg== X-ME-Date: Wed, 14 Jun 2017 17:21:31 +0200 X-ME-IP: 209.85.161.172 Received: by mail-yw0-f172.google.com with SMTP id v7so1746546ywc.2 for ; Wed, 14 Jun 2017 08:21:30 -0700 (PDT) X-Gm-Message-State: AKS2vOy4RR3QQzMUhQUl/pVwiwP6GCtrhIfepjZgQCLCA6xBjABhwNCZ UdCKfYsL7e1VWfznFPLjpv2oHhyHXA== X-Received: by 10.129.107.69 with SMTP id g66mr550937ywc.121.1497453689354; Wed, 14 Jun 2017 08:21:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.52.78 with HTTP; Wed, 14 Jun 2017 08:21:08 -0700 (PDT) In-Reply-To: References: From: =?UTF-8?Q?Olivier_Cochard=2DLabb=C3=A9?= Date: Wed, 14 Jun 2017 17:21:08 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: state of packet forwarding in FreeBSD? To: John Jasen Cc: FreeBSD Net Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 14 Jun 2017 15:21:41 -0000 On Wed, Jun 14, 2017 at 4:48 PM, John Jasen wrote: > > b) On the negative side, between the various releases, netmap appeared > to be unstable with the Chelsio cards -- sometimes supported, sometimes > broken. Also, we're still trying to figure out netmap utilities, such as > vale-ctl and bridge, so any advice would be appreciated. > I confirm that mixing netmap and Chelsio is broken on -current since about= =E2=80=8B =E2=80=8B6 month. We can't start 2 netmap's pkt-gen simultaneously as example. cf my report: https://lists.freebsd.org/pipermail/svn-src-head/2016-December/094418.html =E2=80=8B > > b.1) netmap-fwd is admittedly single-threaded and does not support IPv6. > These clearly showed in our tests, as we were unable to achieve over 2.5 > mpps, saturating a single CPU and letting the others fall asleep. > However, bumping a single CPU queue from around 0.6 mpps to 2.5 mpps is > nothing to ignore, so it could be useful in some cases. > =E2=80=8BSoftwares using netmap are not easy to use: - netmap-ipfw (https://github.com/Netgate/netmap-fwd) was not updated since dec 2015. - And I don't reach to compile netmap-ipfw too ( https://github.com/luigirizzo/netmap-ipfw). =E2=80=8B > c) The routing improvement project USB stick performed incredibly, > achieving 8.5 mpps out of the box. However, it appears > (https://wiki.freebsd.org/ProjectsRoutingProposal/ConversionStatus), > that many of the changes are still pending review, and that things have > not moved much in the last 18 months > (https://svnweb.freebsd.org/base/projects/routing/) > =E2=80=8B Yes, this projects/routing still give the best performance after 18 months, but the maintainer didn't have time to works on FreeBSD since. Then for resuming: there are 3 alpha-stage but very promising projects, but they seems stuck because not enough manpower for finishing them. Regards,