pf deadly slow

Stephane D'Alu Stephane.DAlu at insa-lyon.fr
Fri Oct 4 13:27:58 UTC 2013


I'm running FreeBSD 9.2 inside VirtualBox with virtio for the nework
card. pf is compiled with ALTQ support.

My pf.conf file is as follow, which do nearly nothing:
 set skip on lo0
 set skip on vnet0

If pf is enabled, bandwith drop by a 1000 factor!
>From 10Mb/s to 4Kb/s

Any idea, what's going on?


PS:
- I have the same kind of configuration FreeBSD 9.2, pf + ALTQ
and real firewall rules on a non virtualized server and everything is fine.
- I will try to remove ALTQ and use em driver instead, to see if there
is a performance improvement

Sincerly
-- 
Stephane D'Alu -- Ingenieur Recherche
Laboratoire CITI / INSA-Lyon
Tel: +33 47243 6483


More information about the freebsd-pf mailing list