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 79ECD3B2A4 for ; Mon, 16 Sep 2019 09:27:04 -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=xHgGIHYa+NjuUNuN0gH8+6TWx+ngRP2+tDxpq7XhpZg=; b=TY6PKW1uTgwHyYtQhTlkk/tlScS7ieJ7ubN/Gjwl63u33RQWTfYiuKo6xIAPzE2UDHM4gmizwni4LiZrXemyFECJ5afWTavAgajaCFq9QSOW4yCh7K4oH4NSt20gu2FqrnZESXUQOjlzjfZSrv43imry3ECm9sQp6KsqkYk3BMI=; To: =?UTF-8?Q?Toke_H=c3=b8iland-J=c3=b8rgensen?= , cake@lists.bufferbloat.net References: <2825CE14-2109-4580-A086-9701F4D3ADF0@gmail.com> <18b1c174-b88d-4664-9aa8-9c42925fc14c@www.fastmail.com> <9a90111b-2389-4dc6-8409-18c40f895540@www.fastmail.com> <43F02160-E691-4393-A0C0-8AB4AD962700@gmail.com> <057ea708-6797-23f5-ef01-9d3d7b002578@newmedia-net.de> <878sqomoj4.fsf@toke.dk> From: Sebastian Gottschall Message-ID: Date: Mon, 16 Sep 2019 15:25:33 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.1.0 MIME-Version: 1.0 In-Reply-To: <878sqomoj4.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 1i9r27-0006yt-NG; Mon, 16 Sep 2019 15:27:11 +0200 Subject: Re: [Cake] cake memory consumption 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: Mon, 16 Sep 2019 13:27:04 -0000 Am 16.09.2019 um 14:08 schrieb Toke Høiland-Jørgensen: > Sebastian Gottschall writes: > >> after we found out serious out of memory issues on smaller embedded >> devices (128 mb ram) we made some benchmarks with different schedulers >> with the result that cake takes a serious amount of memory. we use the >> out of tree cake module and we use it class based since we have complex >> methods of doing qos per interface, per mac addresse or even per >> ip/network. so its not just simple cake on a single interface solution. >> we made some benchmarks with different schedulers. does anybody have a >> solution for making that better? >> >> HTB/FQ_CODEL ------- 62M >> HTB/SFQ ------- 62M >> HTB/PIE ------- 62M >> HTB/FQ_CODEL_FAST ------- 67M >> HTB/CAKE -------111M >> >> HFSC/FQ_CODEL_FAST ------- 47M >> HTB/PIE ------- 49M >> HTB/SFQ ------- 50M >> HFSC /FQ_CODEL ------- 52M >> HFSC/CAKE -------109M > How are you measuring the memory usage, and what is your full config for > each setup? :) me? nothing. i requested this test from a reporter and he uses just free / top. so there is a error tollerance. but it shows a significant difference between cake and fq_codel etc. cake is doing a OOM at the end for the full report including config screenshots see this https://svn.dd-wrt.com/ticket/6798#comment:14. it shows also the qos setup which i can use to reproduce and to print out the full tc ruleset if required (which it surelly is for you). if you want i will recreate this setup and send the tc rules on this list > > -Toke > >