From: Jonathan Morton <chromatix99@gmail.com>
To: Martin Zaharinov <micron10@gmail.com>
Cc: "Pete Heist" <pete@heistp.net>,
"Toke Høiland-Jørgensen via Cake" <cake@lists.bufferbloat.net>
Subject: Re: [Cake] Bug or not Cake + hfsc or Cake + Drr
Date: Fri, 8 Mar 2019 01:59:28 +0200 [thread overview]
Message-ID: <CA9EFA0F-6055-4C6D-A925-7A8C7C4D7E66@gmail.com> (raw)
In-Reply-To: <CALidq=WGzNBnjR5iH7hJ0my_UAzNmnL+xe3Mpf+JUkjXeYqoDw@mail.gmail.com>
> On 7 Mar, 2019, at 8:23 pm, Martin Zaharinov <micron10@gmail.com> wrote:
>
> tc qdisc add dev eth1 root handle 1: hfsc default 1
> tc class add dev eth1 parent 1: classid 1:1 hfsc ls rate 7mbit ul rate 7mbit
> tc qdisc add dev eth1 parent 1:1 cake besteffort bandwidth 5mbit datacentre nat memlimit 32m
>
> user speed is 5mbit and on hfsc i add extra 2 mbit to give free limit for cake.
> and work fine but in dmesg get :
>
> [44835.530255] qdisc_peek_len: cake qdisc 8017: is non-work-conserving?
> [44840.689403] HFSC: cake qdisc 8012: is non-work-conserving?
Here's a setup that should work:
> tc qdisc add dev eth1 root handle 1: hfsc default 1
> tc class add dev eth1 parent 1: classid 1:1 hfsc ls rate 5mbit ul rate 5mbit
> tc qdisc add dev eth1 parent 1:1 cake unlimited besteffort internet nat memlimit 32m
Why don't you try that instead of editing the kernel?
(Also, don't use "datacentre" with bandwidths this low, it doesn't magically do what you're probably thinking of.)
- Jonathan Morton
prev parent reply other threads:[~2019-03-07 23:59 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-07 6:35 Martin Zaharinov
2019-03-07 9:20 ` Toke Høiland-Jørgensen
2019-03-07 10:15 ` Martin Zaharinov
2019-03-07 10:30 ` Toke Høiland-Jørgensen
2019-03-07 10:41 ` Martin Zaharinov
2019-03-07 10:44 ` Martin Zaharinov
2019-03-07 10:46 ` Toke Høiland-Jørgensen
[not found] ` <CALidq=UWmK4ROWbu9p-70xUON=ws=CPEs=Br=2FNHudbomKkLQ@mail.gmail.com>
2019-03-07 11:05 ` Toke Høiland-Jørgensen
2019-03-07 11:07 ` Martin Zaharinov
2019-03-07 11:25 ` Toke Høiland-Jørgensen
2019-03-07 11:32 ` Martin Zaharinov
2019-03-07 18:05 ` Pete Heist
2019-03-07 18:23 ` Martin Zaharinov
2019-03-07 18:28 ` Toke Høiland-Jørgensen
2019-03-07 18:31 ` Martin Zaharinov
2019-03-07 18:40 ` Toke Høiland-Jørgensen
2019-03-07 23:59 ` Jonathan Morton [this message]
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=CA9EFA0F-6055-4C6D-A925-7A8C7C4D7E66@gmail.com \
--to=chromatix99@gmail.com \
--cc=cake@lists.bufferbloat.net \
--cc=micron10@gmail.com \
--cc=pete@heistp.net \
/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