From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-la0-x22a.google.com (mail-la0-x22a.google.com [IPv6:2a00:1450:4010:c03::22a]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id E6A4721F38A for ; Sun, 22 Mar 2015 03:44:03 -0700 (PDT) Received: by labe2 with SMTP id e2so39595275lab.3 for ; Sun, 22 Mar 2015 03:44:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=GlTDAGci+ApJRL67AvAZ6vG1s4/M77gOb8WwY1ivFkw=; b=Q7mSnuZ60jSfGhZO4Ow8ScAfuehY3shd0ENVwz0wPYz8U081Fk2HAgdcb6jBabfvo3 em1T4Cpzp42C/1toP8P4bkv+m5C1rOYXqCy7lHsc3OPZH01i/TC/vIEMQmajyH4wgRJ3 J2D2p49O8a++drR866Mg6Wu4VE3Y+Efsg1gzFo4vGADNcv2xR40wF287pQqXlef2kP+C g9DjeugYXxjA0Q9Z+xAj3L4q0qyLMHCUOehqBd2r2VPCfHDoG0HCmLyApMUVZWoRcQtG TQ2ZAAk5nxPYxXuzfb+7EJ8gsPPQBI+EnO2h6oxLxZ3T3hQAHJuPSQE3ALDyQmTabAlc 372Q== X-Received: by 10.112.201.231 with SMTP id kd7mr59670076lbc.35.1427021040919; Sun, 22 Mar 2015 03:44:00 -0700 (PDT) Received: from bass.home.chromatix.fi (37-136-93-223.rev.dnainternet.fi. [37.136.93.223]) by mx.google.com with ESMTPSA id kd7sm1957979lbc.42.2015.03.22.03.43.59 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 22 Mar 2015 03:44:00 -0700 (PDT) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) From: Jonathan Morton In-Reply-To: Date: Sun, 22 Mar 2015 12:43:55 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <750FA673-E20D-4D48-9386-097D32CD31FB@gmail.com> References: <7081A75C-899A-4DB7-8D77-935A37B362D8@gmail.com> <5509957B.30600@pollere.com> <491C7497-BE3E-452B-A797-C7FC1102E7ED@gmail.com> To: Sebastian Moeller X-Mailer: Apple Mail (2.2070.6) Cc: "codel@lists.bufferbloat.net" Subject: Re: [Codel] The next slice of cake X-BeenThere: codel@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: CoDel AQM discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Mar 2015 10:44:32 -0000 > On 22 Mar, 2015, at 11:39, Sebastian Moeller wrote: >=20 > I could be out to lunch here, as usual,;but I argue the byte limit = should include the kernel overhead (could this be based on = skb->truesize) as this is what counts against real memory. My assumption = here is that in normal operation we rarely/never get queues to fill up = to the limit anyways Such an argument could certainly be made. Does skb->truesize include = the skb header, as well as the buffer space allocated? > (as tho would turn the queue into tail-drop effectively) But fq_codel (and cake) are a little cleverer than that, even when they = hit the hard limit. They still drop from the head, and they shoot the = longest flow-queue first. - Jonathan Morton