From: Jesper Dangaard Brouer <jbrouer@redhat.com>
To: Simon Barber <simon@superduper.net>
Cc: codel@lists.bufferbloat.net, cerowrt-devel@lists.bufferbloat.net,
bloat@lists.bufferbloat.net
Subject: Re: [Codel] [Bloat] Latest codel, fq_codel, and pie sim study from cablelabs now available
Date: Mon, 6 May 2013 19:54:38 +0200 [thread overview]
Message-ID: <20130506195438.5df6d1cd@redhat.com> (raw)
In-Reply-To: <5181CD56.9050501@superduper.net>
On Wed, 01 May 2013 19:20:06 -0700 Simon Barber <simon@superduper.net>
wrote:
> Or one could use more queues in SFQ, so that the chance of 2 streams
> sharing a queue is small. Even perhaps use a different strategy than
> hashing to distribute traffic to queues, although whatever strategy
> is used needs to be resistant to DoS attacks. Or one could classify
> the VoIP traffic and prioritise that. Another possibility is a
> heuristic approach - don't mix long lived bulk data streams in the
> same bucket as others.
The Linux implementation of fq_codel is actually doing a really nice
trick to distinguish between new and old flows. Giving new flows
precedence and avoiding they get exposed to a round-robin delay from
all the old "bulk" data streams.
A flow is considered "new" if no packets for the given flow exists in
the queue. It does not have to be a truly new-flow, it just have to
send packets "slow"/paced enough, that the queue is empty when the next
packet arrive.
Perhaps VoIP would fit this traffic profile, and thus would work better
with the Linux fq_codel implementation, compared to the SFQ-Codel used
in the simulation.
Looking at the implementation, it does have the problem that the match
for "if the flow already have packets in the queue" just looks to see
if the hash bucket is empty. Thus 2 stream sharing a hash queue throw
this off.
--
Best regards,
Jesper Dangaard Brouer
MSc.CS, Sr. Network Kernel Developer at Red Hat
Author of http://www.iptv-analyzer.org
LinkedIn: http://www.linkedin.com/in/brouer
next prev parent reply other threads:[~2013-05-06 17:54 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-01 11:23 [Codel] " Dave Taht
2013-05-01 20:26 ` [Codel] [Bloat] " Simon Barber
2013-05-02 0:00 ` Jonathan Morton
2013-05-02 2:20 ` Simon Barber
2013-05-02 4:59 ` Andrew McGregor
2013-05-02 12:04 ` Jonathan Morton
2013-05-02 13:29 ` Simon Perreault
2013-05-14 2:26 ` Dan Siemon
2013-05-14 4:56 ` Tristan Seligmann
2013-05-14 10:24 ` Dave Taht
2013-05-14 13:02 ` Eric Dumazet
2013-06-11 18:19 ` [Codel] [Cerowrt-devel] " Michael Richardson
2013-05-14 12:12 ` [Codel] " Jesper Dangaard Brouer
2013-05-06 17:54 ` Jesper Dangaard Brouer [this message]
2013-05-06 18:46 ` Jonathan Morton
2013-05-06 20:47 ` Jesper Dangaard Brouer
2013-05-07 16:22 ` Greg White
2013-05-07 13:31 ` [Codel] [Cerowrt-devel] " Michael Richardson
2013-05-07 16:30 ` [Codel] [Bloat] [Cerowrt-devel] " Greg White
2013-05-07 19:56 ` [Codel] [Bloat] " Wes Felter
2013-05-07 20:30 ` Eric Dumazet
2013-05-08 22:25 ` Dave Taht
2013-05-08 22:54 ` Eric Dumazet
2013-05-09 1:45 ` Andrew McGregor
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/codel.lists.bufferbloat.net/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130506195438.5df6d1cd@redhat.com \
--to=jbrouer@redhat.com \
--cc=bloat@lists.bufferbloat.net \
--cc=cerowrt-devel@lists.bufferbloat.net \
--cc=codel@lists.bufferbloat.net \
--cc=simon@superduper.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