From owner-freebsd-current@freebsd.org Mon Feb 22 12:58:19 2016 Return-Path: Delivered-To: freebsd-current@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 3C0C4AB0ECA for ; Mon, 22 Feb 2016 12:58:19 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F027F15BB for ; Mon, 22 Feb 2016 12:58:18 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from slw by zxy.spb.ru with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1aXpNX-000785-RW; Mon, 22 Feb 2016 15:14:15 +0300 Date: Mon, 22 Feb 2016 15:14:15 +0300 From: Slawa Olhovchenkov To: Luigi Rizzo Cc: freebsd-current Subject: Re: three new netmap tools: pcap player, link emulator, load distributor Message-ID: <20160222121415.GG37895@zxy.spb.ru> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2016 12:58:19 -0000 On Sun, Feb 21, 2016 at 10:18:36AM -0800, Luigi Rizzo wrote: > lb > a packet distributor that reads from a netmap port and distributes > traffic to multiple netmap ports, using ze​ro copy and a user-defined > hash function. This will be useful e.g. for people running multiple > instances of traffic monitors such as bro, suricata and the like. > It is not by chance that LB was originally developed by Seth Hall > at Broala, who kindly made it available, and Giuseppe Lettieri who > added a few features. Do you performance test of this tool? In my case, on my hardware similar code can rehash and forward only about 6.5Mpps in one thread.