Cake - FQ_codel the next generation
 help / color / mirror / Atom feed
From: Alan Jenkins <alan.christopher.jenkins@gmail.com>
To: "techicist@gmail.com" <techicist@gmail.com>, cake@lists.bufferbloat.net
Subject: Re: [Cake] Configuring cake for VDSL2 bridged connection
Date: Sat, 27 Aug 2016 08:31:19 +0100	[thread overview]
Message-ID: <e5545c27-f74b-f4ee-2208-884d6d8c3557@gmail.com> (raw)
In-Reply-To: <CANiaOCnrN+rHuF9t+u-JZKsnBO3WiqgNx-7AnuVi+-3aTFu78Q@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 4536 bytes --]

On 26/08/16 13:04, techicist@gmail.com wrote:
> How would I go about enabling flowblind in OpenWRT? :)

Add the flowblind option.  If you're using SQM-scripts, the GUI for it 
has a freeform field for extra options.  (It's hidden under a couple of 
"advanced" and "dangerous" expanders).  You can see that the option has 
been applied & accepted by looking for `flowblind` in the output of `tc 
qdisc`, run on the router using `ssh`.

> And the 5ms+ jump you're talking about, that would compare to an ideal 3ms
> jump not using flowblind. Is that right?

I think flowblind would add 5ms+, on top of the 3ms you measured without 
it, i.e. 8ms+ increase.

> We do use the connection for gaming and so it might be useful. Without
> flowblind, are you saying that latency in games would be worse with just
> standard cake?

*with* flowblind, latency in games would be slightly worse.  When 
someone else is uploading/downloading files at the same time.  Or 
potentially when a computer is doing both in the background, because it 
gets software updates over P2P.

>
> Thanks so much for your help so far.
>
> On 26 August 2016 at 12:52, Alan Jenkins <alan.christopher.jenkins@gmail.com
>> wrote:
>> On 26/08/16 12:29, moeller0 wrote:
>>
>> Hi techicist,
>>
>>
>> On Aug 26, 2016, at 13:15 , techicist@gmail.com wrote:
>>
>> Is flowblind likely to give better performance?
>>
>> 	That depends on your definition of better, I guess. Typically flow-fair queuing seems to be what most people prefer (unless an application either does not respond to AQM signals or open an excessive amount of individual flows flow-fair queueing effectively treats most traffic sources equal, pretty much what people seem to want, add to this a bit of classification to exempt e.g. VOIP traffic from only getting its flow-fair share of the bandwidth and the whole thing also works reasonably well with slow links). People suffering from unruly applications (like mis-configured? bit-torrent clients or recently windows update) often ask for per-application fairness, but that is not something a router will ever be able to deliver in my opinion; the closest we get to this would be fairnes by internal or external end-IP addresses. Luckily cake offers just these modes “dsthost”, “srchost” and even better offers a combination modes that will on a first level attempt per host-IP fairness and within each host IP also per-flow fairness (“dual-srchost” and “dual-dsthost”, and even “triple-isolate” which systematically might be better called “dual-srchost-dsthost” since it offers fist level fairness based on an under-documented mix of src and dst addresses, but I digress). Please note that on a typical homerouter, due to NAT, all the IP addressed based fairness modes will not work for IPv4 on the wan interface, IPv6 traffic should be fine, but IPv4 basically degrades into a computationally more intensive version of flow-fairness (as after NAT cake only sees the routers external IP for all internal hosts). This might have been more than you wanted to know…
>>
>> Best Regards
>> 	Sebastian
>>
>>
>> flowblind is an option for testing purposes or advanced use cases.  The
>> design goal for Cake is to avoid understanding and fiddling with options to
>> get good performance for common cases.
>>
>> If you try enabling flowblind, your latency under load will jump by 5ms+.
>> "Head of line blocking".  A full queue will be 5ms.  This will delay flows
>> which do not need a full fair share of the link, like VOIP or gaming.
>> Lower latency is  better for VOIP or gaming.
>>
>> You should find this is small compared to the latency increase under load
>> without cake.  You wouldn't notice it in web browsing.  (Frankly I don't
>> seem to notice 100ms extra latency in web browsing.
>>
>> I run fq_codel for similar performance to cake, mainly to increase my
>> confidence that torrent uploads don't have noticable effects for other
>> household users.  Torrent downloads still suck, but I haven't seen any Cake
>> results promoted on that basis.  It either needs to be fixed at the ISP
>> end, or in the torrent software.  QUIC are emulating the competitiveness of
>> 2x TCP flows in a single UDP flow.  BT should be able to emulate half a TCP
>> flow when downloading from two peers simultaneously).
>>
>
>
> _______________________________________________
> Cake mailing list
> Cake@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/cake


[-- Attachment #2: Type: text/html, Size: 5970 bytes --]

  reply	other threads:[~2016-08-27  7:31 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-23 13:44 techicist
2016-08-23 14:27 ` moeller0
2016-08-23 15:13   ` techicist
2016-08-23 20:09     ` Sebastian Moeller
2016-08-24 17:01       ` techicist
2016-08-24 17:03         ` techicist
2016-08-24 17:03           ` techicist
2016-08-24 17:16             ` Alan Jenkins
2016-08-24 19:33               ` techicist
2016-08-24 19:47                 ` Alan Jenkins
2016-08-24 19:49                   ` Alan Jenkins
2016-08-25 14:53                     ` techicist
2016-08-26  8:14                       ` Alan Jenkins
2016-08-26 11:15                         ` techicist
2016-08-26 11:29                           ` moeller0
2016-08-26 11:32                             ` techicist
2016-08-27  7:43                               ` Alan Jenkins
2016-08-27 16:17                                 ` techicist
2016-08-27 17:48                                   ` Alan Jenkins
2016-09-14 20:06                                     ` techicist
2016-09-14 20:41                                       ` Kevin Darbyshire-Bryant
2016-09-14 20:48                                         ` Sebastian Moeller
2016-09-15  9:24                                           ` Kevin Darbyshire-Bryant
2016-09-15  9:43                                       ` techicist
2016-08-26 11:52                             ` Alan Jenkins
2016-08-26 12:04                               ` techicist
2016-08-27  7:31                                 ` Alan Jenkins [this message]
2016-08-24  8:52     ` Kevin Darbyshire-Bryant

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=e5545c27-f74b-f4ee-2208-884d6d8c3557@gmail.com \
    --to=alan.christopher.jenkins@gmail.com \
    --cc=cake@lists.bufferbloat.net \
    --cc=techicist@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