From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com [IPv6:2607:f8b0:4864:20::d2c]) (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 518A53CB35 for ; Wed, 21 Aug 2019 17:53:48 -0400 (EDT) Received: by mail-io1-xd2c.google.com with SMTP id t3so7679398ioj.12 for ; Wed, 21 Aug 2019 14:53:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=P6fpJYgHGoZO9zBAt9ixs+4Zp9FT+wVWFcTLAL+GK/w=; b=VMKqFDDwaaUpajW5xeZKDHnI2kBOwjVHg6uChFbifoPh78U6l0IBisT7c1Qtz7lNxv 1hT9+E49/sAqnL4wsKS0IDleIP7j27LC2IUm2G4VMjC/IboWdQvkSA28DDD9H08NO9uZ ybcnnF6jd7gJpONqcO6KOrPu1tLkZRNm3lGyRaKaX7bTF3I7l7nhd56jKbXzya6aUwCI 5R2erPN3AnPBeRJL62Ix4ZiZN/tBbrtnRTixIpD9+1U/ic8j4QvQ2hM0lNeSQ3qp/JZe hR5DrP5Np/HS1YhFgfPYheNa3rHv6UmfzL6cOLZsaEuli0uvoTlXY0JL3Er7+4i9cqLZ RwsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=P6fpJYgHGoZO9zBAt9ixs+4Zp9FT+wVWFcTLAL+GK/w=; b=PEPib8c1CmldOvVWXKNpiIRKfnAR4oEKjy+DuLrirt+OIzpPaDR7Nq+TN/tvP9G3HO 4arTRqh0GkaOsrsGxJaOVZzcEpM6Coj99ZM+/3uVDEBmD/bPEqfuZXlAXUgFfKcczXmB wxI8qCuh5suk8lT43hsDFi9f2qE0BTXKDQNF4UmRAcB+Uyz2B92ifqqEdEC2GHSNxPKb rKxgM5gNpOf5Z18G+cCH6Rw5SHRXX9pmdNRFurBNFMG73G108OljPUgQTCTELMu8HpSR JOCLqtSIUPN8IFDVmxE0HGIV9ksK2wxGOEbIVpOd4kiRnWBR1+5L2FgzSPpzrO/fmAvp 5bdg== X-Gm-Message-State: APjAAAU+8shsxbSb8rn0oOJ5lVv/fSuMWxDar6/AMY75rdoisFu6tYbf rZ8kPTjXRDXCGICcy0OiYwd0lh+KUACMGjeIH4o= X-Google-Smtp-Source: APXvYqyMn/NiqWtSOpguTXo16GUOlFW3HclD1HFrv/Iy1qTVp9+lZ5ndw4eRuE9hcUrbTn2WW4l0umC7mEP4j1NhF2c= X-Received: by 2002:a02:cc6c:: with SMTP id j12mr12175429jaq.29.1566424427520; Wed, 21 Aug 2019 14:53:47 -0700 (PDT) MIME-Version: 1.0 References: <384866b4-4c91-cf2c-c267-ee4036e5fbf7@newmedia-net.de> <87wof7sriw.fsf@toke.dk> <6782ec15-30eb-63b0-f54f-376c5e6b840b@newmedia-net.de> <87tvabsp99.fsf@toke.dk> <74bccc2b-b805-255f-b6a7-83ade9af6765@newmedia-net.de> <87r25fsn70.fsf@toke.dk> <54438C64-C613-438E-9CB9-6C6D0C5EAFA0@gmail.com> <87sgpvflo4.fsf@taht.net> <87wof6rf7t.fsf@toke.dk> <7656FCDE-C590-4B0C-B191-B9FAC928A762@gmail.com> <5eb4c395-c718-2d28-65a7-9762cf8d5bea@newmedia-net.de> <47AD5102-B66F-44A5-AADE-D167ECB94A61@gmx.de> <1d772664-b6cc-a528-9725-96a431032875@newmedia-net.de> <87v9uqea3x.fsf@taht.net> <87tvaap57q.fsf@toke.dk> In-Reply-To: <87tvaap57q.fsf@toke.dk> From: Dave Taht Date: Wed, 21 Aug 2019 14:53:36 -0700 Message-ID: To: =?UTF-8?B?VG9rZSBIw7hpbGFuZC1Kw7hyZ2Vuc2Vu?= Cc: Dave Taht , Sebastian Gottschall , Cake List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [Cake] pie in dd-wrt 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, 21 Aug 2019 21:53:48 -0000 On Wed, Aug 21, 2019 at 2:40 PM Toke H=C3=B8iland-J=C3=B8rgensen wrote: > > Dave Taht writes: > > > Sebastian Gottschall writes: > > > >> Am 21.08.2019 um 18:21 schrieb Sebastian Moeller: > >>> > >>> On August 21, 2019 6:12:03 PM GMT+02:00, Sebastian Gottschall wrote: > >>>> thats rather old. i rewrote all the qos code in the last 4 or 5 days= . > >>>> so > >>>> things might be changed. next phase is bringing all the link level > >>>> detail configuration stuff into the gui which will be done > >>>> tomorrow or at least still within this week. > >>>> i also added now cake to some smaller low budged routers with limite= d > >>>> resources, so see how it runs. i had bad experiences with fq_codel i= n > >>>> the past due some high memory usage. > >>>> especially since its hard coded somewhat into the wireless ath9k > >>>> driver. > >>>> so i already modded it for more efficient handling. 4 mb max per que= ue > >>>> is simply too much for a 32 mb ram based router. > >>> This is why I'm sqm we reduced the queued packet maximum m to around = 1000, and also why cake has an explicit memlimit keyword. > >> yeah but does this help if fq_codel is hardcoded into mac80211? > >> fq_codel has a memlimit keyword too btw. its fixed to 4MB. i reduced > >> it to 256kb on low memory architectures. no other way to get around > >> OOM problems > >> mac80211 does always make use of fq_codel. it has a own build in > >> implementation > > > > Certainly memory limits are a huge problem throughout complex qdiscs, > > especially when stacked up (eg hfsc 1 -> qdiscx hfsc 2 -> qdisc x), > > and > > > > OOMs suck. Particularly as few test packet flooding their devices > > after setting up a complex qdisc system. > > > > Bytes =3D time. It doesn't matter how many queues you have. This > > to me has always been one of the biggest flaws of the tc subsystem > > in general is that the total amount of memory in use on > > a given physical interface should be managed by the topmost layer. > > > > Same problem for wifi in multiple SSIDs... it's still just one device. > > > > However we do need enough bytes to keep the device busy and there > > are other problems with per packet limits leading me to prefer > > using just memory limits. One is, that your typical ack packet > > coming off the rx ring is actually 2k in size, not 64 bytes. > > I had at one point (in openwrt) something that took small packets > > and copied them to a smaller allocation which took pressure off the > > memory allocator. > > > > I've kind of lost track, did the ath9k wifi stuff use 1 allocation for > > all 4 hw queues? I'm afraid to look this morning... (and I'm not big > > on the 4 hw queues either) > > The memory limit in mac80211 is global per phy. yea! win! So much better than four instances per ssid. > -Toke > _______________________________________________ > Cake mailing list > Cake@lists.bufferbloat.net > https://lists.bufferbloat.net/listinfo/cake --=20 Dave T=C3=A4ht CTO, TekLibre, LLC http://www.teklibre.com Tel: 1-831-205-9740