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

Toke Høiland-Jørgensen toke at toke.dk
Wed Mar 7 16:34:51 EST 2018

Kevin Darbyshire-Bryant <kevin at darbyshire-bryant.me.uk> writes:

>> On 7 Mar 2018, at 12:59, Toke Høiland-Jørgensen <toke at toke.dk> wrote:
>>> qdisc cake 8004: root refcnt 4486780 bandwidth 19900Kbit diffserv3 dual-srchost nat rtt 100.0ms ptm overhead 4502152
>>> Sent 42615751 bytes 4491092 pkt (dropped 4491108, overlimits 4491124 requeues 4491152)
>>> backlog 0b 4491256p requeues 4491272
>>> memory used: 78592b of 4Mb
>>> capacity estimate: 19900Kbit
>>> min/max transport layer size:    4537916 / 4537972
>>> min/max overhead-adjusted size:  4538000 / 4537972
>>> average transport hdr offset:    4538072
>>> I’m pondering if it’s an endian issue?
>> Are you using the latest kernel code? Those values were added in an
>> incompatible manner, so if you don't have userspace and kernel code in
>> sync they'll be garbage, basically…
> I’m using latest commit on kernel space sch_cake cobalt branch and
> identical user space tc/q_cake.c to tc-adv repo.  It’s not just those
> new values, overhead, dropped, overlimits, requeues are all long
> standing parameters.

Ah, totally missed that those were wrong as well. The values for
dropped, overlimits and requeues are not printed by the cake-specific
code at all, so there is something else dubious going on.


More information about the Cake mailing list