I've recently(ish) switched from PF to IPFW because I wanted to use dummynet with fq_codel to fix some rather massive bufferbloat issues I'm seeing on my cable Internet connection with one of the US Cable Monsters. Cable modem is set to pass-through, so the only firewall between me an the internet is ipfw.
The dummynet pipe rules look like this:
Based on my understanding, this should set the incoming (download) bandwidth to about 280 MBit/s and the upload to about 12 MBit/s, with the default settings for fq_codel. The good news is that activating the above rules does indeed eliminate any buffer bloat on the download side, but it has the somewhat nasty side effect of reducing my measured download speed from approx 300MBit/s to about 130MBit/s. Both pre- and post-pipe measurements were taken against the DSLReports bufferbloat measuring site back to back.
I'm not super familiar with dummynet pipes in general and the relatively new fq_codel code specifically, but is this reduction in download speed expected, or does it point either at a non-optimally configured pipe or hardware that can't keep up with the demands of traffic shaping?
I've got an IPV6 enabled connection if that makes any difference, and I am using ipv6 connectivity.
The current firewall configuration ex the dummynet configuration above can be found in this forum post.
The dummynet pipe rules look like this:
Code:
# Add limiter pipes for buffer bloat elimination
${fwcmd} pipe 1 config bw 280MBit/s fq_codel
${fwcmd} pipe 2 config bw 12MBit/s fq_codel
${fwcmd} add pipe 1 ip from any to any in via ${wan_if}
${fwcmd} add pipe 2 ip from any to any out via ${wan_if}
Based on my understanding, this should set the incoming (download) bandwidth to about 280 MBit/s and the upload to about 12 MBit/s, with the default settings for fq_codel. The good news is that activating the above rules does indeed eliminate any buffer bloat on the download side, but it has the somewhat nasty side effect of reducing my measured download speed from approx 300MBit/s to about 130MBit/s. Both pre- and post-pipe measurements were taken against the DSLReports bufferbloat measuring site back to back.
I'm not super familiar with dummynet pipes in general and the relatively new fq_codel code specifically, but is this reduction in download speed expected, or does it point either at a non-optimally configured pipe or hardware that can't keep up with the demands of traffic shaping?
I've got an IPV6 enabled connection if that makes any difference, and I am using ipv6 connectivity.
The current firewall configuration ex the dummynet configuration above can be found in this forum post.