IPFW IPFW Dummynet not shaping correctly (freebsd 11)

Hello

Can someone please help or clarify this issue :
Dummynet is not shaping speed correctly (10-20x less)

What we have :

FreeBSD 11.1-RELEASE #2: Thu Aug 3 17:41:54 MSK 2017
Bridge on Chelsio NICs

Code:
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 02:f3:76:fe:df:00
        nd6 options=9<PERFORMNUD,IFDISABLED>
        groups: bridge
        id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
        maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
        root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
        member: cxl1 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 4 priority 128 path cost 55
        member: cxl0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 3 priority 128 path cost 55

sysctl settings (everything else is by default)

Code:
net.link.bridge.ipfw=1
net.link.ether.ipfw=1
net.inet.ip.fw.enable=1

ipfw and pipe config

Code:
pipe 157 config bw 200Mbit/s
pipe 157 ip from 94.*.*.*(its /32 ip) to any xmit cxl1

Speed - 2MB/s, so its 10x times less that it should be
Also - if I config pipe to 100Mbit/s > speed will drop to 40-60KB/s (500kbit/s)
 
Back
Top