pf performance?

Kajetan Staszkiewicz vegeta at tuxpowered.net
Fri Apr 26 19:50:21 UTC 2013


Dnia piątek, 26 kwietnia 2013 o 00:21:11 Kajetan Staszkiewicz napisał(a):

> > > How do you count the 140kpps value? One interface, both, in, out? I'd
> > > like to relate this somehow to my values.
> > 
> > Well, generally we see 80kpps rx and 40kpps tx.  But I have seen the rx
> > spike to 150kpps occasionally.
> 
> 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 only a 
single irq. Netisr threads are limited to cpu 0 and 1, I use deferred netisr. 

So yes, I have 2x less pps than you, but also I have quite a slower cpu and 
there still seems to be much cpu power left.

How many interrupts/s do you have? What about the number of states?

-- 
| pozdrawiam / greetings | powered by Debian, CentOS and FreeBSD |
|  Kajetan Staszkiewicz  | jabber,email: vegeta()tuxpowered net  |
|        Vegeta          | www: http://vegeta.tuxpowered.net     |
`------------------------^---------------------------------------'


More information about the freebsd-net mailing list