From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (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 A4B3B3B29E for ; Thu, 20 Apr 2017 14:36:59 -0400 (EDT) Received: from [192.168.44.32] ([80.187.114.56]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0LcBvB-1cKTM42raf-00jVxr; Thu, 20 Apr 2017 20:36:57 +0200 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) From: Sebastian Moeller In-Reply-To: Date: Thu, 20 Apr 2017 20:35:34 +0200 Cc: Jonathan Morton , cake@lists.bufferbloat.net Content-Transfer-Encoding: quoted-printable Message-Id: References: <05C0B0C7-4337-4115-AC6B-DA81392FCB34@gmail.com> To: Dendari Marini X-Mailer: Apple Mail (2.3273) X-Provags-ID: V03:K0:p5l4G8enTUjgJhR8F3sjJBpHvM3kC9pUDZgxRZn9HVXtgaHLw9T UCMwSN0Nu2cZ1mv7RVo+7wW1KHc62ZomSD5SDfpuIRSPCb+zxghzGjDuRu7LLfVJp0YiXBt 5AUzyM3xzWlqqIzWoJ1+3wl/tEeNyyItDZHYkbdJT9JKi1TxowRHphWQJM+/mi+DCcLd1I7 5K4yosxkx6Pv1GH8fsRHQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:L3NsgQdAHUY=:c3FTt/sLXP52E36N2fvQw6 QFhqFlO2CAXa2S2NUHNfDhW39EJWBO0PzKyIF5MvUMeahzLIVfKLjJ3Ap9yWdP2ujRBTbUvQX APELKPxHSAvlbHBYQ0cRwjfvyjMqu0QVy33KNOpAgSxyYSfsaNdHlb9fNMI2PTZbWfrgQ3JdS 23dAdsFOkuQ/HczKlhJi+it3NmSDE5PNB5FJOMcZetTob+yufBmGV5qG/dZNQD6GrPr8xLM/x 1jRes6SSSSI/oRxglenAL4mkPKImF14X0J0H3uHzHgNqqaDcleDmG3dgXMF3NGEgMMICtXNwn wI//exMWQ7xUKZBtA3eqX1Uh5aXO20A1ilTZwz+hkqyEwdSxyIW/TeJrm0vRbuc/jj/88ZOJt /YlkvB998pkn9RirYOy9z4fpWpnV5NNTmBYSFAAyEiL9zW6G3S1m3zG7AzkoJfT4xxA665KOQ UkxDAbPPUlQ0/p8aR3NMe05xEKLrlGlI6d09Hu9jXrqSwmmMAQJJCfMzZUkAPmcazke7ZRsQU 0ZqFWDoCmODTdQNKc5soRr+NrSuosAmYWFJmGZ/FdZtC9ztlSNkb+PD9IPsXuappaRRK90HOy 8N3jgq07q9A/H4Dwt7NvxH+XLL1/W+v1+6NGBlFnBeWMdEr6PIrRqibvK9agfUwnIS1sr3Gru A3THfC5YfdBEdPu7aglLOpru03kNaa0SotOmmCv8PHshMdqB1Zvq4xTc9zWII7pTaVRwQRSe1 aHINNyz8wvd6diXqIpV5QHlZ2k6iuL296K+bQzbVcIg+iCu6CKtYqTtfRw96SOSAO2dbfkoUP QcR5GXY Subject: Re: [Cake] Getting Cake to work better with Steam and similar applications 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: Thu, 20 Apr 2017 18:37:00 -0000 > On Apr 20, 2017, at 18:05, Dendari Marini wrote: >=20 > Hello, thanks for your reply. >=20 > Looks like most of your options are okay, including the correct = =E2=80=9Cdual=E2=80=9D modes and =E2=80=9Cingress=E2=80=9D mode in the = right place. However, I think you need to adjust your bandwidth and = overhead settings, otherwise Cake isn=E2=80=99t reliably in control of = the bottleneck queues. Try these to begin with: >=20 > =E2=80=A6 bandwidth 850Kbit conservative dual-srchost nat >=20 > =E2=80=A6 bandwidth 15Mbit conservative dual-dsthost nat ingress >=20 > That should give you correct operation, and you can fine-tune from = there. >=20 > Just did quick test with your settings. First thing I noticed is my = final download bandwidth is about 12Mbps, Steam on PC1 downloads at = 1.4-1.5MB/s while downloading a file on PC2 seems to max out at = ~250KB/s. =46rom my understanding I should see each PC download at = ~700KB/s, or am I mistaken? Assuming you measured good put in [M|K]iBytes this adds up to 1.5+0.25 = =3D 1.75 * 1024^2 * 8 =3D 14680064 Bits or (1.4+0.25) * 8 *1024^2 / = 1000^2 =3D 13.84 Mbps which seems a bit high for a 16Mbps ADSL link. I = would ecpext something like 16 * (48/53) * ((1500 - 8 - 20 -20) / (1500 = + 32)) =3D 13.73 Mbps TCP/IPv4 goodput=E2=80=A6 so you seem to be = running close to theoretical maximum of your link (assuming I am not = totally off with the overhead (estimated ADSL overhead on top of MTU: 6 = destination MAC + 6 source MAC + 2 ethertype + 3 ATM LLC + 5 ATM SNAP + = 2 ATM pad + 8 ATM AAL5 SAR 32 bytes). But with your shaper set at 15Mbps = without the atm option you will actually accept up to 15 * (53/48) =3D = 16.5625 Mbps on the wire, which probably is above your link bandwidth. = This fits well with the really low number of drops in your cake stats, = you simply never have cake feel that shaping is needed? Best Regards >=20 > On 20 April 2017 at 17:32, Jonathan Morton = wrote: >=20 > > On 20 Apr, 2017, at 18:23, Dendari Marini = wrote: > > > > > Could you post the output of calling =E2=80=9Ctc -s qdisc=E2=80=9D = here on the list please? That should allow to figure out what you = actually told cake to do ;0 >=20 > > qdisc cake 8001: dev eth0 root refcnt 2 bandwidth 900Kbit diffserv3 = dual-srchost nat rtt 100.0ms raw >=20 > > qdisc cake 8002: dev ifb4eth0 root refcnt 2 bandwidth 16Mbit = diffserv3 dual-dsthost nat ingress rtt 100.0ms raw >=20 > Looks like most of your options are okay, including the correct = =E2=80=9Cdual=E2=80=9D modes and =E2=80=9Cingress=E2=80=9D mode in the = right place. However, I think you need to adjust your bandwidth and = overhead settings, otherwise Cake isn=E2=80=99t reliably in control of = the bottleneck queues. Try these to begin with: >=20 > =E2=80=A6 bandwidth 850Kbit conservative dual-srchost nat >=20 > =E2=80=A6 bandwidth 15Mbit conservative dual-dsthost nat ingress >=20 > That should give you correct operation, and you can fine-tune from = there. >=20 > - Jonathan Morton >=20 >=20 >=20