From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-bk0-f43.google.com (mail-bk0-f43.google.com [209.85.214.43]) (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 33A47200B29 for ; Mon, 14 May 2012 04:56:27 -0700 (PDT) Received: by bkty5 with SMTP id y5so8427419bkt.16 for ; Mon, 14 May 2012 04:56:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; bh=yd0cDrcsnCyvacOY9OA3CfzqwmslYBxaNEnIqi4p0Fg=; b=iSkJgSgoZMRlObKZ8D5wPcgu4ywsQHEmOtmXHx2ODYoqyZqkCyviJKFMpENDA5OHRV VPPRoqFxOEutm930aa1Ucx4fT4Q6sa3+X0kgnuUAnIU58a0lBD5KY0ZUVHTvNA5Z63U2 wTUXP33r7LwOwxRQdeecPWrv2M1oGR4Ta1MWeXx7kcsA1J0naW/IjFLsDUxMQiEU4YBk 0ynUPhJXPAKcZvbrVbfuluB6vlVCnmDQtDUokxZ+aWIq6u7MGTjb0V16u5x1DypT36cF IpJzXpWvRLVmb9MHG3H7CR8rSACILCknS2PZHf2hX+EIE5UQQghgX2bEHPWLZVmqBzwA IjLA== Received: by 10.204.152.199 with SMTP id h7mr3040332bkw.39.1336996585665; Mon, 14 May 2012 04:56:25 -0700 (PDT) Received: from [192.168.178.86] ([74.125.122.49]) by mx.google.com with ESMTPS id ie3sm34127756bkc.1.2012.05.14.04.56.23 (version=SSLv3 cipher=OTHER); Mon, 14 May 2012 04:56:24 -0700 (PDT) From: Eric Dumazet To: Roger =?ISO-8859-1?Q?J=F8rgensen?= 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> Content-Type: text/plain; charset="UTF-8" Date: Mon, 14 May 2012 13:56:21 +0200 Message-ID: <1336996581.8512.310.camel@edumazet-glaptop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 8bit 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 11:56:29 -0000 On Mon, 2012-05-14 at 13:34 +0200, Roger Jørgensen wrote: > On Mon, May 14, 2012 at 10:23 AM, Eric Dumazet wrote: > > On Mon, 2012-05-14 at 08:51 +0200, Roger Jørgensen 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="est 1sec 4sec" > > TXQUEUES=24 > > > > DEV=eth7 > > # 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 > > hexa=$(printf %02x $i) > > tc qdisc add dev $DEV parent 1:$hexa fq_codel > > done > > I did it much simpler, with nothing changed I get 2.42Gbits/sec > through my range of VMs. Not sure it means anything with VM, since the 'queue' is probably empty on the guest (packet is sent to hypervisor, and hypervisor send it to real hardware later) You can check stats on qdisc/class to see if _some_ packets stayed in queue a bit... tc -s qdisc show dev eth1 tc -s class show dev eth1