On Sep 7, 2018, at 3:59 PM, Dave Taht <dave.t...@gmail.com> wrote:

you are making me pull out my mrtg stats, I'll post one. In the
debloating universe, 5 minute averages
really obscure the bufferbloat problem. What's important are
drops/marks, reschedules, queue depths, and overlimits. I get about
3000 drops/day (debloats). I wish I could extrapolate what that and
the reschedules means in terms of induced latency on other flows,
easily.

The reminders are useful, but sorry if those mrtg stats gives you flashbacks to 2001, XP and Napster rips. :)

As I look at different router configs, queue management looks like it’s being applied inconsistently, sometimes on the backhaul interfaces, and most often just on the customer facing interfaces (interfaces connected to the point-to-multipoint APs).

I would only do it on the point-to-point links, as I would think you need airtime fairness and queues per station to do much good on ptmp. Failing that, I would probably just let the APs do what they will(?) That said, the Ethernet interfaces to NSM5s are 100Mbit, and in that case, a qdisc on egress towards the AP makes sense.

SmokePing should be public. On this AP, eth0 is the ptmp radio and eth1 the backhaul, which has pfifo_fast, so yeah, there’s work to do, and quite a few overlimits on at least one hfsc qdisc...


FreeNetJerab:~# tc -s -d qdisc show dev eth0
qdisc prio 1: root bands 3 priomap  2 2 2 2 2 2 0 0 2 2 2 2 2 2 2 2
 Sent 758499377670 bytes 553404355 pkt (dropped 243, overlimits 0 requeues 0) 
 rate 0bit 0pps backlog 0b 0p requeues 0 
qdisc esfq 11: parent 1:1 quantum 1514b limit 128p flows 128/1024 perturb 10sec 
hash: dst
 Sent 16655331 bytes 55403 pkt (dropped 0, overlimits 0 requeues 0) 
 rate 0bit 0pps backlog 0b 0p requeues 0 
qdisc esfq 12: parent 1:2 quantum 1514b limit 128p flows 128/1024 perturb 10sec 
hash: dst
 Sent 302689276925 bytes 227433380 pkt (dropped 0, overlimits 0 requeues 0) 
 rate 0bit 0pps backlog 0b 0p requeues 0 
qdisc hfsc 13: parent 1:3 default 111 
 Sent 455793445414 bytes 325915572 pkt (dropped 243, overlimits 233425034 
requeues 0) 
 rate 0bit 0pps backlog 0b 0p requeues 0 
qdisc esfq 111: parent 13:111 quantum 1514b limit 128p flows 128/1024 perturb 
10sec hash: dst
 Sent 171713351551 bytes 120321398 pkt (dropped 462, overlimits 0 requeues 0) 
 rate 0bit 0pps backlog 0b 0p requeues 0 
qdisc esfq 112: parent 13:112 quantum 1514b limit 128p flows 128/1024 perturb 
10sec hash: dst
 Sent 283808986833 bytes 205401869 pkt (dropped 24, overlimits 0 requeues 0) 
 rate 0bit 0pps backlog 0b 0p requeues 0 
qdisc esfq 113: parent 13:113 quantum 1514b limit 128p flows 128/1024 perturb 
10sec hash: dst
 Sent 271107030 bytes 192305 pkt (dropped 0, overlimits 0 requeues 0) 
 rate 0bit 0pps backlog 0b 0p requeues 0 
qdisc esfq 114: parent 13:114 quantum 1514b limit 128p flows 128/1024 perturb 
10sec hash: dst
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 rate 0bit 0pps backlog 0b 0p requeues 0 

--------------------

FreeNetJerab:~# tc -s -d class show dev eth0
class prio 1:1 parent 1: leaf 11: 
 Sent 16655331 bytes 55403 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0 
class prio 1:2 parent 1: leaf 12: 
 Sent 302689276925 bytes 227433380 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0 
class prio 1:3 parent 1: leaf 13: 
 Sent 455793447887 bytes 325915583 pkt (dropped 243, overlimits 233425034 
requeues 0) 
 backlog 0b 0p requeues 0 
class hfsc 13: root 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 rate 0bit 0pps backlog 0b 0p requeues 0 
 period 0 level 2 

class hfsc 13:1 parent 13: ls m1 0bit d 0us m2 70000Kbit ul m1 0bit d 0us m2 
70000Kbit 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 rate 0bit 0pps backlog 0b 0p requeues 0 
 period 105456403 work 455793447887 bytes level 1 

class hfsc 13:111 parent 13:1 leaf 111: ls m1 0bit d 0us m2 34968Kbit ul m1 
0bit d 0us m2 70000Kbit 
 Sent 171713351605 bytes 120321399 pkt (dropped 231, overlimits 0 requeues 0) 
 rate 0bit 0pps backlog 0b 0p requeues 0 
 period 23695738 work 171713351605 bytes level 0 

class hfsc 13:112 parent 13:1 leaf 112: ls m1 0bit d 0us m2 20980Kbit ul m1 
0bit d 0us m2 70000Kbit 
 Sent 283808989252 bytes 205401879 pkt (dropped 12, overlimits 0 requeues 0) 
 rate 0bit 0pps backlog 0b 0p requeues 0 
 period 83433005 work 283808989252 bytes level 0 

class hfsc 13:113 parent 13:1 leaf 113: ls m1 0bit d 0us m2 13987Kbit ul m1 
0bit d 0us m2 70000Kbit 
 Sent 271107030 bytes 192305 pkt (dropped 0, overlimits 0 requeues 0) 
 rate 0bit 0pps backlog 0b 0p requeues 0 
 period 33674 work 271107030 bytes level 0 

class hfsc 13:114 parent 13:1 leaf 114: ls m1 0bit d 0us m2 64000bit ul m1 0bit 
d 0us m2 128000bit 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 rate 0bit 0pps backlog 0b 0p requeues 0 
 period 0 level 0 

--------------------

FreeNetJerab:~# tc -s -d filter show dev eth0
filter parent 1: protocol ip pref 1 fw 
filter parent 1: protocol ip pref 1 fw handle 0x1 classid 1:1 
filter parent 1: protocol ip pref 49152 fw 
filter parent 1: protocol ip pref 49152 fw handle 0x2 classid 1:2 

--------------------

FreeNetJerab:~# tc -s -d qdisc show dev eth1 
qdisc pfifo_fast 0: root bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
 Sent 31015622705 bytes 215778566 pkt (dropped 0, overlimits 0 requeues 0) 
 rate 0bit 0pps backlog 0b 0p requeues 0 

_______________________________________________
Cake mailing list
Cake@lists.bufferbloat.net
https://lists.bufferbloat.net/listinfo/cake

Reply via email to