Skip to contentSkip to conversation

QOS monitoring?

LARTC Vinod Chandran 3 participants 4 messages May 6, 2005 – May 7, 2005

lore
Share & tools
lore
#1 lore raw
Quoted 6 lines · Vinod Chandran

Hi,

I have implemented QOS classifiers using TC with HTB. The classification is working.
I would like to know whether there is some tool which will help me in monitoring the bandwidth share of the various classes.

You could use my polltc[1] script to log to either Munin or an RRD database it creates.

[1] http://edseek.com/~jasonb/software.shtml

Signature · 9 lines
Jason Boxman
Perl Programmer / *NIX Systems Administrator
Shimberg Center for Affordable Housing | University of Florida
http://edseek.com/ - Linux and FOSS stuff

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
#2 lore raw
In reply to Vinod Chandran

Am Freitag, 6. Mai 2005 23:07 schrieb Jason Boxman:

Quoted 8 lines · Vinod Chandran
Quoted 6 lines

Hi,

I have implemented QOS classifiers using TC with HTB. The classification is working.
I would like to know whether there is some tool which will help me in monitoring the bandwidth share of the various classes.

Quoted 4 lines

You could use my polltc[1] script to log to either Munin or an RRD database it creates.

[1] http://edseek.com/~jasonb/software.shtml

don't work for my htb setup.(tested with munin) seems that the regexp aren't fit for htb setup with prioritys. sample output from my setup:

#all qdiscs

t-inx2:~# tc -s qdisc show dev ppp0
qdisc htb 1: r2q 10 default 11 direct_packets_stat 8
 Sent 767677738 bytes 4345707 pkts (dropped 51323, overlimits 112484)
qdisc pfifo 100: parent 1:10 limit 3p
 Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
qdisc ingress ffff: ----------------
 Sent 1953790244 bytes 4738798 pkts (dropped 0, overlimits 0)

#htb details

t-inx2:~# tc -s class show dev ppp0
class htb 1:11 parent 1:1 prio 4 rate 1000bit ceil 450000bit burst 5Kb 
cburst 2161b
 Sent 768804766 bytes 4351688 pkts (dropped 51363, overlimits 0)
 rate 127160bit 83pps
 lended: 68302 borrowed: 4283386 giants: 0
 tokens: -4827456 ctokens: 29972

class htb 1:1 root rate 450000bit ceil 450000bit burst 2161b cburst 2161b
Sent 768804766 bytes 4351688 pkts (dropped 0, overlimits 0) rate 126400bit 83pps
lended: 4283386 borrowed: 0 giants: 0
tokens: 29972 ctokens: 29972

class htb 1:10 parent 1:1 leaf 100: prio 0 rate 100000bit ceil 450000bit burst 15Kb cburst 2161b
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
lended: 0 borrowed: 0 giants: 0
tokens: 251658 ctokens: 31485

class htb 1:20 parent 1:1 prio 2 rate 300000bit ceil 450000bit burst 5Kb cburst 2161b
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
lended: 0 borrowed: 0 giants: 0
tokens: 95869 ctokens: 31485

class htb 1:30 parent 1:1 prio 3 rate 50000bit ceil 450000bit burst 5Kb cburst 2161b
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
lended: 0 borrowed: 0 giants: 0
tokens: 95869 ctokens: 31485

Signature · 5 lines
Markus Schulz
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
#3 lore raw
In reply to Vinod Chandran

Am Samstag, 7. Mai 2005 18:55 schrieb Markus Schulz:

Quoted 9 lines

Am Freitag, 6. Mai 2005 23:07 schrieb Jason Boxman:

Quoted 8 lines · Vinod Chandran
Quoted 6 lines

Hi,

I have implemented QOS classifiers using TC with HTB. The classification is working.
I would like to know whether there is some tool which will help me in monitoring the bandwidth share of the various classes.

Quoted 8 lines
Quoted 4 lines

You could use my polltc[1] script to log to either Munin or an RRD database it creates.

[1] http://edseek.com/~jasonb/software.shtml

don't work for my htb setup.(tested with munin) seems that the regexp aren't fit for htb setup with prioritys. sample output from my setup:

[...]

sorry my fault, i've forgot to build the sfq module, which i have attached to all classes except the 1:10. And cause of this, there is no leaf node for this classes.

Signature · 5 lines
Markus Schulz
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc