From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f47.google.com (mail-wg0-f47.google.com [74.125.82.47]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id 1C016200B29 for ; Mon, 14 May 2012 08:05:52 -0700 (PDT) Received: by wgbfa7 with SMTP id fa7so3889513wgb.28 for ; Mon, 14 May 2012 08:05:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=6YVdMJYlyoe0duNHtoMU0xUrkfFlogS/NVgitF7JmOA=; b=CG7gHMmmiDxH6LmDdYZ0V9yDpb2WbEz4EscyAbIKJlmTz9Y56eAh8TQcIX7vqtL1EI dDCv9wWCurzj5Dz2U4400ajxF/SVsVpc6jiI8KPPLEzhMRQtNo96uFB2aPACn7KZNTDZ 1AaubC5KMUJYbJms7jmxwGf4PsUY3ZeG25oHbSuhB5JzweyMcCkAFzzBSc3J7/wEa6Tj VKjTJF0CXVv3nMXlg0f3kmnitGeRXxSW2veUOJL9AC2qRoD0oE/CrrgRMSZ/0JMdCj7I 3cbTGsYmqPh2j/PSZOZgDjrr0+cQoMWt6YQCDI7c/iXCVrtTIp8MwinwKLb6XoYatAHG FwiA== MIME-Version: 1.0 Received: by 10.216.134.14 with SMTP id r14mr5556602wei.17.1337007950193; Mon, 14 May 2012 08:05:50 -0700 (PDT) Received: by 10.223.115.9 with HTTP; Mon, 14 May 2012 08:05:49 -0700 (PDT) In-Reply-To: References: <1336855256.31653.1329.camel@edumazet-glaptop> <20120512.164513.1156706853054390966.davem@davemloft.net> <1336859324.31653.1385.camel@edumazet-glaptop> <20120512.175217.1632102067268101115.davem@davemloft.net> <1336893803.8512.43.camel@edumazet-glaptop> <4FB09F8D.6070403@gmail.com> <1336976277.8512.46.camel@edumazet-glaptop> <4FB0A73F.9090501@gmail.com> <4FB0AA68.2000800@gmail.com> <1336983815.8512.89.camel@edumazet-glaptop> Date: Mon, 14 May 2012 08:05:49 -0700 Message-ID: From: Dave Taht To: =?ISO-8859-1?Q?Roger_J=F8rgensen?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: codel@lists.bufferbloat.net Subject: Re: [Codel] [PATCH net-next] codel: use Newton method instead of sqrt() and divides 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: Mon, 14 May 2012 15:05:53 -0000 On Mon, May 14, 2012 at 4:34 AM, Roger J=F8rgensen wrote= : > On Mon, May 14, 2012 at 10:23 AM, Eric Dumazet w= rote: >> On Mon, 2012-05-14 at 08:51 +0200, Roger J=F8rgensen wrote: >> >>> could you pass me the script for setting that up, got nowhere with any >>> of the previous... will try the same on some 10GigE servers over v6... >> >> If multi-queue, you probably could use : >> >> EST=3D"est 1sec 4sec" >> TXQUEUES=3D24 >> >> DEV=3Deth7 >> # ethtool -K $DEV tso off gso off >> tc qdisc del dev $DEV root 2>/dev/null >> tc qdisc add dev $DEV root handle 1: mq >> >> for i in `seq 1 $TXQUEUES` >> do >> =A0hexa=3D$(printf %02x $i) >> =A0tc qdisc add dev $DEV parent 1:$hexa fq_codel >> done > > I did it much simpler, with nothing changed I get =A02.42Gbits/sec > through my range of VMs. > > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 rtt min =A0 =A0avg =A0 = =A0 max =A0 =A0 mdev =A0 =A0bw test showing > plain =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A01,037 =A0 =A0 =A02,327 =A05,123 = =A0 0,558 =A0 =A02,4Gbps > TBF =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 1,529 =A0 =A0 =A02,87 =A0 8,275 = =A0 0,547 =A0 =A01,5Gbps > fq_codel +ecn =A0 =A0 0,907 =A0 =A0 1,82 =A0 =A05,214 =A0 0,547 =A0 =A01,= 4Gbps > fq_codel noec =A0 =A0 0,905 =A0 =A0 1,913 =A0 4,95 =A0 =A00,586 =A0 1,4Gb= ps I find your results mildly puzzling. certainly your max rtt in the no ecn case is pleasing, but your max throughput in all three AQM cases seems to be rather severely capped. Secondly, I note that there was an infinite cwr bug related to ecn recently fixed in the kernel. > > > regular ping is like this then > > --- 2a00:d740:110:8000::a ping statistics --- > 500 packets transmitted, 500 received, 0% packet loss, time 499742ms > rtt min/avg/max/mdev =3D 1.037/2.327/5.123/0.558 ms > > > > when I add fq_codel to the mix: > root@codel-core:~# tc =A0qdisc show > ... > qdisc fq_codel 804b: dev eth1 root refcnt 2 limit 5p flows 5 quantum > 1514 target 499us interval 5.0ms ecn > qdisc pfifo_fast 0: dev eth2 root refcnt 2 bands 3 priomap =A01 2 2 2 1 > 2 0 0 1 1 1 1 1 1 1 1 > > > --- 2a00:d740:110:8000::a ping statistics --- > 500 packets transmitted, 500 received, 0% packet loss, time 499770ms > rtt min/avg/max/mdev =3D 0.907/1.820/5.214/0.547 ms > > > fq_codel without ecn > root@codel-core:~# tc =A0qdisc show > ... > qdisc fq_codel 804c: dev eth1 root refcnt 2 limit 5p flows 5 quantum > 1514 target 499us interval 5.0ms > qdisc pfifo_fast 0: dev eth2 root refcnt 2 bands 3 priomap =A01 2 2 2 1 > 2 0 0 1 1 1 1 1 1 1 1 > > --- 2a00:d740:110:8000::a ping statistics --- > 500 packets transmitted, 500 received, 0% packet loss, time 499763ms > rtt min/avg/max/mdev =3D 0.905/1.913/4.950/0.586 ms > > > > > > using tbf, > root@codel-core:~# tc qdisc show > ... > qdisc tbf 804a: dev eth1 root refcnt 2 rate 1560Mbit burst 20280b lat 5.0= ms > qdisc pfifo_fast 0: dev eth2 root refcnt 2 bands 3 priomap =A01 2 2 2 1 2= 0 > > --- 2a00:d740:110:8000::a ping statistics --- > 500 packets transmitted, 500 received, 0% packet loss, time 499746ms > rtt min/avg/max/mdev =3D 1.529/2.879/7.275/0.547 ms > > > > -- > > Roger Jorgensen=A0 =A0 =A0 =A0 =A0=A0=A0| ROJO9-RIPE > rogerj@gmail.com=A0 =A0 =A0 =A0=A0 =A0| - IPv6 is The Key! > http://www.jorgensen.no=A0=A0 | roger@jorgensen.no --=20 Dave T=E4ht SKYPE: davetaht US Tel: 1-239-829-5608 http://www.bufferbloat.net