From owner-freebsd-current@freebsd.org Tue Feb 23 00:01:51 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 6E178AAF6D8 for ; Tue, 23 Feb 2016 00:01:51 +0000 (UTC) (envelope-from rizzo.unipi@gmail.com) Received: from mail-lb0-x236.google.com (mail-lb0-x236.google.com [IPv6:2a00:1450:4010:c04::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 130911DE2 for ; Tue, 23 Feb 2016 00:01:50 +0000 (UTC) (envelope-from rizzo.unipi@gmail.com) Received: by mail-lb0-x236.google.com with SMTP id bc4so91689852lbc.2 for ; Mon, 22 Feb 2016 16:01:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=H9+Zv5169drCP77xfISNev8f2lokF28V/adYMwDmy9Q=; b=aPPe1p6lyELmp9fdnpdFr6ERLoiICP/EJe3WrbNrlTDLQqWDvWD0hQl1wUnadbzXfE dos0LDDwUw1JtWduRg/XHx2CR3a1M+41mpLDnaXuVw1jjf0bLbdLcHNop9sn0a+hjS76 OHi5oS6p9Psg/VOF+bIAcJ6aVx6TWvTEjBKzhNzghnAxsevsXGaMjc5O+xqOmZRSzE18 G30V4yPpUm9FIpSpmCNY0ErjWpYc4It3gN7V/5Gc9068lWab+SFPHc4cnsDmUcSdK5jh FRR1rKf/MBTQDw2HyJsq922/DxDg5gLPDy/vlZ92f4gu3rL6+jzwEVTRwKdoxi3tpoTf 9ksQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=H9+Zv5169drCP77xfISNev8f2lokF28V/adYMwDmy9Q=; b=guVbEnzyRU2GD+UbQ3wojB6vlVP85m9Ggl0jB5K1+41PaD714XPXj0lDOpX2cvC+ia FBV9yMcX9RdpBas4Na/4J8IXDaPeSLPkzNIiI0JRdEK4nDBC/tLgtbuUcMHf9zdiG30R e3nEOmlF0oazVWsV77ZS13BEdZ2lZzJ43bYjKOOibv84INjUzb/ZPjteOn6Teu85gO1o 6egTWE2qFxQSU1W4g3eZx/W65CiswVeWVD3TCDjTx8yYA4WPUMuTd+Q5rTZVSOyJlx+Z S8SZupU0Wh7KoSXpBzTeP/co1m7S0yixgdnuySzPhW084MUdWDipDZSknXks5PJQCQKz Oxzg== X-Gm-Message-State: AG10YOSwFGRjKkOJ4jI+nnqwPmpS4phqkOIEp01/ptqT2jb973eIenuYhwa39uFuDCfeCXq+/GbiZ222h/i8Ig== MIME-Version: 1.0 X-Received: by 10.112.158.65 with SMTP id ws1mr10867141lbb.86.1456185708454; Mon, 22 Feb 2016 16:01:48 -0800 (PST) Sender: rizzo.unipi@gmail.com Received: by 10.114.184.146 with HTTP; Mon, 22 Feb 2016 16:01:48 -0800 (PST) In-Reply-To: <20160222235502.GT68298@zxy.spb.ru> References: <20160222121415.GG37895@zxy.spb.ru> <20160222181603.GR68298@zxy.spb.ru> <20160222235502.GT68298@zxy.spb.ru> Date: Mon, 22 Feb 2016 16:01:48 -0800 X-Google-Sender-Auth: gszMdNI_ToW8IVPiVFBXYAmXjyA Message-ID: Subject: Re: three new netmap tools: pcap player, link emulator, load distributor From: Luigi Rizzo To: Slawa Olhovchenkov Cc: freebsd-current Content-Type: text/plain; charset=UTF-8 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: Tue, 23 Feb 2016 00:01:51 -0000 On Mon, Feb 22, 2016 at 3:55 PM, Slawa Olhovchenkov wrote: > On Mon, Feb 22, 2016 at 02:40:15PM -0800, Luigi Rizzo wrote: >> please try now. > > compiled, ok. > and i need wrote some apps for forwarding from pipes to output > interface? just use multiple pkt-gen in read mode on the outputs, and perhaps one pkt-gen in tx mode with a range of addresses on the input > > PS: sorry for mislead, 6.5Mpps for me for next flow: > > physical => rehasher_rhasher => output > v ^ > dummy workers > > i.e. 6.5Mpss input traffic, rehasher passthrough every packet twice. i suppose it does a copy so it is not the same thing as lb. In any case as I said, "similar" functionality does not imply similar performance (and in your case, functionality is also different). cheers luigi -- -----------------------------------------+------------------------------- Prof. Luigi RIZZO, rizzo@iet.unipi.it . Dip. di Ing. dell'Informazione http://www.iet.unipi.it/~luigi/ . Universita` di Pisa TEL +39-050-2217533 . via Diotisalvi 2 Mobile +39-338-6809875 . 56122 PISA (Italy) -----------------------------------------+-------------------------------