Difference between tc qdisc and netdev_max_backlog

Posted by Mediocre Gopher on Server Fault See other posts from Server Fault or by Mediocre Gopher
Published on 2012-11-13T22:14:27Z Indexed on 2012/11/13 23:03 UTC
Read the original article Hit count: 256

Filed under:
|

I'm wondering what the difference between these two things on linux is. According to the docs tc qdisc can be used to set the queue size for egress and ingress packets coming in and out of the NIC (or that's how I understood it). But from what I understand netdev_max_backlog can also be used to set this. If I were to set both of them which would be used? Or are there actually two queues that are being manipulated in this case? If there are two queues, which queue is above the other (if the application is at the top and the hardware at the bottom)?

© Server Fault or respective owner

Related posts about tc

Related posts about sysctl