So, with traditional QoS on 68U with PPPoE WAN I get the following output:
Code:
admin@router:/tmp/home/root# tc -s class show dev ppp0
class htb 1:10 parent 1:1 leaf 10: prio 1 rate 3010Kbit ceil 6021Kbit burst 1599b cburst 1598b
Sent 895 bytes 6 pkt (dropped 0, overlimits 0 requeues 0)
rate 8bit 0pps backlog 0b 0p requeues 0
lended: 6 borrowed: 0 giants: 0
tokens: 60797 ctokens: 30391
class htb 1:1 root rate 6021Kbit ceil 6021Kbit burst 1598b cburst 1598b
Sent 3257159 bytes 3818 pkt (dropped 0, overlimits 0 requeues 0)
rate 8544bit 5pps backlog 0b 0p requeues 0
lended: 2102 borrowed: 0 giants: 0
tokens: 28891 ctokens: 28891
class htb 1:2 root rate 1Gbit ceil 1Gbit burst 10000b cburst 10000b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 1250 ctokens: 1250
class htb 1:20 parent 1:1 leaf 20: prio 2 rate 1204Kbit ceil 6021Kbit burst 1599b cburst 1598b
Sent 4979 bytes 74 pkt (dropped 0, overlimits 0 requeues 0)
rate 128bit 0pps backlog 0b 0p requeues 0
lended: 74 borrowed: 0 giants: 0
tokens: 156615 ctokens: 31875
class htb 1:30 parent 1:1 leaf 30: prio 3 rate 903Kbit ceil 6021Kbit burst 1599b cburst 1598b
Sent 869 bytes 8 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 8 borrowed: 0 giants: 0
tokens: 213718 ctokens: 32047
class htb 1:40 parent 1:1 leaf 40: prio 4 rate 602Kbit ceil 6021Kbit burst 1599b cburst 1598b
Sent 13209 bytes 116 pkt (dropped 0, overlimits 0 requeues 0)
rate 392bit 0pps backlog 0b 0p requeues 0
lended: 116 borrowed: 0 giants: 0
tokens: 320593 ctokens: 32047
class htb 1:50 parent 1:1 leaf 50: prio 5 rate 301Kbit ceil 6021Kbit burst 1599b cburst 1598b
Sent 3237207 bytes 3614 pkt (dropped 0, overlimits 0 requeues 0)
rate 8024bit 4pps backlog 0b 0p requeues 0
lended: 1512 borrowed: 2102 giants: 0
tokens: 578062 ctokens: 28891
class htb 1:60 parent 1:2 leaf 60: prio 6 rate 1Gbit ceil 1Gbit burst 10000b cburst 10000b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 1250 ctokens: 1250
The classes 10-50 match my configured classes Highest to Lowest. No idea what 1, 2 and 60 are.
When I switch to adaptive QoS I have no more classes bound to ppp0, but to eth0. On statistics page the upload stats are missing, only download is displayed. With the second command you asked us for I get the following with adaptive QoS enabled (still PPPoE WAN):
Code:
admin@router:/tmp/home/root# ps w | grep qosd
4770 admin 696 S qosd -i /dev/idpfw -f /tmp/bwdpi/qosd.conf -w eth0 -l br0 -u 253 -b
At the moment I'm at the office but when I'm at home I'll try to figure out if traffic gets classified correctly into classes 10-50 with traditional QoS.
Regards,
Chris