Date: Fri, 26 Apr 2013 21:50:17 +0200 From: Kajetan Staszkiewicz <vegeta@tuxpowered.net> To: Erich Weiler <weiler@soe.ucsc.edu> Cc: freebsd-net@freebsd.org Subject: Re: pf performance? Message-ID: <201304262150.17215.vegeta@tuxpowered.net> In-Reply-To: <201304260021.11209.vegeta@tuxpowered.net> References: <5176E5C1.9090601@soe.ucsc.edu> <517974DA.5090809@soe.ucsc.edu> <201304260021.11209.vegeta@tuxpowered.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Dnia pi=C4=85tek, 26 kwietnia 2013 o 00:21:11 Kajetan Staszkiewicz napisa= =C5=82(a): > > > How do you count the 140kpps value? One interface, both, in, out? I'd > > > like to relate this somehow to my values. > >=20 > > Well, generally we see 80kpps rx and 40kpps tx. But I have seen the rx > > spike to 150kpps occasionally. >=20 > Unfortunately at this moment I have no single machine with such traffic, > although maybe I can aggregate some traffic later and check the cpu usage > then. OK, got my CPU usage for 30/40kpps, 55/340Mbit/s (public side, in/out). CPU is 4-core E5540 @ 2.53GHz with HT disabled. Cpu usage looks more or less like this: CPU 0: 0.0% user, 0.0% nice, 0.4% system, 3.9% interrupt, 95.7% idle CPU 1: 0.0% user, 0.0% nice, 1.2% system, 18.1% interrupt, 80.7% idle CPU 2: 0.0% user, 0.0% nice, 1.6% system, 5.5% interrupt, 92.9% idle CPU 3: 0.0% user, 0.0% nice, 0.8% system, 26.8% interrupt, 72.4% idle Public network card is pinned to cpu 2, internal to cpu 3, each card has on= ly a=20 single irq. Netisr threads are limited to cpu 0 and 1, I use deferred netis= r.=20 So yes, I have 2x less pps than you, but also I have quite a slower cpu and= =20 there still seems to be much cpu power left. How many interrupts/s do you have? What about the number of states? =2D-=20 | pozdrawiam / greetings | powered by Debian, CentOS and FreeBSD | | Kajetan Staszkiewicz | jabber,email: vegeta()tuxpowered net | | Vegeta | www: http://vegeta.tuxpowered.net | `------------------------^---------------------------------------'
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304262150.17215.vegeta>