How to emulate jitter WITHOUT packet reordering, using TC and NETEM?
<p>Apparently NETEM uses tfifo, which queues packets based on time to sent. This results in jitter causing packet reorder. For example the following line will cause packet reordering*:</p>

<pre><code>tc qdisc add dev eth0 root handle 1: netem delay 10ms 100ms
</code></pre>

<p><a href="http://www.linuxfoundation.org/collaborate/workgroups/networking/netem" rel="nofollow">NETEM manual</a> suggests if you don't want reordering, then replace the internal queue discipline tfifo with a pure packet fifo (pfifo), and gives the following example too add lots of jitter without reordering:</p>

<pre><code>tc qdisc add dev eth0 root handle 1: netem delay 10ms 100ms
tc qdisc add dev eth0 parent 1:1 pfifo limit 1000
</code></pre>

<p>But it doesn't work! Packets still get reordered! (and it looks like it's kernel dependent according to <a href="https://lists.linuxfoundation.org/pipermail/netem/2011-April/001507.html" rel="nofollow">this</a>)</p>

<p>So, does anyone know how to add jitter WITHOUT reordering packets?</p>