Date: Tue, 17 Jul 2012 11:47:58 +0430 From: Hooman Fazaeli <hoomanfazaeli@gmail.com> To: "Alexander V. Chernikov" <melifaro@FreeBSD.org> Cc: Doug Barton <dougb@freebsd.org>, Luigi Rizzo <rizzo@iet.unipi.it>, net@freebsd.org Subject: Re: FreeBSD 10G forwarding performance @Intel Message-ID: <500511A6.9010808@gmail.com> In-Reply-To: <500452A5.3070501@FreeBSD.org> References: <4FF361CA.4000506@FreeBSD.org> <20120703214419.GC92445@onelab2.iet.unipi.it> <4FF36438.2030902@FreeBSD.org> <4FF3E2C4.7050701@FreeBSD.org> <4FF3FB14.8020006@FreeBSD.org> <4FF402D1.4000505@FreeBSD.org> <20120704091241.GA99164@onelab2.iet.unipi.it> <4FF412B9.3000406@FreeBSD.org> <20120704154856.GC3680@onelab2.iet.unipi.it> <4FF59955.5090406@FreeBSD.org> <20120706061126.GA65432@onelab2.iet.unipi.it> <500452A5.3070501@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 7/16/2012 10:13 PM, Alexander V. Chernikov wrote: > Old kernel from previous letters, same setup: > > net.inet.ip.fw.enable=0 > 2.3 MPPS > net.inet.ip.fw.update_counters=0 > net.inet.ip.fw.enable=1 > 1.93MPPS > net.inet.ip.fw.update_counters=1 > 1.74MPPS > > Kernel with ipfw pcpu counters: > > net.inet.ip.fw.enable=0 > 2.3 MPPS > net.inet.ip.fw.update_counters=0 > net.inet.ip.fw.enable=1 > 1.93MPPS > net.inet.ip.fw.update_counters=1 > 1.93MPPS > > Counters seems to be working without any (significant) overhead. > (Maybe I'm wrong somewhere?) > > Additionally, I've got (from my previous pcpu attempt) a small patch permitting ipfw to re-use rule map allocation instead of reallocating on every rule. This saves a bit of system time: > > loading 20k rules with ipfw binary gives us: > 5.1s system time before and 4.1s system time after. > > May be slightly off-topic, but do you have tested (or have plans to test ) with bidirectional traffic?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?500511A6.9010808>