From: Eric Dumazet <eric.dumazet@gmail.com>
To: "Erdt, Ralph" <ralph.erdt@fkie.fraunhofer.de>
Cc: Rick Jones <rick.jones2@hp.com>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: Re: AW: RFC: replace packets already in queue
Date: Fri, 29 Jun 2012 11:06:57 +0200 [thread overview]
Message-ID: <1340960817.15719.6.camel@edumazet-glaptop> (raw)
In-Reply-To: <FB112703C4930F4ABEBB5B763F96491139378E5A@MAILSERV2A.lorien.fkie.fgan.de>
On Fri, 2012-06-29 at 08:46 +0000, Erdt, Ralph wrote:
> Hello Rick Jones,
>
> > You might want to try the recent "codel" additions to the stack. They
> > seek to keep the size of queues more manageable while still allowing
> > the occasional burst.
> Thank you for your hint. This is surly a needful solution in normal network, but this didn't help us:
> We are working with very heterogeneous networks:
> Internal: 100MBit and more.
> Extern: 9,6*K*Bit and LESS(*), and shared, and...
> A few other information: wireless (higher packet loss rate), medium access time > 100ms, RTT (standard ping) with IDLE network: 1,5 *seconds*, RTT with network load: minutes(!), and so on. Just very shocking..
>
> TCP isn't usable over such a link. So we are only sending UDP. The codel didn't help us, as codel addresses the flow speed. It's dropping "randomly" (I know it's not random in the lower level, but it's random from the application's perspective) packets.
>
> I'm addressing the amount of information: Trying to reduce it intelligently by REPLACING old packets with new ones.. Surely - the application must handle this. But in such a network a administrator have to configure the queues and he knows the applications.
> In one private mail someone guesses that we are making VoIP. No - we just want to send status information (e.g. sensor information) which will get deprecated, when a new information is available.
>
> I know, this is a very special problem, which didn't occur in normal or even abnormal situations. But I'm sure there are some other people having the this problem, too. So I'm glad to share my solution.
>
> (*you remember the good ol' times with modems over telephone lines? When the internet was called BBS? And how it suddenly feels, when the BBS starts using ANSI? This was comfortable compared to our problem..)
Problem is : with wireless, chances are high that the old packet is not
waiting in qdisc, but in wireless queues.
Anyway, adding a maxdelay to codel / fq_codel is really easy : This
would drop packet if its sejourn time is above a given limit.
You could use codel with @target being greater than @maxdelay to remove
all probabilistic drops, and only keep the @maxdelay behavior.
If you want I can cook this patch.
next prev parent reply other threads:[~2012-06-29 9:07 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-28 13:18 RFC: replace packets already in queue Erdt, Ralph
2012-06-28 16:24 ` Rick Jones
2012-06-29 8:46 ` AW: " Erdt, Ralph
2012-06-29 9:06 ` Eric Dumazet [this message]
2012-07-02 7:02 ` Erdt, Ralph
2012-07-02 7:31 ` Eric Dumazet
2012-07-02 8:38 ` AW: " Erdt, Ralph
2012-07-02 17:25 ` Rick Jones
2012-07-02 20:32 ` Nicolas de Pesloüan
2012-07-02 21:56 ` Eric Dumazet
2012-07-03 7:29 ` AW: " Erdt, Ralph
2012-07-03 10:02 ` RFC: (now non Base64) " Erdt, Ralph
2012-07-04 20:32 ` Nicolas de Pesloüan
2012-07-18 14:50 ` AW: " Erdt, Ralph
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1340960817.15719.6.camel@edumazet-glaptop \
--to=eric.dumazet@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=ralph.erdt@fkie.fraunhofer.de \
--cc=rick.jones2@hp.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