Cake - FQ_codel the next generation
 help / color / mirror / Atom feed
From: Dave Taht <dave@taht.net>
To: Georgios Amanakis <gamanakis@gmail.com>
Cc: Jonathan Morton <chromatix99@gmail.com>,
	Dave Taht <dave.taht@gmail.com>,
	Cake List <cake@lists.bufferbloat.net>
Subject: Re: [Cake] cake flenter results round 3
Date: Fri, 01 Dec 2017 10:09:00 -0800	[thread overview]
Message-ID: <87lgimgw1v.fsf@nemesis.taht.net> (raw)
In-Reply-To: <CACvFP_gUG6-T9kmPyuedFBP9gzomyHAkNSOoXYn7cH+VP8KD+Q@mail.gmail.com> (Georgios Amanakis's message of "Thu, 30 Nov 2017 13:32:11 -0500")


All this testing has inspired me to go pick up a cheap ($500!!!) 12 core
Xeon box I found on craigslist, this afternoon. I'm tired of napping
through kernel builds, and needed a space heater.

If anyone else could use a build box and sim station pls send me a ssh key.

I'd like to get some mips/arm/whatever qemu instances up also.

Assuming it proves reliable, I'll converge it with my 10TB nas for
packet captures.

Georgios Amanakis <gamanakis@gmail.com> writes:

> Could you provide an example how to rate limit with netem?

tc qdisc add dev eth0 root netem rate 20mbit

That however creates a tail-drop per-packet queue. You can attach a
sub-qdisc that more closely emulates the real link. Or use HTB. Or
leverage SQM.

Thing is, we've been living in a fantasyland (cake in both directions),
and I'm thinking at least in the downstream direction, attaching a CMTS
or DSLAM emulating tail drop queue would be useful (and depressingly, I
am thinking that ack filtering will lead to even worse bloat on an
un-caked head end).

Your typical Cisco CMTS seemed to be 1000 1.5k packets max.

Arris CMTSes (more common) - I can't tell. My best guess is that they have a
1000-2000 packet limit with GRO enabled, per subscriber, no matter the rate.

Another way to emulate a range of CMTSes is to put a bfifo limit 256k, 512k,
1024k.

DSLAMs have seemed to be in the 64k range.

> What does "slot 4ms 4ms bytes 10k 16" Dave provided do?

This is an attempt to emulate bursty mac (like wifi)'s behaviors.

It will accumulate 4ms worth of packets, then deliver them all in a
bunch. The "interesting" thing to me is the probable effect of the
microburst on cake's deficit scheduler (and new ack filter)

By additionally specifying bytes and packets you can get a max rate out
of it, otherwise it is bound by the speed of qdisc_watchdog_schedule_ns.

I goofed on the line above, it is actually:

slot 4ms 4ms bytes Xk packets Y

slot 4ms # minimum delay for a slot
     4ms # max delay for a slot (it is REALLY hard to reason about
     things with these set for realism[1], so 4ms 4ms is sane for rrul
     testing. A one way test might be 1ms 4ms, with the ack-mostly side
     being 1ms 1ms.)
     bytes 10k # deliver X kbytes per slot. In this case,
           10k * 1000/4ms per slot = ~25Mbit/sec
     packets Y - 802.11n does have a limit (up to 42) 



[1] worse, using 1ms-4ms would create a uniform distribution where the
real distribution is very different and long tailed. (that's work
pending)

