Cake - FQ_codel the next generation
 help / color / mirror / Atom feed
From: moeller0 <moeller0@gmx.de>
To: "Dave Täht" <dave.taht@gmail.com>,
	"Toke Høiland-Jørgensen" <toke@toke.dk>
Cc: cake@lists.bufferbloat.net
Subject: Re: [Cake] cake dual hash for dualdst, dualsrc
Date: Mon, 21 Dec 2015 16:54:04 +0100	[thread overview]
Message-ID: <F7160C7A-C9CA-4A70-ACAF-A5DD6A326B7B@gmx.de> (raw)
In-Reply-To: <CAA93jw6QDV9eRSyiD9twvvMrib4O7Bi0hAWLm-ZmLsX7bGFNyg@mail.gmail.com>

Hi Dave,

> On Dec 21, 2015, at 15:57 , Dave Taht <dave.taht@gmail.com> wrote:
> 
> you begged for it...
> you thought it would rock the universe...
> you thought it would be a killer feature...
> you thought that isolating individual machines into roughly 8 queues
> each would help defeat bittorrent and other forms of too-many-flow
> abuse... and that you'd get some of the benefits of fq for everyone
> and that codel could correctly compensate for it!
> 
> well, here it is, dual mode in the new, improved, "kitchen sink"
> version of cake! Forked from the main cake! yet again! Now available
> from
> 
> https://github.com/dtaht/ks
> 
> with support for the dualdst, dualsrc modes in
> 
> https://github.com/dtaht/tc-adv
> 
> but wait, that's not all!
> 
> We've got benchmarks showing dualsrc or dualdst being totally
> comparable to rrul and rrul_be (which only use 8 flows) at 30mbits!



> 
> http://snapon.cs.kau.se/~d/dual/

	Trying to load these into flent lead to python folding down, with plenty of the following:

KeyError: 'rrul_50_down'
Traceback (most recent call last):
  File "/Users/Shared/samba/privat/MOEWE/techno_kram/CODE/flent/flent/gui.py", line 999, in flags
    self.active_widget.results.meta("NAME") != self.open_files[idx.row()].meta("NAME"))\
  File "/Users/Shared/samba/privat/MOEWE/techno_kram/CODE/flent/flent/gui.py", line 847, in __getitem__
    v = self._store[k]
KeyError: 'rrul_50_down'
Traceback (most recent call last):
  File "/Users/Shared/samba/privat/MOEWE/techno_kram/CODE/flent/flent/gui.py", line 1046, in data
    if self.is_primary(idx.row()) and font is not None:
  File "/Users/Shared/samba/privat/MOEWE/techno_kram/CODE/flent/flent/gui.py", line 964, in is_primary
    return self.active_widget.results == self.open_files[idx]
  File "/Users/Shared/samba/privat/MOEWE/techno_kram/CODE/flent/flent/gui.py", line 847, in __getitem__
    v = self._store[k]
KeyError: 'rrul_50_down'
Python(28548,0x7fff791ca300) malloc: *** error for object 0x7fc42c8cee28: incorrect checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6


This is with most recent flent on machos 10.10.5 with python 3.5, so I can not really see the 50 to 1 “fun"… Question, what should I see? The PNG only shows two lines for upload and download, where are the other 49 flows hiding? Or does the test show the results of a 50 flows test between a different set of machines on a simple one up one down test in a different pair of IPs that all share the cake shaper? I just want to understand how the perfect graph would look like…

For all my whining Dave , no that I see your constant diffserv arrays I actually believe, while tedious to fill these are quite elegant, and precomputing them probably is fine. (Looking at the in decimal is a fun after having tried hard to convince myself that DSCPs are bit patterns, I like the freedom the decimal view entails; since none of the existing DSCP schemes fit too well for a home net, we might as well come up with something fresh and easier to understand)

Best Regards
	Sebastian


> 
> Along WITH benchmarks showing lurid misbehavior (250+ms delay) at 50
> flows[1], which certainly is an disincentive to have a lot of flows
> per host, to be sure!
> 
> http://snapon.cs.kau.se/~d/dual/dualnevergetsqueuecontrolled.png
> Why did we take time out from fixing the mail server to do this?
> 
> FOR SCIENCE!
> 
> 
> [1] (it could just be a bug, and this IS a short RTT. but I've always
> said that flipping codel state around queues randomly was a bad
> idea[2]. A queue will empty, and then get reused by something else....
> eyeballs wanted. figuring out the hashy bits made my head hurt)
> 
> [2] flowblind still stayed stuck at 40ms delay under this workload at
> this bandwidth on this version of codel in cake.
> 
> http://snapon.cs.kau.se/~d/dual/flowblind40ms_50flows.png
> 
> 
> 
> 
> Dave Täht
> Let's go make home routers and wifi faster! With better software!
> https://www.gofundme.com/savewifi
> _______________________________________________
> Cake mailing list
> Cake@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/cake


  parent reply	other threads:[~2015-12-21 15:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-21 14:57 Dave Taht
2015-12-21 15:05 ` Jonathan Morton
     [not found]   ` <877fk7lts4.fsf@toke.dk>
2015-12-21 16:06     ` Jonathan Morton
2015-12-21 15:06 ` Loganaden Velvindron
2015-12-21 15:54 ` moeller0 [this message]
2015-12-22 12:29 ` 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=F7160C7A-C9CA-4A70-ACAF-A5DD6A326B7B@gmx.de \
    --to=moeller0@gmx.de \
    --cc=cake@lists.bufferbloat.net \
    --cc=dave.taht@gmail.com \
    --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