[Cake] cake memory consumption

Toke Høiland-Jørgensen toke at redhat.com
Wed Sep 18 06:22:10 EDT 2019


Sebastian Gottschall <s.gottschall at newmedia-net.de> writes:

> Am 18.09.2019 um 11:53 schrieb Toke Høiland-Jørgensen:
>> Sebastian Gottschall <s.gottschall at newmedia-net.de> writes:
>>
>>> the problem is. i tested restricting the memory to 4 mb. but it still
>>> runs oom. same memory consumption and from the qdisc show output i also
>>> see that just a few kilobytes are used in that pool.
>>> so the problem with cake must be somewhere else. its not the buffer
>>> limit. i see values like memory used: 22176b of 4Mb which is really
>>> nothing. most qdiscs are 0 and unused in that setup
>> Hmm, that does sound odd. Are you seeing the "total used memory" go up
>> as soon as you load the qdiscs (without any traffic)?
> without traffic nothing happens. so it grows only on traffic base.
>>
>> Does the memory drop down again if you clear the qdisc config and go
>> back to an fq_codel-based one?
> according to the reporter yes. not sure. maybe its just a issue withe 
> the out of tree cake variant on that specific kernel. need todo more 
> research here

Yeah, that does sound decidedly odd. We really are only allocating a few
hundred k of memory on init, so if the memory usage jumps immediately
there's something fishy going on somewhere...

-Toke



More information about the Cake mailing list