From owner-freebsd-net@FreeBSD.ORG Tue Sep 30 18:33:33 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 41D067EC for ; Tue, 30 Sep 2014 18:33:33 +0000 (UTC) Received: from mail-lb0-x22f.google.com (mail-lb0-x22f.google.com [IPv6:2a00:1450:4010:c04::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A8FBA7B2 for ; Tue, 30 Sep 2014 18:33:32 +0000 (UTC) Received: by mail-lb0-f175.google.com with SMTP id u10so5091138lbd.34 for ; Tue, 30 Sep 2014 11:33:30 -0700 (PDT) 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=9MyqWwXmSkiqbdaLfId1HA58cpvr/67CodtjKmFRgcc=; b=wZ3ib8CgmEOjznR57XR0IQHYjqq5VJwvpl+fSh682Dp7AR4YkWTt4hO1BxqhPScEsX z/iY6/SDlyN8SO/QNYgdVZuGlfvC5WzlzV+GbXo520tLQdmLDZFk1wQCtWbBJ/voxVo3 x+gZD+lBBoss3J9xSVhMK+fhVtxgvpTv4oZ1TG6fMtRP7EwaFIYsEwx6xocYjUzV61DM /lLSlpGU+DPR3W/cnUlQZWO78+C/llBf3/qvmDqfCiT50vx3ioY2bd3oKMW5fIbGWnty ji6M1lAPGhhzM6ndljCTH3xxCBg7aN/+wT67Q0IkiL7+TNTVf2MXouVR3bnRdDTIBYFl sSwg== MIME-Version: 1.0 X-Received: by 10.112.72.10 with SMTP id z10mr17924717lbu.87.1412102010501; Tue, 30 Sep 2014 11:33:30 -0700 (PDT) Sender: rizzo.unipi@gmail.com Received: by 10.114.26.37 with HTTP; Tue, 30 Sep 2014 11:33:30 -0700 (PDT) In-Reply-To: <542AF42B.60206@bsdinfo.com.br> References: <542AF42B.60206@bsdinfo.com.br> Date: Tue, 30 Sep 2014 20:33:30 +0200 X-Google-Sender-Auth: uttLRZUgw67vwJn06IyLPYm_QJ8 Message-ID: Subject: Re: Will netmap-ipfw fwd? From: Luigi Rizzo To: Marcelo Gondim Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-net@freebsd.org" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 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, 30 Sep 2014 18:33:33 -0000 On Tue, Sep 30, 2014 at 8:19 PM, Marcelo Gondim wrote: > On 30/09/2014 13:49, Luigi Rizzo wrote: > >> Should work. >> Please try the latest version from code.google.com/p/netmap-ipfw/ >> >> Cheers >> Luigi >> > > Hi Luigi, > > The netmap-ipfw be included in the FreeBSD 10.1 final? > =E2=80=8Bno it is out of the tree. it's a userspace application anyways, so easy to build cheers luigi =E2=80=8B > > Cheers, > Gondim > > >> On Tuesday, September 30, 2014, Eduardo Meyer >> wrote: >> >> I have a problem, where I need to fwd a high rate of pps, and I dont ha= ve >>> enough CPU. It's around 900Kpps, so I would like to know if ipfw userla= nd >>> version with netmap support will do fwd? >>> >>> Here are my current rules: >>> >>> 00100 fwd 10.1.2.1 tag tcp from table(100) to any dst-port 80,1024-6553= 5 >>> in >>> { via lagg0 or via vlan1010 } >>> >>> 00200 prob 0.500000 fwd 10.1.2.2 tcp from any 80,1024-65535 to >>> table(100) >>> in { via igb6 or via igb7 } >>> 00300 fwd 10.1.2.3 tcp from any 80,1024-65535 to table(100) in { via ig= b6 >>> or via igb7 } >>> >>> With those rules, my CPU interrupt rate raises from 30% to 80%. >>> >>> If netmap/ipfw has the ability to fwd should I expect a better interrup= t >>> rate and lower load? >>> >>> Sorry to ask before actually trying but this is a production environmen= t >>> and I don't have enough room to test, I would like to read opinions >>> before >>> finding out a nightly window to do the changes and tests. >>> >>> Thank you. >>> >>> -- >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>> Eduardo Meyer >>> pessoal: dudu.meyer@gmail.com >>> profissional: ddm.farmaciap@saude.gov.br >>> _______________________________________________ >>> >> > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > --=20 -----------------------------------------+------------------------------- Prof. Luigi RIZZO, rizzo@iet.unipi.it . Dip. di Ing. dell'Informazione http://www.iet.unipi.it/~luigi/ . Universita` di Pisa TEL +39-050-2211611 . via Diotisalvi 2 Mobile +39-338-6809875 . 56122 PISA (Italy) -----------------------------------------+-------------------------------