From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id D4B733CB35 for ; Wed, 21 Aug 2019 17:39:53 -0400 (EDT) Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C5A8685545 for ; Wed, 21 Aug 2019 21:39:52 +0000 (UTC) Received: by mail-ed1-f69.google.com with SMTP id d64so2157554edd.1 for ; Wed, 21 Aug 2019 14:39:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=QO7Yp1Y4SsdmOdse558v0AWJvk6Bl6VfXr3agXPTUW4=; b=K9oUUrJs7dR8KmXOdaRVVSHDVAnpoYakN7ZzFa1k9WQV6F4miw9yrrYorLSy0Gal// qR6L2KuV6KfyNpNzyTzTB576lBMfiyB7EiBBXU0vcVGmLskr0Fk2n3cAYeiRN3i/6Iuk jKMIo4opr+qo6MNdp0xKpBpEi8r7zB+qO8XhHTmt6SPzGmMJV0c7wSqQhCPQWvdB7AlP znIyE3LCiTIIWia3SlPZ3+dYVpdaoGfVjslR91pliCxCPBMo0pqoRS/21RVWHif1F4Ve aVNndlgsjpL+6nAYtsLbL5AQwdd6Z+EAmOufQevm9bfxGUxR5sD/oVrTHBV0y6xZgg78 KtCQ== X-Gm-Message-State: APjAAAWqLCBEhr4rZQw4MM6zqZkvEr7NGhSvPFKzikGTFrDzwK6Xjnfy XGZdkgi2ULp2gjSissk7R7G3FH8IwQyPnK5UfVSe/m2xnFuQ+noG+7p5qSyXOR9/FZrO8AV4BWw SaHje/ZswlxO6x4MJv91LWQ== X-Received: by 2002:a50:f318:: with SMTP id p24mr39333639edm.50.1566423591616; Wed, 21 Aug 2019 14:39:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqx/dlMHyLtqevilf8QVpWiJxTC73WU/WUgzLvDzmR4ANSEIFd9ih7R21B4jGvs14JXVAB+cew== X-Received: by 2002:a50:f318:: with SMTP id p24mr39333624edm.50.1566423591480; Wed, 21 Aug 2019 14:39:51 -0700 (PDT) Received: from alrua-x1.borgediget.toke.dk ([2a00:7660:6da:443::2]) by smtp.gmail.com with ESMTPSA id b3sm1945367ejl.55.2019.08.21.14.39.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Aug 2019 14:39:50 -0700 (PDT) Received: by alrua-x1.borgediget.toke.dk (Postfix, from userid 1000) id 46378181CEF; Wed, 21 Aug 2019 23:39:50 +0200 (CEST) From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= To: Sebastian Gottschall , Sebastian Moeller , cake@lists.bufferbloat.net, Dave Taht , Jonathan Morton In-Reply-To: <1d772664-b6cc-a528-9725-96a431032875@newmedia-net.de> 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> X-Clacks-Overhead: GNU Terry Pratchett Date: Wed, 21 Aug 2019 23:39:50 +0200 Message-ID: <87wof6p595.fsf@toke.dk> MIME-Version: 1.0 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:39:54 -0000 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 limited >>> resources, so see how it runs. i had bad experiences with fq_codel in >>> 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 queue >>> is simply too much for=C2=A0 a 32 mb ram based router. >> This is why I'm sqm we reduced the queued packet maximum m to around 100= 0, and also why cake has an explicit memlimit keyword. > yeah but does this help if fq_codel is hardcoded into mac80211? fq_codel= =20 > has a memlimit=C2=A0 keyword too btw. its fixed to 4MB. i reduced it to 2= 56kb=20 > on low memory architectures. no other way to get around OOM problems > mac80211=C2=A0 does always make use of fq_codel. it has a own build in=20 > implementation The mac80211 implementation also has a memlimit parameter. You can set it through debugfs - 2MB would be: echo 2097152 > /sys/kernel/debug/ieee80211/phy0/aqm or through iw: iw phy phy0 set txq memory_limit 2097152 The nl80211 attribute is called NL80211_ATTR_TXQ_MEMORY_LIMIT. -Toke