<br><br><div class="gmail_quote">On Sat, May 28, 2011 at 2:07 PM, Juliusz Chroboczek <span dir="ltr"><<a href="mailto:jch@pps.jussieu.fr">jch@pps.jussieu.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">> SFB is also in this release, but lacking good scripts for it...<br>
<br>
</div>SFB is supposed to be self-tuning, so it should be enough to say<br>
something like:<br>
<br>
#!/bin/sh<br>
set -e<br>
<br>
if=${1:-eth0}<br>
<br>
tc -s qdisc del root dev $if 2>/dev/null || true<br>
tc -s qdisc add dev $if root handle 1: tbf ...<br>
tc -s qdisc add dev $if parent 1: handle 2: sfb<br>
<br>
However, I may have made the SFB defaults a little bit too conservative<br>
(leading to high stability but slow convergence), so you may want to<br>
make it a little bit more aggressive by replacing the last line with:<br>
<br>
tc -s qdisc add dev $if parent 1: handle 2: sfb target 20 max 25 increment 0.005 decrement 0.0001<br></blockquote><div><br>regretablly the SFB patches to tc didn't make this release of 'bismark captown', just the SFB kernel backport to 2.6.37.6.<br>
<br>But as soon as I/someone can either get iproute 2.6.39 ported to openwrt, or backport those patches from net-next, I look forward very much to trying SFB in the lab and in some real world scenarios.<br> <br><br></div>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<font color="#888888"><br>
-- Juliusz<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Dave Täht<br>SKYPE: davetaht<br>US Tel: 1-239-829-5608<br><a href="http://the-edge.blogspot.com" target="_blank">http://the-edge.blogspot.com</a> <br>