From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) (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 0B1313B29D for ; Wed, 23 Sep 2020 14:13:33 -0400 (EDT) Received: by mail-lj1-x22a.google.com with SMTP id c2so402873ljj.12 for ; Wed, 23 Sep 2020 11:13:33 -0700 (PDT) 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 :content-transfer-encoding:message-id:references:to; bh=sM+ms1lkx4HK+dS0ihSzOK1VbZgo+ia7BU12znzH8fE=; b=CO30hDAMCxcIdav4MFVt1h2hnQ4e5s72LDOD7xMXivemJMh1Bsjl1MxOIAPaOnEMJ9 HTCGFXgxZhXZYxvPr9ABurSqM5pJzw20uh/EexWC8Wqs3+ETtte4/MQkmk0ZwrUPjSZX fSIEI8SsH9j/BOCZgPlloyQcJW1a4nE4T2Vtrp4H3RT/OvEIG2iLG9Y3BHHvbiCUNji7 Ehr9nIdtNG+Rhq9psFq1nsjShbqlUb6eBaKNVh/fpH6dz0nwv0SQVrI0eG4tF+IyQ9/K r1h1AHTs0SiBPgjVWFuaJ862/pzkA3w0AlHcCdTwJhZ7TlZaiW7ME2kftVh5LPNcwdcV f4gA== 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 :content-transfer-encoding:message-id:references:to; bh=sM+ms1lkx4HK+dS0ihSzOK1VbZgo+ia7BU12znzH8fE=; b=K+lg7IfAWa2g6pucVPNSKVcyo//v1ZISPHP0v/GoHQmF6efZ4Cu7HGfogym5ixFJkX L2Vz8/XxvzBgH+hylH3lymYR2IhER6J0s321Bh/V9ha3SXJU2R9/PoMihhiwIvtUITXH IpxB1r3XKabsjVIae2smUzRBZyqOaBuCx1A8eLgNmV/d0w+vTQe2IiHYw7d2IEd7N4Zi wDQ0dtpBpBo780eWVmnP2sKMoo8wWK8xJXKH8MhVYgH8CJwqA0AiScLBx2DtPcfLU3b8 fmxFq2cu2MfaW8W20j2zkqkL80xW78s8I9Vld6FjgHOpWYyRkPCvW3gBbdtC70abplW6 F92Q== X-Gm-Message-State: AOAM533A66IdkzLKqniMlZqi7uqLFCBxMEyit4IwHG/qfDKQkYrUkAYp s4v+CRLbSgdakkjBqVQupPc= X-Google-Smtp-Source: ABdhPJwK7wEQtT+9TLrd+T1tGEHLP4dnGhCxL1xUS/oJXDn3F1NW1/dhCu0upiIRXDApHt068q2UuQ== X-Received: by 2002:a2e:965a:: with SMTP id z26mr379118ljh.88.1600884812734; Wed, 23 Sep 2020 11:13:32 -0700 (PDT) Received: from jonathartonsmbp.lan (37-136-29-171.rev.dnainternet.fi. [37.136.29.171]) by smtp.gmail.com with ESMTPSA id r77sm267335lff.115.2020.09.23.11.13.30 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Sep 2020 11:13:31 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.6\)) From: Jonathan Morton In-Reply-To: Date: Wed, 23 Sep 2020 21:13:29 +0300 Cc: Michael Richardson , bloat Content-Transfer-Encoding: quoted-printable Message-Id: <3A782CD0-01F1-40FA-9DFD-B969BD11A566@gmail.com> References: <32080.1597787724@localhost> To: Daniel Sterling X-Mailer: Apple Mail (2.3445.9.6) Subject: Re: [Bloat] cake + ipv6 X-BeenThere: bloat@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: General list for discussing Bufferbloat List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Sep 2020 18:13:34 -0000 > On 23 Sep, 2020, at 8:36 pm, Daniel Sterling = wrote: >=20 > I ran some updates on the xbox and watched iftop. I found that the > xbox does the following: >=20 > * uses up to four http (TCP port 80) connections at once to download = data > * connects (seemingly randomly) to both ipv4 and ipv6 update hosts >=20 > That means at any given time, the xbox could be downloading solely via > ipv4, solely via ipv6, or a with mix of the two. >=20 > I believe this means when it's using both v4 and v6, it's getting > double its "share" of the bandwidth since cake can't tell that the v4 > and v6 traffic is coming from the same LAN host -- is that correct? It fits my mental model, yes, though obviously the ideal would be to = recognise that the xbox is a singular machine. Are you seeing a larger = disparity than that? If so, is it even larger than four connections = would justify without host-fairness? > I'm using the default "triple-isolate" parameter. I can try switching > to dual-src/dest host or even plain srchost / dsthost isolation. In > theory that should limit traffic more per download host, even if cake > can't determine the LAN host that's doing the downloading, right? Triple-isolate is designed to function reasonably well when the user = can't be sure which side of the network is the LAN! The "dual" modes = provide Cake with that information explicitly, so may be more reliable = in corner cases. For your topology, eth0 (LAN egress) should get dual-dsthost, and eth1 = (WAN egress) should get dual-srchost. - Jonathan Morton