Possible problem - class listing

Linux Advanced Routing and Traffic Control

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

 



Hello lartc,

        I've made a script for shaping a network with about 3000+ users using hashing tables
        and everything seems to go down well, i've been testing it (for about 10 mins and
        it's doing the job, matching filters and so on. It counts about 5000+ filters on eth1
        (limit download) and about the same on eth0 (upload). The actual implementation is
        tomorrow so to be really sure about it i have one question regarding how leaf classes
        are displayed. 1:20 is parent with many child classes, each one having it's own sfq qdisc.
        When i do : # tc -s class show dev eth1 .. the output is

class htb 1:4061 parent 1:20 leaf df27: prio 0 rate 128000bit ceil 5000Kbit burst 1759b cburst 7849b
 Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
 lended: 0 borrowed: 0 giants: 0
 tokens: 90112 ctokens: 10289

class htb 1:4052 parent 1:20 leaf df1e: prio 0 rate 128000bit ceil 5000Kbit burst 1759b cburst 7849b
 Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
 lended: 0 borrowed: 0 giants: 0
 tokens: 90112 ctokens: 10289

        On the previous setup we had it lists like this:

class htb 1:1248 parent 1:10 leaf 1248: prio 0 rate 128000bit ceil 128000bit burst 1663b cburst 1663b
 Sent 173255 bytes 645 pkts (dropped 0, overlimits 0)
 lended: 645 borrowed: 0 giants: 0
 tokens: 100864 ctokens: 100864

        As you can see the part "class htb 1:4061 parent 1:20 leaf df27:" and
                                "class htb 1:4052 parent 1:20 leaf df1e:" it's different from the next ...

        The second one is "class htb 1:1248 parent 1:10 leaf 1248:" so the classid has the same, let's say
        handle, with the leaf one. In my setup it doesn't.

        I wonder if this is a real problem and if i should take it into consideration and browse the inet
        for some solution. Any help will be appreciated. Thanks.



-- 
Best regards,
 Mihai                          mailto:mihai@xxxxxxxxxxxxx

_______________________________________________
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