ATTN Andreas Klauer: ASCII art + comments, please?

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andreas,

Since I understand your ASCII art and comments, I would very much
appreciate it if you would draw what you see and criticize the
following.  Hopefully I'll better understand after that!

TIA,
gypsy

tc qdisc add dev imq0 root handle 1: htb default 20

tc class add dev imq0 parent 1: classid 1:2 htb rate 4522kbit ceil \
   4760kbit burst 16k cburst 16k quantum 1500

tc class add dev imq0 parent 1:2 classid 1:1 htb rate 4522kbit ceil \
   4760kbit burst 16k cburst 16k

tc class add dev imq0 parent 1:1 classid 1:10 htb rate 2487kbit \
   ceil 4760kbit burst 16k cburst 16k quantum 1500 prio 1

tc class add dev imq0 parent 1:1 classid 1:20 htb rate 2034kbit \
   ceil 4341kbit burst 10k cburst 16k quantum 1500 prio 4

For the curious, here is the status info:
Received on imq0:
qdisc htb 1: r2q 10 default 20 direct_packets_stat 0
 Sent 7826237 bytes 27128 pkts (dropped 0, overlimits 3929) 
qdisc esfq 20: parent 1:20 quantum 1500b perturb 20sec hash: classic
 Sent 5634125 bytes 4648 pkts (dropped 0, overlimits 0) 
class htb 1:1 parent 1:2 rate 4522Kbit ceil 4760Kbit burst 16Kb cburst
16Kb 
 Sent 7826237 bytes 27128 pkts (dropped 0, overlimits 0) 
 rate 1728bit 4pps 
 lended: 1954 borrowed: 0 giants: 0
 tokens: 39532 ctokens: 37555

class htb 1:10 parent 1:1 prio 1 rate 2487Kbit ceil 4760Kbit burst 16Kb
cburst 16Kb 
 Sent 2192112 bytes 22480 pkts (dropped 0, overlimits 0) 
 rate 1576bit 3pps 
 lended: 22480 borrowed: 0 giants: 0
 tokens: 71878 ctokens: 37555

class htb 1:2 root rate 4522Kbit ceil 4760Kbit burst 16Kb cburst 16Kb 
 Sent 7826237 bytes 27128 pkts (dropped 0, overlimits 0) 
 rate 1728bit 4pps 
 lended: 0 borrowed: 0 giants: 0
 tokens: 39532 ctokens: 37555

class htb 1:20 parent 1:1 leaf 20: prio 4 rate 2034Kbit ceil 4341Kbit
burst 10Kb cburst 16Kb 
 Sent 5634125 bytes 4648 pkts (dropped 0, overlimits 0) 
 rate 184bit 
 lended: 2694 borrowed: 1954 giants: 0
 tokens: 54849 ctokens: 41180
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux