From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-x22f.google.com (mail-io0-x22f.google.com [IPv6:2607:f8b0:4001:c06::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 766553BA8E for ; Wed, 11 Apr 2018 15:56:49 -0400 (EDT) Received: by mail-io0-x22f.google.com with SMTP id s9so196171ioc.3 for ; Wed, 11 Apr 2018 12:56:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=zzdXdjAJ0dzdowEfJ0h5Khs7PWCKf+uwa22/qHa9C1Y=; b=ZUvRWPzIgT0Nb/+teOxlc/QUVRXO86sGx4xPnajWSkkYXlYFaAmT7H38Wl0BY8vpxy yaEzB4jt1UFb2CfpKPtR7WmwS5IsPq+/a+UZdWQvRHCAZB1uUVsn0sLoocNUqFHOKX+w gMbXuJoxFykjBAu+JkF40NuZrOJgSwI6dC7tEc5yoDeFhE+s5ChrWyXmWi8h76LoELeL Zb7qaniEuAj/9dYIKSBMGD0P3DyjmPAqQ3eOFZQwF71zhTmgcst7C9ZF/xpme4I33LFA 3yGfoohWTA3mk7/VLnTykfLx8nplXbPqhv3oLUtBzBmw8E4MF+fXVSZ3uy00hKrtsUkj 1xEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=zzdXdjAJ0dzdowEfJ0h5Khs7PWCKf+uwa22/qHa9C1Y=; b=GemyzWVDAzWfSnQ+MeL9v36AlFRlN9UhlCImzS9KTDtTdOhG13oyo9q4t3IyeVpIw0 PfSSj40NcZnDsFNN9qqvDpnYIknr5hwHDqbybjvxPB9PuLQCT0Ixb+EjwrIBqYsD5FJg S48wpU5sE4xer0oh/PGANRArzV6czBn3vczM3kUavy3QYc4hM2zW3vgZQ5Mw1MabUBoO Ue7ykBA/w8x/aS88kl3z29C1TiooYZA6vz1zwHAknJKFXN8t34WuVCHi0WmH9M0bTpwM EBpNiKfgHwKCBHmQ7cTazZuKOCNmeaOXRLx33oh9Ipi5BEEnWZVj6S+F3NpQf5iXqZx8 wOqw== X-Gm-Message-State: ALQs6tCUqHyDLazQziyXL/ysJcbeXvwPt1fKpGWNkttRKNyJwEWWkHvo oSk3U/Et6/ZQDDQx7dI7ZKR1UJdYiP0ZfidarB0= X-Google-Smtp-Source: AIpwx4956fFrz+lGyPGy4htO6KG1LLWrb+nuSIeUxs5uPZ2IoCQ6F589wkSOL5ElW7j8H8SBH03wy6pqupaxFtmcaag= X-Received: by 10.107.57.84 with SMTP id g81mr6078694ioa.6.1523476608874; Wed, 11 Apr 2018 12:56:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.2.108.133 with HTTP; Wed, 11 Apr 2018 12:56:48 -0700 (PDT) In-Reply-To: References: <87in8xahqp.fsf@toke.dk> <874lkhacli.fsf@toke.dk> From: =?UTF-8?Q?Jonas_M=C3=A5rtensson?= Date: Wed, 11 Apr 2018 21:56:48 +0200 Message-ID: To: Sebastian Moeller Cc: Cake List , =?UTF-8?B?VG9rZSBIw7hpbGFuZC1Kw7hyZ2Vuc2Vu?= Content-Type: multipart/alternative; boundary="001a114ac1e6187cd10569980a18" Subject: Re: [Cake] Cake not more CPU efficient than HTB+FQ-CoDel (anymore)? X-BeenThere: cake@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: Cake - FQ_codel the next generation List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Apr 2018 19:56:49 -0000 --001a114ac1e6187cd10569980a18 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Well, simplest.qos.help says "Simplest possible configuration: HTB rate limiter with your qdisc attached" so that is probably also a bit misleading= . /Jonas On Wed, Apr 11, 2018 at 9:30 PM, Sebastian Moeller wrote: > 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 wrote: > > > > > > > > On April 11, 2018 8:55:12 PM GMT+02:00, "Jonas M=C3=A5rtensson" < > martensson.jonas@gmail.com> wrote: > >> On Wed, Apr 11, 2018 at 7:15 PM, Toke H=C3=B8iland-J=C3=B8rgensen > >> wrote: > >> > >>> Jonathan Morton writes: > >>> > >>>>> On 11 Apr, 2018, at 6:24 pm, Toke H=C3=B8iland-J=C3=B8rgensen > >>> 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@lists.bufferbloat.net > > https://lists.bufferbloat.net/listinfo/cake > > --001a114ac1e6187cd10569980a18 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Well, simplest.qos.help says "Simplest possible confi= guration: HTB rate limiter with your qdisc attached" so that is probab= ly also a bit misleading.

/Jonas

On Wed, Apr 11, 2018 at 9:3= 0 PM, Sebastian Moeller <moeller0@gmx.de> wrote:
Sorry,

just looked at the code and my recollection is wrong. I could have sworn th= at 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@gmx.de> wrote:
>
>
>
> On April 11, 2018 8:55:12 PM GMT+02:00, "Jonas M=C3=A5rtensson&qu= ot; <martensson.jonas@gmai= l.com> wrote:
>> On Wed, Apr 11, 2018 at 7:15 PM, Toke H=C3=B8iland-J=C3=B8rgensen = <toke@toke.dk>
>> wrote:
>>
>>> Jonathan Morton <c= hromatix99@gmail.com> writes:
>>>
>>>>> On 11 Apr, 2018, at 6:24 pm, Toke H=C3=B8iland-J=C3=B8= rgensen <toke@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 n= ot, then
>> of
>>>> course Cake will use more CPU, and we should be grateful t= hat 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 c= ake 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
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 Sebastian
>
>
>>
>> /Jonas
>
> --
> Sent from my Android device with K-9 Mail. Please excuse my brevity.
> __________________= _____________________________
> Cake mailing list
> Cake@lists.bufferbloat.n= et
> https://lists.bufferbloat.net/listinfo/cake=


--001a114ac1e6187cd10569980a18--