[Cake] [PATCH] q_cake: Update xstats format to use per-tin structure

Jonathan Morton chromatix99 at gmail.com
Tue Mar 6 06:46:39 EST 2018


> On 6 Mar, 2018, at 1:17 pm, Toke Høiland-Jørgensen <toke at toke.dk> wrote:
> 
>> So far it looks like everything is working fine and behaving as it
>> should (on a plain Ethernet interface).  The one wrinkle is that it
>> takes a few thousand packets for the avg_off value to converge on the
>> true value, but that should easily be tolerable in most cases.
> 
> So, erm, what do the new stats mean? ;)

avg_off: the average observed offset of the transport header in packets.  This should converge to 14 on Ethernet.

max/min_tran: tracking the transport-layer size of packets; max_tran = max_len-avg_off if GSO is off.

max/min_adj: tracking the overhead-adjusted size of packets; these should be the adjusted sizes of the corresponding transport-layer sizes, so can be used to check the calculations.

It's probably feasible to lay these out better in the output, so they take up fewer lines on screen.

 - Jonathan Morton



More information about the Cake mailing list