From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [207.211.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 65D4F3B29E for ; Wed, 18 Sep 2019 06:22:15 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1568802134; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=clSZVsh/TxaJuw71gW1df2Z0yaQ9DUJm4AWP/Hu8nwA=; b=ERfrD20xw0OfJPU/7ggiTZ5eb2Y7klTt7YCc9HEpC6OsxF8zKzFBf3/KK37DbLK5j/6161 9yCRewgggwPd7tM2+O02vRGZHdvJHejaf/UorViXkX/TLKZfK3kcRqeasCUbYFXfj+w7Ey FtxIXvxc0Khsr3McGAmQ8pJ3iHJRtlk= Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-69-tYD1CoUKP4aQb2g8xrKZ7g-1; Wed, 18 Sep 2019 06:22:13 -0400 Received: by mail-ed1-f71.google.com with SMTP id c23so4095498edb.14 for ; Wed, 18 Sep 2019 03:22:13 -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=clSZVsh/TxaJuw71gW1df2Z0yaQ9DUJm4AWP/Hu8nwA=; b=bWD4+SsXb4wln6LL0BFD/i1/8wOHVgg3USJsY4+cW/Ul5PEQUfjk8W03AFaJr445WM EV4xQgvmtmW+S4fT0bt07MeFuGUNsIWtFE/y2dUMv7IM33E9NmPjzG83d/M23Y2Gq2/X KzFdzNmG37YXsQsLz71HskP7yZEb0WJpDZgtYmzBLInKqz3b6Mqbn/3Qc+UM3hptVbev UuyXKg+cf7rB5Gb/iXpm0gwcJD3kA/XdoztliP4gojrVxdNY97Tl3t/EjHvokfMZ8c9o GVWmL0WiYNWg3tLO0tw6cSStDbOAbR3OSPA8vBrNRFxcw9ngSLZ6RkJGOsyFu+ZimUq1 9ZIA== X-Gm-Message-State: APjAAAWA+oyX4vaR4xjQVL5cesxp9tZcM2cTaIIw8jDWB0wJSKlRsMSx wu+c5ej4vrjqKQdYAX3ootrCYRqxtpWE00U37I5lWgkyuvil5VKAVKbRG9vJ65r/ljvAXGf8ubo K8tjWOmuY0RnTNHQkPnkpXw== X-Received: by 2002:a17:906:4541:: with SMTP id s1mr8853442ejq.210.1568802132144; Wed, 18 Sep 2019 03:22:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqxUBYHKzqwMKGRZFov7vHA1JX6DHPDns7FO8WAYJLgj42Err48vrp3tx9Qct7Oi2rdyefhDOA== X-Received: by 2002:a17:906:4541:: with SMTP id s1mr8853431ejq.210.1568802131947; Wed, 18 Sep 2019 03:22:11 -0700 (PDT) Received: from alrua-x1.borgediget.toke.dk (borgediget.toke.dk. [85.204.121.218]) by smtp.gmail.com with ESMTPSA id t14sm613456eju.24.2019.09.18.03.22.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Sep 2019 03:22:11 -0700 (PDT) Received: by alrua-x1.borgediget.toke.dk (Postfix, from userid 1000) id C2F5718063E; Wed, 18 Sep 2019 12:22:10 +0200 (CEST) From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= To: Sebastian Gottschall , cake@lists.bufferbloat.net In-Reply-To: <342e4751-4c8c-1ebd-2862-6216f52c621e@newmedia-net.de> 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> <87h85cl4qk.fsf@toke.dk> <87r24fjm60.fsf@toke.dk> <3449acf8-e700-6b50-544f-b272165ad0e6@newmedia-net.de> <877e66hqvd.fsf@toke.dk> <342e4751-4c8c-1ebd-2862-6216f52c621e@newmedia-net.de> X-Clacks-Overhead: GNU Terry Pratchett Date: Wed, 18 Sep 2019 12:22:10 +0200 Message-ID: <87y2ylhpkd.fsf@toke.dk> MIME-Version: 1.0 X-MC-Unique: tYD1CoUKP4aQb2g8xrKZ7g-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: Wed, 18 Sep 2019 10:22:15 -0000 Sebastian Gottschall writes: > Am 18.09.2019 um 11:53 schrieb Toke H=C3=B8iland-J=C3=B8rgensen: >> Sebastian Gottschall writes: >> >>> the problem is. i tested restricting the memory to 4 mb. but it still >>> runs oom. same memory consumption and from the qdisc show output i also >>> see that just a few kilobytes are used in that pool. >>> so the problem with cake must be somewhere else. its not the buffer >>> limit. i see values like memory used: 22176b of 4Mb which is really >>> nothing. most qdiscs are 0 and unused in that setup >> Hmm, that does sound odd. Are you seeing the "total used memory" go up >> as soon as you load the qdiscs (without any traffic)? > without traffic nothing happens. so it grows only on traffic base. >> >> Does the memory drop down again if you clear the qdisc config and go >> back to an fq_codel-based one? > according to the reporter yes. not sure. maybe its just a issue withe=20 > the out of tree cake variant on that specific kernel. need todo more=20 > research here Yeah, that does sound decidedly odd. We really are only allocating a few hundred k of memory on init, so if the memory usage jumps immediately there's something fishy going on somewhere... -Toke