All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stanislav Meduna <stano@meduna.org>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: "Nebojša Ćosić" <nebojsa@asnn.org>,
	"eg Engleder Gerhard" <eg@keba.com>,
	linux-rt-users <linux-rt-users@vger.kernel.org>
Subject: Re: UDP jitter
Date: Fri, 08 Nov 2013 13:14:18 +0100	[thread overview]
Message-ID: <527CD59A.7000304@meduna.org> (raw)
In-Reply-To: <alpine.DEB.2.02.1311081121190.23353@ionos.tec.linutronix.de>

On 08.11.2013 12:30, Thomas Gleixner wrote:

> The default queue of the network stack is a single fifo queue. So what
> are you expecting from a single queue? That it's magically allowing
> your high priority task to succeed? And just because you are too lazy
> or unable to understand the concepts of advanced networking you join
> the choir and shout "priority inversion"?

I did not meant the priority inversion in the strict thread running/blocked
sense. If the

  On 08.11.2013 11:51, eg Engleder Gerhard wrote:

  > In my situation the transmission of the packet from the high-prio
  > thread is delayed until the low-prio thread is scheduled again.

is true then to me it is a kind of priority inversion.

It is understood that the default implementation will not change
the order of packets already queued for transmission.

> There are other ways to solve this without touching a single line of
> kernel code. The technology is all there, you just have to use it. Of
> course that requires to understand it in the first place,

Fair enough.

> Hell no, there is no way to cure blissful ignorance with kernel
> patches.

The thing is that the userspace developers assume things. In this
case they assume that if a higher prio thread wants to send
a network packet and the send() returns, the maximum time until
that one packet gets out on the wire is the time all the already
queued packets need to get out. If this is true, I'm perfectly
fine - but from what Nebojsa and Gerhard are writing I have
my doubts and I am a bit scared as it can affect what we are
doing. As my job is not a kernel developer, I have to trust
others on this...

If not, I would not call it ignorance. This is IMHO a reasonable
assumption.

Thanks
-- 
                                          Stano


  parent reply	other threads:[~2013-11-08 12:14 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-29 20:22 UDP jitter Nebojša Ćosić
2013-04-30 15:22 ` Carsten Emde
2013-04-30 17:26   ` Nebojša Ćosić
2013-11-06  8:53     ` AW: " eg Engleder Gerhard
2013-11-06 11:57       ` Nebojša Ćosić
2013-11-06 19:07         ` Thomas Gleixner
2013-11-07  8:00           ` AW: " eg Engleder Gerhard
2013-11-07  9:33             ` Nebojša Ćosić
2013-11-08  2:07               ` Thomas Gleixner
2013-11-08  9:39                 ` Stanislav Meduna
2013-11-08 10:32                   ` Nebojša Ćosić
2013-11-08 11:48                     ` Thomas Gleixner
2013-11-08 12:22                       ` Armin Steinhoff
2013-11-08 18:57                       ` E-Blokos
2013-11-08 10:50                   ` Tom Cook
2013-11-08 10:51                   ` AW: " eg Engleder Gerhard
2013-11-08 11:30                   ` Thomas Gleixner
2013-11-08 12:07                     ` AW: " eg Engleder Gerhard
2013-11-08 13:35                       ` Thomas Gleixner
2013-11-09 10:26                         ` Nebojša Ćosić
2013-11-09 16:33                       ` Joe Korty
2013-11-08 12:14                     ` Stanislav Meduna [this message]
2013-11-08 13:32                       ` Thomas Gleixner

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=527CD59A.7000304@meduna.org \
    --to=stano@meduna.org \
    --cc=eg@keba.com \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=nebojsa@asnn.org \
    --cc=tglx@linutronix.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.