From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from nm4-vm2.bullet.mail.ne1.yahoo.com (nm4-vm2.bullet.mail.ne1.yahoo.com [98.138.90.152]) (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 DBEEB3B25E for ; Thu, 20 Oct 2016 23:08:37 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1477019317; bh=fm+uoWCoQRQAqzvHsIoDQAWwmTq8VSCAfYmngANNI9g=; h=Subject:From:To:Date:In-Reply-To:References:From:Subject; b=KQ6kFmuk3nmZ+E2S2rFnNwxRc7Ob7ek/nb6P2fjfjeQbJNkWK3IYf4TAGhBKrwXYY2NGCub20zZgAaxKKNdO1h1Zrw2DRrErQ+GtRTcF2Q9grelxZJb+7jtXM+aaEfO/Q63yf26VOdpi9ojCuQZJTkbPlfCDBiGdSfs/Ogi06N067QwU3UvesDPrMdf7VEkYOGN+IXiYJOjRpEIXWrMFRJcm0RXa4/CbKgMDGLf9AcDS+gDTXGcvMYmVS5CoMnPIn0PVooVsFIj9okTMt1dxWARqiGAnB5HX8N+Imobt/AL/5M/TmHBcQCpGHGG5nq0/vNRxpB+TJ7TtWSnfs7Jo4Q== Received: from [98.138.100.117] by nm4.bullet.mail.ne1.yahoo.com with NNFMP; 21 Oct 2016 03:08:37 -0000 Received: from [98.138.226.124] by tm108.bullet.mail.ne1.yahoo.com with NNFMP; 21 Oct 2016 03:08:37 -0000 Received: from [127.0.0.1] by smtp203.mail.ne1.yahoo.com with NNFMP; 21 Oct 2016 03:08:37 -0000 X-Yahoo-Newman-Id: 402912.46446.bm@smtp203.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: D.OoXlYVM1lBcVx60iNmZd4CjeTfXLIe1CDsZsV9W8a8Ud4 HTSSRFN5rfghe75ETTzTkO3cxBt_LcW8RNC.B8EjrEcKmKzL.Ha0Dm6h1pKO wD.vKimOjhSIZ44MG31Ok52RAlXsCszP8C8aYDgcqlOjP3wksbbT0tjdKM5n V9TAkyQW7Jwd66yCW2UpCYd_XQI1feIgFM4TBJB3UgAAc1cpdXLQz8hkdMHG Xntvsua_DcMeMZ5Y8ZT1g49O9K9gAcK0cEvCHBwYgGGteXN.GT5RtJoDXTGx pO8M63_XyvjxA8C2qdfyjWfwcc.t5_U1zdAInBfF5SdwgMnOD6XDB5Nlq3Fg YyhcFnZxXjkjwD3wjn.jf6cn.9cc7bi2xwZJgD3fPlgHjEWhZx.FND7EC0VP XCv07WC81xP1MlaK3eDk0usY6XpnfV8XeL_SR1ks6ZN6gdzTcd9n3Vuwk3fV Wfykw2_vjGqTlLThts4AmrY7Wcp2Ucbi6dRxUcKWmCD9CU2jPu3Jf11uzG_t rFTe6GF76lbjxJnnIN3YXLLDsbqc23ddlrD2Oq8XK0CX3dMqGCLjpKMA.rj3 K235pUvc- X-Yahoo-SMTP: 6sUo5IiswBDB2TZm6JKJ6DaI.Rsz4O0- Message-ID: <1477019316.2635.1.camel@yahoo.com> From: Georgios Amanakis To: cake@lists.bufferbloat.net Date: Thu, 20 Oct 2016 23:08:36 -0400 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.2 Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: Re: [Cake] Per-host fairness 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: Fri, 21 Oct 2016 03:08:38 -0000 Hi Sebastian, > I probably would try to instantiate cake not on the wan but on > a lan interface of the router and re-do the test without the =E2=80=9Cnat= =E2=80=9D > option just to reduce the number of tested parts. If you should do > this, please remember that ingress and egress are per interface, so > downloads from the internet use the LAN-egress while internet- uploads=C2=A0 > use LAN-ingress, so make sure to switch the bandwidth definitions for > your two cake instances accordingly.=C2=A0 >=C2=A0 Finally could you post the results of =E2=80=9Ctc -s qdisc=E2=80=9D= before, > during and after your bit-torrent tests for the test you just > reported and the LAN test in case you ago that route.=C2=A0 I tried what you suggested on the LAN interface (ingress: 900kbit/s, egress: 3300kbit/s). Details follow. > > and when doing simple > > things (i.e. downloading from a couple of websites) the bandwidth > > is > > divided fair per-host, i.e 1:1 between A and B. >=20 > Okay, does this stay fair if one of the hosts open a bunch of > websites at the same time? Does the download test also give per-host > fairness if the number of downloads is massively imbalanced between > the hosts? There seems to be a discrepancy here. If host A is downloading a file (e.g. kernel.org) and host B opens a bunch of websites simultaneously (e.g. "firefox arstechnica.com; firefox in.gr; firefox phoronix.com; firefox cnn.com; firefox theguardian.co.uk") the following happens: for the first 20 seconds host B gets 90% of the bandwidth and then it slowly equilibrates to 50%-50%. > > However, when one of > > the hosts is using bittorrent, he also gets most of the bandwidth, > > i.e. > > if total ingress bandwidth is 3300kbit, A is using bittorrent and > > gets > > 2900kbit, B is downloading from a single website and gets 400kbit. >=20 > Bit-torrent is a hard problem it seems, especially the cobalts > branch that you test is supposed to better deal with it though so > this is abit of a puzzle. How long are your tests? Are you looking > only at a few seconds or something like >30 seconds (maybe the shaper > needs time to reach equilibrium)? What happens in the upload during > theses tests? I also wonder how many new torrent connections are > established during the test or are the torrent flows long lived? >=20 I am performing this test for 5 minutes, using the torrent for ubuntu- 16.10-desktop. Regarding new established torrent connections, these are around 50 in this 5-minute interval. You *can* browse the web from host B but there is notable latency. Pings to 8.8.8.8 are typically 300- 400msec. Best regards, George