From: Sebastian Moeller <moeller0@gmx.de>
To: Vincent Frentzel <vincent@frentzel.eu>
Cc: "cake@lists.bufferbloat.net" <cake@lists.bufferbloat.net>
Subject: Re: [Cake] Cake performance optimization
Date: Mon, 23 Nov 2015 12:16:46 +0100 [thread overview]
Message-ID: <74C5B539-4A4C-431B-A950-47EDACB69358@gmx.de> (raw)
In-Reply-To: <CAO2eGh2R4_SONbRQu2WMX4WR3Qdah-p6Vfr=zGkDo8tZD4szOQ@mail.gmail.com>
Hi Vincent,
On Nov 23, 2015, at 10:50 , Vincent Frentzel <vincent@frentzel.eu> wrote:
> Sounds encouraging. Just a note/thought... I am actually not running ingress through the IFB. I set the download speed to 0 and perform egress shaping on the lan bridge iface (br-lan).
Not a bad idea, this gets rid of to challenges at once: the fact that redirection through an IFB is not computationally free and the fact that the ingress packets in the IFB are pre-NAT (as seen from outside) and will not allow to use simple filtering based on internal IP or MAC addresses. I am also happy to hear that shaping on the bridge works…
Best Regards
Sebastian
> Maybe not the lightest setup, but this gives a really high flexiblity to classify the ingress traffic (ie. I dont have to use best effort nor trust the incoming DSCPs which are anyway tweaked by my provider).
>
> On x86_64 I agree with your observation, no speed problem there. But running a 1.83 Ghz box for routing 4 devices is a tad overkill :)
>
> I use the connmark stuff to reclass tcp streaming traffic from CS0 to AF4x and udp traffic to EF (Netflix/Youtube and Voip respectively). I also apply priority to DNS (AF4x), NTP (EF), SSH (AF4x) and deprioritize some traffic to CS1. I do this in my firewall3 config and firewall.user (some of my rules are MAC based -> chromecast, nas box, etc..). I set the mark and connmark save it on egress, on ingress (egress of the other iface) I simply restore the mark. In an ideal world... all apps would apply meaningful DSCPs to their packets and this classification would not be needed. In general, I tend to trust the DSCPs on egress and dont override them, on ingress I squash everything.
>
> I used to run htb + fq_codel and performance was awful, cake performs *much* better.
>
> _______________________________________________
> Cake mailing list
> Cake@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/cake
prev parent reply other threads:[~2015-11-23 11:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-23 9:07 Vincent Frentzel
2015-11-23 9:21 ` Dave Taht
2015-11-23 9:50 ` Vincent Frentzel
2015-11-23 11:16 ` Sebastian Moeller [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=74C5B539-4A4C-431B-A950-47EDACB69358@gmx.de \
--to=moeller0@gmx.de \
--cc=cake@lists.bufferbloat.net \
--cc=vincent@frentzel.eu \
/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