From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from webmail.newmedia-net.de (smtps.newmedia-net.de [IPv6:2a05:a1c0:0:de::167]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 8AA063CB35 for ; Thu, 22 Aug 2019 05:18:42 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=newmedia-net.de; s=mikd; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:To:Subject; bh=DOuixlDBPwBh5bJ4UIdRG5mEuv4h2RuOwM5DeKpK544=; b=iIBmGOy7RkmN7dGwXHyNM0Es0BR1DpohCmXE+ZIoszCK28aNZ3pP/x87uT/KT9YXjYDvdmfEbgK1+SdwfuP1fR29ohgNiS0W+C+QrIdomoLt8egRuGYq8mvBNWj0ZVLGH2OTyCgBDx+Mct4f0lnO1UlaQXw9jLqOygslT+91tDM=; To: =?UTF-8?Q?Toke_H=c3=b8iland-J=c3=b8rgensen?= , Sebastian Moeller , cake@lists.bufferbloat.net, Dave Taht , Jonathan Morton 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> <87wof6p595.fsf@toke.dk> From: Sebastian Gottschall Message-ID: <0cd1c3ea-6ef5-3293-0b65-58cb1e4871eb@newmedia-net.de> Date: Thu, 22 Aug 2019 11:17:36 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <87wof6p595.fsf@toke.dk> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Received: from [212.111.244.1] (helo=[172.29.0.186]) by webmail.newmedia-net.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.72) (envelope-from ) id 1i0jF2-0003J9-4z; Thu, 22 Aug 2019 11:18:48 +0200 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: Thu, 22 Aug 2019 09:18:42 -0000 Am 21.08.2019 um 23:39 schrieb Toke Høiland-Jørgensen: > 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  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 > 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. as i said i already modified mac80211 in a way that it sets sane memory limits depending on the architecture. devices with just 32 mb ram run only stable with 256kb memory limit. so i configured different defaults. but the point is still that for a standard user (lets say in openwrt) the current implementation is not good. somewhere in the openwrt community i was reading that such devices should not be used anymore for openwrt due the memory limitations. but thats no solution for me if it was working before the introduction of fq_codel in mac80211 > > -Toke >