[Cake] Cake not more CPU efficient than HTB+FQ-CoDel (anymore)?

Sebastian Moeller moeller0 at gmx.de
Wed Apr 11 15:30:04 EDT 2018


Sorry,

just looked at the code and my recollection is wrong. I could have sworn that I purged cake as a shaper from simple.qos when I created piece_of_cake, but apparently that was just a fever dream...

Sorry for the noise.


> On Apr 11, 2018, at 21:26, Sebastian Moeller <moeller0 at gmx.de> wrote:
> 
> 
> 
> On April 11, 2018 8:55:12 PM GMT+02:00, "Jonas Mårtensson" <martensson.jonas at gmail.com> wrote:
>> On Wed, Apr 11, 2018 at 7:15 PM, Toke Høiland-Jørgensen <toke at toke.dk>
>> wrote:
>> 
>>> Jonathan Morton <chromatix99 at gmail.com> writes:
>>> 
>>>>> On 11 Apr, 2018, at 6:24 pm, Toke Høiland-Jørgensen <toke at toke.dk>
>>> wrote:
>>>>> 
>>>>> So, um, did we cram so many features into Cake that it no longer
>> uses
>>>>> less CPU? Can anyone confirm these results?
>>>> 
>>>> To be sure about this, it seems wise to configure Cake to turn off
>> as
>>>> many of the new features as possible. That means selecting
>> "besteffort
>>>> flows nonat" mode at least.
>>>> 
>>>> I forget whether simplest.qos correctly uses the built-in shaper
>> with
>>>> Cake, rather than just layering it with HTB as usual. If not, then
>> of
>>>> course Cake will use more CPU, and we should be grateful that it's
>> by
>>>> a relatively small margin (maybe 15%).
>>> 
>>> It is definitely using Cake as the shaper; in besteffort mode, but
>> with
>>> nat and triple-isolation enabled I think. I'll run another test
>> tomorrow
>>> with those disabled.
>> 
>> 
>> Is there any difference between using simplest.qos and
>> piece_of_cake.qos
>> when Cake is used as qdisc?
> 
> Yes, IIRC simplest.qos with cake as qdisc will use HTB as shaper and cake as leaf qdisc, while piece_of_cake.qos will use cake both as shaper and leaf qdisc. The former is only useful for comparative testing, for actual usage I recommend the later.
> 
> Best Regards
>        Sebastian
> 
> 
>> 
>> /Jonas
> 
> -- 
> Sent from my Android device with K-9 Mail. Please excuse my brevity.
> _______________________________________________
> Cake mailing list
> Cake at lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/cake



More information about the Cake mailing list