>
> George
>
> On Thu, Nov 30, 2017 at 1:27 PM, Jonathan Morton <chromatix99@gmail.com> wrote:
>
>     If you use netem to simulate the physical link, you could test Cake's
>     ingress mode downstream of it.
>
>     - Jonathan Morton
>     
>
>
> _______________________________________________
> Cake mailing list
> Cake@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/cake

  reply	other threads:[~2017-12-01 18:09 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-29 23:18 Pete Heist
2017-11-29 23:25 ` Jonathan Morton
2017-11-30 17:13   ` Georgios Amanakis
2017-11-30 17:22     ` Jonathan Morton
2017-11-30 18:07       ` Georgios Amanakis
2017-11-30 18:13         ` Jonathan Morton
2017-11-30 18:17           ` Georgios Amanakis
2017-11-30 18:27             ` Jonathan Morton
2017-11-30 18:32               ` Georgios Amanakis
2017-12-01 18:09                 ` Dave Taht [this message]
2017-12-01 18:21             ` Dave Taht
2017-11-30 20:17           ` Georgios Amanakis
2017-11-30 21:06             ` Georgios Amanakis
2017-11-30 18:01     ` Dave Taht
2017-11-30 21:03     ` Toke Høiland-Jørgensen
2017-11-30 21:11       ` Georgios Amanakis
2017-11-30 21:29         ` Georgios Amanakis
2017-11-30 21:38           ` Toke Høiland-Jørgensen
2017-11-30 21:58             ` Georgios Amanakis
2017-12-01  0:46               ` Cannot install tc-adv(for cake) on Fedora 27 Yutaka
     [not found]               ` <mailman.1238.1512089192.3609.cake@lists.bufferbloat.net>
2017-12-01  1:40                 ` [Cake] " Jonathan Morton
2017-12-01  1:52                   ` Bret Towe
     [not found]                     ` <CAJq5cE0u2f0OnC-Tv5pLed8QUkWj+296gokBhKDLwa9adJ6CPA@mail.gmail.com>
     [not found]                       ` <CAJq5cE0kj3RekGBCoRXFhtpDLBreZmRXte6vzAO589jTBXvPbw@mail.gmail.com>
2017-12-01  3:32                         ` Jonathan Morton
2017-12-01  4:10                           ` Bret Towe
2017-12-01  1:53                   ` Yutaka
2017-12-01 12:49               ` [Cake] cake flenter results round 3 Toke Høiland-Jørgensen
2017-11-30 21:32         ` Toke Høiland-Jørgensen
2017-11-30 21:34           ` Georgios Amanakis
2017-12-01 19:23     ` Dave Taht
2017-12-01 19:29       ` Georgios Amanakis
2017-12-01 19:45         ` Dave Taht
2017-12-01 19:46           ` Dave Taht
2017-12-01 21:41             ` Georgios Amanakis
2017-12-02  1:23               ` Dave Taht
     [not found]               ` <CACvFP_hJJ22_Y032GzAe1rPpDFZK_Fbe+4Pqw9zBXntyaqUAkQ@mail.gmail.com>
2017-12-02  1:25                 ` [Cake] Fwd: " Georgios Amanakis
2017-12-02  1:31                   ` [Cake] " Georgios Amanakis
2017-12-02  1:37                     ` Georgios Amanakis
2017-12-02  1:41                     ` Dave Taht
2017-12-02 17:47                       ` George Amanakis
2017-12-02 17:59                         ` Dave Taht
2017-12-02 18:30                           ` George Amanakis
2017-12-02 18:41                             ` Dave Taht
2017-12-02 18:34                           ` Dave Taht
2017-12-02 23:50                             ` Georgios Amanakis
2018-01-02 22:54   ` Kristjan Onu
2018-01-07 20:23     ` Kristjan Onu
2017-11-30  6:28 ` Dave Taht
2017-11-30 19:26   ` Cannot Install cake qdisc to CentOS7 Yutaka
     [not found]   ` <mailman.1227.1512070029.3609.cake@lists.bufferbloat.net>
     [not found]     ` <CACvFP_hnRgCsV4NiZT66xfiEjzh_jsT_u_kPjQ0XxzGpHRLi3A@mail.gmail.com>
2017-11-30 19:40       ` [Cake] " Yutaka
2017-11-30 19:40       ` Yutaka
2017-12-01 19:08 ` [Cake] cake flenter results round 3 Dave Taht

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=87lgimgw1v.fsf@nemesis.taht.net \
    --to=dave@taht.net \
    --cc=cake@lists.bufferbloat.net \
    --cc=chromatix99@gmail.com \
    --cc=dave.taht@gmail.com \
    --cc=gamanakis@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