From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-x235.google.com (mail-wr0-x235.google.com [IPv6:2a00:1450:400c:c0c::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 75CDF3B2A4 for ; Mon, 27 Nov 2017 08:05:35 -0500 (EST) Received: by mail-wr0-x235.google.com with SMTP id 11so22974688wrb.6 for ; Mon, 27 Nov 2017 05:05:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc:message-id:references :to; bh=xschJ09yED+sSoAIOb/hjMZl+Z/rU5bAeLvYocJZ9xc=; b=IpBBhgszDAg3+/8yn4fbfB0NfyGUzbOWqJntzY6TiSPC3AA/UFNwsx/ULmAbIRhQsq dEZOnAS70OTCkwWKR+ZvF/y1btu3+ag0p/IMwjzUHyVUXWGTjJaotam+pdbkXXqXxHUc 7NVjZZ6XLpcmhxCVrheI9HuoQ41lPp+TzKOSTJBKH95MAOnHzDo0zULfJeZ1KH9zGdZC HJr/EEEiPF3W2cW3WPauSAE86YJ0GjIGmVT0hBQCiEQgg8akOOgrml4AqofRnAdVhxU4 UVlotfGr7c/OnEEB+ARsAHryBMW0Qe6Ppfs58pRY+scWrAtRtyo00wq3vDhBO7kqy22B wlBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=xschJ09yED+sSoAIOb/hjMZl+Z/rU5bAeLvYocJZ9xc=; b=DS2Z+PBf6l3kaVXlvKnkfuPpXMZ0flxClT5rXvU7QzyxdUFX1BI00n0B+iXbtIJKjS sY0m47t/uu0uOo7nxwiGhBaevlK/5LSHGpvPjddyyZmNPMXPwr02thQLNgUu90hQpUOd JPKnAucNvzjIElwyecdILtUJvyriLgjHkfyHQzpMCXjF9ve5tzVjIfhBsDjrnz+0W7IL Um6ZQIigljUs6gcEeY/nQImCN0mX9ufNeUUPx3CHP5VdAGDZfLMQqJrYGjBn9gJ0XAeP HU9TNrlc9k/Jr4Z0h9TI2CzznXpg8humFEINIohLCnbGazPauJFO3uwj9ege4z1STDeY rq+w== X-Gm-Message-State: AJaThX79bW5De6SP3u9OQmqKFkE3cIoUXEwNP1HiQHLuErWd317DJ/8A xT5UUELNCdHPEPhadznJOfc= X-Google-Smtp-Source: AGs4zMYNHcAAtFlZBUgfXW983LGpF/m2DNHwmJLbIKofrVqc/xXQvUsW/i1kn8vg4pyqYatjWVRwNA== X-Received: by 10.223.156.202 with SMTP id h10mr23685862wre.174.1511787934512; Mon, 27 Nov 2017 05:05:34 -0800 (PST) Received: from [10.72.0.130] (h-1169.lbcfree.net. [185.99.119.68]) by smtp.gmail.com with ESMTPSA id m23sm11174864wmc.29.2017.11.27.05.05.33 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 27 Nov 2017 05:05:33 -0800 (PST) Content-Type: multipart/alternative; boundary="Apple-Mail=_2C441F16-7639-406A-9F82-A7518DCC8A0A" Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) From: Pete Heist In-Reply-To: Date: Mon, 27 Nov 2017 14:05:36 +0100 Cc: =?utf-8?Q?Toke_H=C3=B8iland-J=C3=B8rgensen?= , Cake List Message-Id: <1C937A63-CEC1-4173-8812-EA2A85972B73@gmail.com> References: <85E1A7B2-8AA7-418A-BE43-209A1EC8881A@gmail.com> <87d1447z9w.fsf@toke.dk> <27F95EB1-490B-404C-8F77-98646B6159E7@gmail.com> To: Jonathan Morton X-Mailer: Apple Mail (2.3124) Subject: Re: [Cake] cake flenter results round 1 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, 27 Nov 2017 13:05:35 -0000 --Apple-Mail=_2C441F16-7639-406A-9F82-A7518DCC8A0A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Nov 27, 2017, at 1:18 PM, Jonathan Morton = wrote: > Here's the difference between "srchost" and "dual-srchost": the latter = imposes per-flow fairness on traffic to each host, with a separate = queue/AQM per flow like with "flows". The former only has one queue/AQM = per host. >=20 > Analogously for dsthost. >=20 > Then "hosts" mode allocates a separate queue for each host-pair = encountered. >=20 > But "triple-isolate" isn't quite analogous to "hosts". Instead it = tries to heuristically behave like either of the dual modes, depending = on which one is likely to be on the LAN side of the link. This allows = it to be a reasonable default setting, though the "dual" modes will = perform more reliably if chosen correctly. >=20 Thanks, so as I understand it, fairness at the host level for srchost = and dual-srchost should be the same, only with dual-srchost there should = additionally be fairness among each host=E2=80=99s flows. If that=E2=80=99s right, I=E2=80=99m confused by this result where there = are four clients, each with a separate source IP connecting to the same = server IP: 1: tcp_up with 1 flow 2: tcp_up with 12 flows 3: tcp_down with 1 flow 4: tcp_down with 12 flows With srchost/dsthost it=E2=80=99s fair at the host level (easiest to = look at TCP upload/TCP upload sum and TCP download/TCP download sum = numbers at the bottom of the page): = http://www.drhleny.cz/bufferbloat/cake/round1/hostiso_eg_cake_src_cake_dst= _900mbit/index.html = and with dual-srchost/dual-dsthost it=E2=80=99s not: = http://www.drhleny.cz/bufferbloat/cake/round1/hostiso_eg_cake_dsrc_cake_dd= st_900mbit/index.html = --Apple-Mail=_2C441F16-7639-406A-9F82-A7518DCC8A0A Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
On Nov 27, 2017, at 1:18 PM, Jonathan Morton <chromatix99@gmail.com> wrote:

Here's the difference between "srchost" and = "dual-srchost": the latter imposes per-flow fairness on traffic to each = host, with a separate queue/AQM per flow like with "flows".  The = former only has one queue/AQM per host.

Analogously for dsthost.

Then = "hosts" mode allocates a separate queue for each host-pair = encountered.

But "triple-isolate" isn't = quite analogous to "hosts".  Instead it tries to heuristically = behave like either of the dual modes, depending on which one is likely = to be on the LAN side of the link.  This allows it to be a = reasonable default setting, though the "dual" modes will perform more = reliably if chosen correctly.

Thanks, so as I understand it, fairness at the host level for = srchost and dual-srchost should be the same, only with dual-srchost = there should additionally be fairness among each host=E2=80=99s = flows.

If = that=E2=80=99s right, I=E2=80=99m confused by this result where there = are four clients, each with a separate source IP connecting to the same = server IP:

1: = tcp_up with 1 flow
2: tcp_up with 12 = flows
3: tcp_down with 1 flow
4:= tcp_down with 12 flows

With srchost/dsthost it=E2=80=99s fair at the host level = (easiest to look at TCP upload/TCP upload sum and TCP download/TCP = download sum numbers at the bottom of the page):


and with dual-srchost/dual-dsthost = it=E2=80=99s not:


= --Apple-Mail=_2C441F16-7639-406A-9F82-A7518DCC8A0A--