General list for discussing Bufferbloat
 help / color / mirror / Atom feed
From: "Toke Høiland-Jørgensen" <toke@toke.dk>
To: Forums1000 <forums1000@gmail.com>
Cc: bloat <bloat@lists.bufferbloat.net>
Subject: Re: [Bloat] How is bufferbloat prevented/fixed for UDP?
Date: Mon, 12 May 2014 22:21:37 +0200	[thread overview]
Message-ID: <87ha4u3fzi.fsf@toke.dk> (raw)
In-Reply-To: <CANfPCkU91zn-_oVSJyaN0_BukKY4YSCzagB=V5GwuocQYuowdw@mail.gmail.com> (Forums's message of "Mon, 12 May 2014 09:11:10 +0200")

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

Forums1000 <forums1000@gmail.com> writes:

> 1) With UDP, you cannot uniquely identify a flow? This prevents an
> AQM-algorithm to drop packets for an (several) offending UDP flow(s).

For most cases UDP flows are determined by port number pairs, same as
TCP. Multiple flows can be multiplexed over one "connection", but this
is no different from TCP.

> 2) Unlike TCP, UDP does not back down when encountering packet loss

This is true; i.e. not back-off mechanism is built into the protocol.
However, it is quite possible to build in such a mechanism in whatever
protocol is running *on top of* UDP. Indeed this is done for things like
real-time media protocol, and also bittorrents uTP protocol runs on top
of UDP.

So I guess the answer is "it all depends".

As an aside, if you *do* have an unresponsive UDP flow (whether
misconfigured or malignant), having a flow queueing mechanism like that
of fq_codel helps a lot; the bad UDP flow is then isolated and only
hurts itself, so to speak. :)

-Toke

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 489 bytes --]

  reply	other threads:[~2014-05-12 20:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-12  7:11 Forums1000
2014-05-12 20:21 ` Toke Høiland-Jørgensen [this message]
     [not found] <mailman.3.1399921203.1657.bloat@lists.bufferbloat.net>
2014-05-12 20:25 ` David Collier-Brown
2014-05-13  4:33 Hal Murray

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/bloat.lists.bufferbloat.net/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ha4u3fzi.fsf@toke.dk \
    --to=toke@toke.dk \
    --cc=bloat@lists.bufferbloat.net \
    --cc=forums1000@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