<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Bloaters-<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am looking into how Adaptive Bitrate video algorithms interact with the various queue management schemes. I have been using the netperf and netperf wrapper tools, along with the macros to set the links states (thanks Toke and Dave T).
I am using HTB rather than BQL, which may have something to do with the issues below. I am getting some interesting ABR results, which I will share in detail with the group once I write them up.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I need to set the transmit queue length of my Ubuntu ethernet path while running tests against the legacy pfifo_fast (tail drop) algorithm. The default value is 1000 packets, which boils down to 1.5 MBytes. At 100 Mbps, this gives me a
120ms tail drop buffer, which is big, but somewhat reasonable. When I then run tests at 10 Mbps, the buffer becomes a 1.2 second bloaty buffer. When I run tests at 4 Mbps, the buffer becomes a 3 second extra-bloaty buffer. This gives me some very distinct
ABR results, which I am looking into in some detail. I do want to try a few more delay values for tail drop at 4 Mbps.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><a href="https://www.bufferbloat.net/projects/codel/wiki/Best_practices_for_benchmarking_Codel_and_FQ_Codel">https://www.bufferbloat.net/projects/codel/wiki/Best_practices_for_benchmarking_Codel_and_FQ_Codel</a> says to set txqueuelen to
the desired size, which makes sense. I have tried several ways to do this on Ubuntu, with no glory. The way that seems it should have worked was “ifconfig eth8 txqueuelen 100”. When I then check the txqueuelen using ifconfig, it looks correct. However, the
delay measurements still stay up near 3 seconds under load. When I check the queue depth using “tc –s –d qdisc ls dev ifb_eth8”, it shows the very large backlog in pfifo_fast under load.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">So, has anybody recently changed the ethernet/HTB transmit packet queue size for pfifo_fast in Ubuntu? If so, any pointers? I will also try to move over to BQL and see if that works better than HTB…… I am not sure that my ethernet drivers
have BQL support though, as they complain when I try to load it as the queue discipline.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks in advance<o:p></o:p></p>
<p class="MsoNormal">Bill VerSteeg <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>