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

[altq 141] Re: Cbqstat does not report throughput




Fulvio Risso <F.Risso@cs.ucl.ac.uk> said:
>> If I have a deep tree configuration, CBQstat does not report the
>> throughtput of the intermediate classes.
>> For example, if I have

>>        A
>>     /     \
>>    B       C
>>   / \     / \
>>  D   E   F   G

>> and I have all my traffic belonging to classes D-G, CBQSTAT reports
>> throughput equal to zero for the intermediate classes (B,C).
>> However the throughput of the root class is printed correctly.

In the current implementation, packet statistics is updated only for
the corresponding class.
The root class is a special case; I added it since the total traffic
information is useful.

You can modify rmc_update_class_util() if you want to get throughput
information for intermediate classes.

-Kenjiro