pf ALTQ bandwidth limited to a 32bit value (4294Mb)

Calomel Org infallibilismindefeasibility at
Thu Jul 7 19:41:56 UTC 2011


Pf performance is quite good. The machine averages 9.2 Gbits/sec or
1.15 gigabytes per second (GB/s) in each direction, simultaneously.

Interrupt load is about 12%. With a single Linux box on either side of
the firewall we see around 161K packets per second and can create 4000
states per second. With more machines on either side on the firewall
we are looking to get closer to a million pps and a higher state
creation rate. I am not sure what limits we will see then.

We published a more detailed write up here under
"Can we achieve 10 gigabit speeds ?"

 Network Tuning and Performance

   Calomel @
   Open Source Research and Reference

On Wed, Jul 06, 2011 at 07:09:59PM -0400, Greg Hennessy wrote:
>> ALTQ using hfsc is limited to a maximum parent bandwidth of 4294Mb.
>> This value is 2^32 or 4,294,967,296 bits. If you set the bandwidth any higher,
>> altq will flip back to zero. This "bug" was found when trying to test 10 gigabit
>> and 40 gigabit bandwidth models. 
>What a problem to have :-) 
>On a side note out of pure curiousity, what's PF performance like up in the stratosphere under those sort of loads/packet rates ? :-)
>freebsd-pf at mailing list
>To unsubscribe, send any mail to "freebsd-pf-unsubscribe at"

More information about the freebsd-pf mailing list