[Bloat] How can I tell if fq_codel is running?

Kenneth Porter shiva at sewingwitch.com
Tue Jul 30 18:34:21 EDT 2019


I'm running CentOS 7 on a Dell R230 as a small office router. It's on a 
slow ADSL link, 1.5 Mbps down and 150 kbps up. The kernel supports 
fq_codel, as does the tg3 driver used by the interfaces.

In the past I've run the Wondershaper script and now I'm hoping the new 
codel improves on that. I think it's installed but I don't see its name 
in a "tc show". Should I see it there? Is there additional setup I need 
to do?

The system seems responsive but I've been tasked with prioritizing the 
network for certain users. Before, I set up some buckets in the 
wondershaper for that. I'm now trying to figure out how that's supposed 
to work with codel, which is ostensibly "knob-free".

[root at saruman ~]# tc -s class show dev em2
class mq :1 root
  Sent 127961591021 bytes 412946653 pkt (dropped 0, overlimits 0 
requeues 2726)
  backlog 0b 0p requeues 2726
class mq :2 root
  Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
  backlog 0b 0p requeues 0
class mq :3 root
  Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
  backlog 0b 0p requeues 0
class mq :4 root
  Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
  backlog 0b 0p requeues 0
class mq :5 root
  Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
  backlog 0b 0p requeues 0
[root at saruman ~]# sysctl net.core.default_qdisc
net.core.default_qdisc = fq_codel


More information about the Bloat mailing list