<div dir="ltr">What I would typically do is setup netem on an inbound qdisc and whatever is under test on the outbound.<div><br></div><div>even then, care is needed to ensure netem itself is not the bottleneck, has an appropriate packet limit (I use millions), and that you are not running out of cpu. For example it is really hard to pull 4gbit on cheap hw with default qdiscs. </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 25, 2024 at 11:54 AM Joerg Deutschmann via Bloat <<a href="mailto:bloat@lists.bufferbloat.net">bloat@lists.bufferbloat.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Dear all,<br>
<br>
bringing up again the question from a previous message to this list...<br>
<br>
<a href="https://www.bufferbloat.net/projects/codel/wiki/Best_practices_for_benchmarking_Codel_and_FQ_Codel/#the-netem-qdisc-does-not-work-in-conjunction-with-other-qdiscs" rel="noreferrer" target="_blank">https://www.bufferbloat.net/projects/codel/wiki/Best_practices_for_benchmarking_Codel_and_FQ_Codel/#the-netem-qdisc-does-not-work-in-conjunction-with-other-qdiscs</a><br>
says to not use NetEm together with other qdiscs.<br>
<br>
Is this still true?<br>
<br>
How could one emulate bottlenecks together with fq_codel?<br>
<br>
Best regards<br>
Joerg<br>
<br>
<br>
On 15.01.24 13:24, O. P. via Bloat wrote:<br>
> <br>
> Hi there,<br>
> <br>
> I'm trying to set up a testbed to evaluate different AQM techniques <br>
> using docker containers.<br>
> My first idea to create congestion was to use netem. However I later <br>
> came across <br>
> <a href="https://www.bufferbloat.net/projects/codel/wiki/Best_practices_for_benchmarking_Codel_and_FQ_Codel/" rel="noreferrer" target="_blank">https://www.bufferbloat.net/projects/codel/wiki/Best_practices_for_benchmarking_Codel_and_FQ_Codel/</a> <<a href="https://www.bufferbloat.net/projects/codel/wiki/Best_practices_for_benchmarking_Codel_and_FQ_Codel/" rel="noreferrer" target="_blank">https://www.bufferbloat.net/projects/codel/wiki/Best_practices_for_benchmarking_Codel_and_FQ_Codel/</a>> which discourages using netem. Since the document is from 2014 and also states that "netem has been improving", my question was wether the current netem has improved sufficiently to be used to get realistic results.<br>
> If netem has improved sufficienly, what would be the correct way to use <br>
> netem along fq, fq-codel or codel for example ?<br>
> If not, is HTB still the best way to perform rate limiting ? Is there a <br>
> prefered way to combine HTB with AQMs ?<br>
> <br>
> Best regards<br>
> <br>
> John<br>
> <br>
> _______________________________________________<br>
> Bloat mailing list<br>
> <a href="mailto:Bloat@lists.bufferbloat.net" target="_blank">Bloat@lists.bufferbloat.net</a><br>
> <a href="https://lists.bufferbloat.net/listinfo/bloat" rel="noreferrer" target="_blank">https://lists.bufferbloat.net/listinfo/bloat</a><br>
_______________________________________________<br>
Bloat mailing list<br>
<a href="mailto:Bloat@lists.bufferbloat.net" target="_blank">Bloat@lists.bufferbloat.net</a><br>
<a href="https://lists.bufferbloat.net/listinfo/bloat" rel="noreferrer" target="_blank">https://lists.bufferbloat.net/listinfo/bloat</a><br>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Dave Täht CSO, LibreQos<br></div></div></div>