CoDel AQM discussions
 help / color / mirror / Atom feed
From: Dave Taht <dave.taht@gmail.com>
To: "Roger Jørgensen" <rogerj@gmail.com>
Cc: codel@lists.bufferbloat.net
Subject: Re: [Codel] [PATCH net-next] codel: use Newton method instead of sqrt() and divides
Date: Mon, 14 May 2012 08:05:49 -0700	[thread overview]
Message-ID: <CAA93jw7Kk=hLXnGinDPsS3UqBn6J+OqMcsyv08ZNmroYdBBnrg@mail.gmail.com> (raw)
In-Reply-To: <CAKFn1SFPVTe_xaW-646762+sxDnFW-MNmS61T8LeCKSEnFJ8Xg@mail.gmail.com>

On Mon, May 14, 2012 at 4:34 AM, Roger Jørgensen <rogerj@gmail.com> wrote:
> On Mon, May 14, 2012 at 10:23 AM, Eric Dumazet <eric.dumazet@gmail.com> 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.
>
>
>                         rtt min    avg     max     mdev    bw test showing
> plain                  1,037      2,327  5,123   0,558    2,4Gbps
> TBF                   1,529      2,87   8,275   0,547    1,5Gbps
> fq_codel +ecn     0,907     1,82    5,214   0,547    1,4Gbps
> fq_codel noec     0,905     1,913   4,95    0,586   1,4Gbps


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 = 1.037/2.327/5.123/0.558 ms
>
>
>
> when I add fq_codel to the mix:
> root@codel-core:~# tc  qdisc 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  1 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 = 0.907/1.820/5.214/0.547 ms
>
>
> fq_codel without ecn
> root@codel-core:~# tc  qdisc 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  1 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 = 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.0ms
> qdisc pfifo_fast 0: dev eth2 root refcnt 2 bands 3 priomap  1 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 = 1.529/2.879/7.275/0.547 ms
>
>
>
> --
>
> Roger Jorgensen           | ROJO9-RIPE
> rogerj@gmail.com          | - IPv6 is The Key!
> http://www.jorgensen.no   | roger@jorgensen.no



-- 
Dave Täht
SKYPE: davetaht
US Tel: 1-239-829-5608
http://www.bufferbloat.net

  parent reply	other threads:[~2012-05-14 15:05 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-12 13:32 Eric Dumazet
2012-05-12 19:52 ` David Miller
2012-05-12 20:40   ` Eric Dumazet
2012-05-12 20:45     ` David Miller
2012-05-12 21:48       ` Eric Dumazet
2012-05-12 21:52         ` David Miller
2012-05-13  7:23           ` Eric Dumazet
2012-05-14  5:46             ` Andrew McGregor
2012-05-14  6:00               ` dave taht
2012-05-14  6:17                 ` Eric Dumazet
2012-05-14  6:33                   ` dave taht
2012-05-14  6:47                     ` dave taht
2012-05-14  6:51                       ` Roger Jørgensen
2012-05-14  8:23                         ` Eric Dumazet
2012-05-14  8:50                           ` dave taht
2012-05-14  9:03                             ` Eric Dumazet
2012-05-14 11:34                           ` Roger Jørgensen
2012-05-14 11:56                             ` Eric Dumazet
2012-05-14 15:05                             ` Dave Taht [this message]
2012-05-14 18:31                               ` Roger Jørgensen
2012-05-14 22:33             ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.bufferbloat.net/postorius/lists/codel.lists.bufferbloat.net/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAA93jw7Kk=hLXnGinDPsS3UqBn6J+OqMcsyv08ZNmroYdBBnrg@mail.gmail.com' \
    --to=dave.taht@gmail.com \
    --cc=codel@lists.bufferbloat.net \
    --cc=rogerj@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox