htb bandwith
Hi,
tc qdisc add dev eth0 root handle 1: htb
tc class add dev eth0 parent 1:0 classid 1:1 htb rate 2000Kbit ceil 2000kbit
tc class add dev eth0 parent 1:1 classid 1:2 htb rate 1200Kbit ceil 2000kbit
tc class add dev eth0parent 1:1 classid 1:3 htb rate 800Kbit ceil 2000kbit
tc class add dev eth0 parent 1:2 classid 1:21 htb rate 600Kbit ceil 2000kbit
tc class add dev eth0 parent 1:2 classid 1:22 htb rate 300Kbit ceil 2000kbit
tc class add dev eth0 parent 1:2 classid 1:23 htb rate 200Kbit ceil 2000kbit
tc class add dev eth0 parent 1:2 classid 1:24 htb rate 100Kbit ceil 2000kbit
tc class add dev eth0 parent 1:3 classid 1:31 htb rate 400Kbit ceil 2000kbit
tc class add dev eth0 parent 1:3 classid 1:32 htb rate 300Kbit ceil 2000kbit
tc class add dev eth0 parent 1:3 classid 1:33 htb rate 100Kbit ceil 2000kbit
By using this script, the class 1: 2 can it borrow of the bandwidth not used
by the class 1: 3 (the classes 1:2 and 1:3 can she borrow of the busy band among them).
I want to control the used and free busy band during time.
For it there, I used the command: tc –s class ls dev eth0.
Which are the information supplied by this command, which I
should control to draft my interpretations on the use of the busy
band.
tkanks in advance
---------------------------------
Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout ! Créez votre Yahoo! Mail
Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !
Hi,
tc qdisc add dev eth0 root handle 1: htb
tc class add dev eth0 parent 1:0 classid 1:1 htb rate 2000Kbit ceil 2000kbit
tc class add dev eth0 parent 1:1 classid 1:2 htb rate 1200Kbit ceil 2000kbit
tc class add dev eth0parent 1:1 classid 1:3 htb rate 800Kbit ceil 2000kbit
tc class add dev eth0 parent 1:2 classid 1:21 htb rate 600Kbit ceil 2000kbit
tc class add dev eth0 parent 1:2 classid 1:22 htb rate 300Kbit ceil 2000kbit
tc class add dev eth0 parent 1:2 classid 1:23 htb rate 200Kbit ceil 2000kbit
tc class add dev eth0 parent 1:2 classid 1:24 htb rate 100Kbit ceil 2000kbit
tc class add dev eth0 parent 1:3 classid 1:31 htb rate 400Kbit ceil 2000kbit
tc class add dev eth0 parent 1:3 classid 1:32 htb rate 300Kbit ceil 2000kbit
tc class add dev eth0 parent 1:3 classid 1:33 htb rate 100Kbit ceil 2000kbit
By using this script, the class 1: 2 can it borrow of the
bandwidth not used by the class 1: 3 (the classes 1:2 and
1:3 can she borrow of the busy band among them).
I want to control the used and free busy band during time.
For it there, I used the command: tc –s class ls dev eth0.
Which are the information supplied by this command, which I
should control to draft my interpretations on the use of the bandwidth.
tkanks in advance
---------------------------------
Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout ! Créez votre Yahoo! Mail
Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !
Quoted 25 lines · derbel hajer
Hi,
tc qdisc add dev eth0 root handle 1: htb
tc class add dev eth0 parent 1:0 classid 1:1 htb rate 2000Kbit ceil 2000kbit
tc class add dev eth0 parent 1:1 classid 1:2 htb rate 1200Kbit ceil 2000kbit
tc class add dev eth0parent 1:1 classid 1:3 htb rate 800Kbit ceil 2000kbit tc class add dev eth0 parent 1:2 classid 1:21 htb rate 600Kbit ceil 2000kbit
tc class add dev eth0 parent 1:2 classid 1:22 htb rate 300Kbit ceil 2000kbit
tc class add dev eth0 parent 1:2 classid 1:23 htb rate 200Kbit ceil 2000kbit
tc class add dev eth0 parent 1:2 classid 1:24 htb rate 100Kbit ceil 2000kbittc class add dev eth0 parent 1:3 classid 1:31 htb rate 400Kbit ceil
2000kbit
tc class add dev eth0 parent 1:3 classid 1:32 htb rate 300Kbit ceil 2000kbit
tc class add dev eth0 parent 1:3 classid 1:33 htb rate 100Kbit ceil 2000kbit
Quoted 3 lines
By using this script, the class 1: 2 can it borrow of the bandwidth not used by the class 1: 3 (the classes 1:2 and 1:3 can she borrow of the busy band among them).
Classes with the same parent, can borrow unused bandwidth from the parent. First, each class can send it's rate if they want. After that, remainig bandwidth is distributed proportional to the quantum which is proportional to the rate.
Quoted 4 lines
I want to control the used and free busy band during time. For it there, I used the command: tc –s class ls dev eth0. Which are the information supplied by this command, which I should control to draft my interpretations on the use of the bandwidth.
Try this page:
http://www.docum.org/stef.coene/qos/faq/cache/33.html
Stef
Signature · 6 lines
[email protected] "Using Linux as bandwidth manager" http://www.docum.org/ _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/