<div dir="ltr">Gentle Ping !</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 23, 2014 at 6:43 PM, Bharat Singh <span dir="ltr">&lt;<a href="mailto:bharat.mnnit06@gmail.com" target="_blank">bharat.mnnit06@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>We are trying to use traffic controller on a 10G NIC, but it looks to behave differently from a 1G NIC.</div><div><br></div><div>-------------------------------------------------------------</div><div>1G NIC:</div><div><br></div><div><div>#tc qdisc list dev em1</div><div>qdisc mq 0: root </div><div>qdisc pfifo_fast 0: parent :1 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1</div><div>qdisc pfifo_fast 0: parent :2 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1</div><div>qdisc pfifo_fast 0: parent :3 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1</div><div>qdisc pfifo_fast 0: parent :4 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1</div><div><br></div><div>#tc qdisc add dev em1 root netem delay 100ms<br></div><div>#</div><div>#tc qdisc list dev em1</div><div>qdisc netem 8001: root refcnt 9 limit 1000 delay 100.0ms</div><div>#<br></div><div>#tc qdisc del dev em1 root</div><div>#</div><div>#tc qdisc list dev em1</div><div>qdisc mq 0: root </div><div>qdisc pfifo_fast 0: parent :1 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1</div><div>qdisc pfifo_fast 0: parent :2 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1</div><div>qdisc pfifo_fast 0: parent :3 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1</div><div>qdisc pfifo_fast 0: parent :4 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1</div><div><br></div><div>* Here we can see that on deleting the netem qdisc, its reverting to the default tc configuration 4 queues.</div><div><br></div><div>----------------------------------------------------------------------------</div><div>10G NIC p3p1:</div><div><br></div><div><div>#tc qdisc list dev p3p1</div><div>qdisc mq 0: root </div><div>qdisc pfifo_fast 0: parent :1 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1</div><div>qdisc pfifo_fast 0: parent :2 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1</div><div>qdisc pfifo_fast 0: parent :3 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1</div><div>qdisc pfifo_fast 0: parent :4 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1</div><div>qdisc pfifo_fast 0: parent :5 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1</div><div>qdisc pfifo_fast 0: parent :6 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1</div></div><div><div><div><br></div><div>#tc qdisc add dev p3p1 root netem delay 100ms<br></div><div><br></div><div>#tc qdisc list dev p3p1</div><div>qdisc netem 8001: root refcnt 9 limit 1000 delay 100.0ms</div><div><br></div><div>#tc qdisc del dev p3p1 root</div></div><div><br></div><div>#tc qdisc list dev p3p1</div><div>qdisc mq 0: root </div><div>qdisc pfifo_fast 0: parent :1 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1</div><div><br></div><div>** Here its reverting back to a single queue model. This behavior is different from a 1G card, is tc not compatible with a 10G NIC or I am missing something here.</div></div></div><div>Suggestions are deeply appreciated.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-bharat</div></font></span></div>
</blockquote></div><br></div>