Cake - FQ_codel the next generation
 help / color / mirror / Atom feed
From: Adrian Popescu <adriannnpopescu@gmail.com>
To: "Toke Høiland-Jørgensen" <toke@toke.dk>
Cc: cake@lists.bufferbloat.net
Subject: Re: [Cake] Cake3 - source code and some questions
Date: Thu, 23 Apr 2015 13:56:42 +0300	[thread overview]
Message-ID: <CAF3M4P21knWNJ0rez2W8ZNZcufL=_K+JnYeBxndPsE+NBD+g-w@mail.gmail.com> (raw)
In-Reply-To: <87383r9q1u.fsf@toke.dk>

Hello Toke,

Thanks to your experiment and your statement regarding CPU load on
your box during testing, I was able to fix the problem.

It looks like this problem was being caused by power saving. Something
changed between the older kernels and the newer ones. Changing the
power saving settings in the BIOS brings back latency below 0.5
milliseconds.

This might have an impact some benchmarks which don't load up all CPU
cores or which don't need a lot of CPU power. This is certainly
something to keep an eye on when doing any kind of testing involving
really low latencies or network schedulers.


On Thu, Apr 23, 2015 at 12:01 PM, Toke Høiland-Jørgensen <toke@toke.dk> wrote:
> Adrian Popescu <adriannnpopescu@gmail.com> writes:
>
>> Seeing worse latency under load (20-100 milliseconds) isn't uncommon.
>> I believe this to be a regression in the kernel or in the network
>> drivers.
>
> I don't see this behaviour at all:
>
> $ ls -l /sys/class/net/enp0s25/device/driver                                                                                                                                                                                   :(
> 0 lrwxrwxrwx 1 root root 0 Apr 21 16:05 /sys/class/net/enp0s25/device/driver -> ../../../bus/pci/drivers/e1000e/
>
> $ ping 130.243.26.1 -c 100 # this is my default gateway
> ..snip...
> --- 130.243.26.1 ping statistics ---
> 100 packets transmitted, 100 received, 0% packet loss, time 99000ms
> rtt min/avg/max/mdev = 0.341/0.801/28.260/2.769 ms
>
> $ cat /proc/loadavg
> 9.29 8.43 5.30 14/508 6665
>
> (yes, this is while running a cpu-hungry data processing application in
> the background on all eight cores)
>
> $ uname -a
> Linux alrua-kau 3.19.3-3-ARCH #1 SMP PREEMPT Wed Apr 8 14:10:00 CEST 2015 x86_64 GNU/Linux
>
> $  tc qdisc show dev enp0s25
> qdisc pfifo_fast 0: root refcnt 2 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
>
> (hmm, why am I running pfifo_fast?)
>
> Repeating with sch_fq:
>
> $ ping 130.243.26.1 -c 100
> ...snip...
> --- 130.243.26.1 ping statistics ---
> 100 packets transmitted, 100 received, 0% packet loss, time 98998ms
> rtt min/avg/max/mdev = 0.358/0.468/1.278/0.151 ms
>
> -Toke

  reply	other threads:[~2015-04-23 10:56 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-12  9:39 Adrian Popescu
2015-04-12  9:58 ` Jonathan Morton
2015-04-12 10:24 ` Jonathan Morton
2015-04-12 12:33   ` Adrian Popescu
2015-04-12 18:57     ` Jonathan Morton
2015-04-16 12:14       ` Adrian Popescu
2015-04-16 13:25         ` Jonathan Morton
2015-04-16 13:48           ` Adrian Popescu
2015-04-16 19:26             ` Dave Taht
2015-04-22 21:02               ` Adrian Popescu
2015-04-23  0:45                 ` Stephen Hemminger
2015-04-23  9:01                 ` Toke Høiland-Jørgensen
2015-04-23 10:56                   ` Adrian Popescu [this message]
2015-04-23 11:01                     ` Toke Høiland-Jørgensen
2015-04-23 11:05                       ` Adrian Popescu
2015-04-23 11:09                         ` Toke Høiland-Jørgensen
2015-04-23 11:13                           ` Jonathan Morton
2015-04-16 13:49           ` Sebastian Moeller

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/cake.lists.bufferbloat.net/

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

  git send-email \
    --in-reply-to='CAF3M4P21knWNJ0rez2W8ZNZcufL=_K+JnYeBxndPsE+NBD+g-w@mail.gmail.com' \
    --to=adriannnpopescu@gmail.com \
    --cc=cake@lists.bufferbloat.net \
    --cc=toke@toke.dk \
    /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