linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sujit Karataparambil <sjt.kar@gmail.com>
To: "M. Koehrer" <mathias_koehrer@arcor.de>, linux-rt-users@vger.kernel.org
Subject: Re: Ethernet communication from real time thread
Date: Thu, 30 Apr 2009 14:59:11 +0530	[thread overview]
Message-ID: <921ca19c0904300229g47889c67yedd3aa4acb73b20d@mail.gmail.com> (raw)
In-Reply-To: <20308172.1241074857487.JavaMail.ngmail@webmail19.ha2.local>

 think there are few questions you will have to answer before you end up with
an solution.

1. Is Xenomai is Configured to take care of Multicore Hard real time
Computation? Since
  you say that the Thread is running in Processor 3. How is Xenomai
Configured in case
  of the Multicore Solution
2. What are these hard real time computations in this particular thread?
3. How is Xenomai Taking care of this thread?
4. RTNET is running the UDP Part of Thread or Does not fork in Xenomai.

On Thu, Apr 30, 2009 at 12:30 PM, M. Koehrer <mathias_koehrer@arcor.de> wrote:
> Hi all,
>
> I have an application which is (so far) running using Xenomai and Rtnet.
> I am about to evaluate this using the rt_preemption patch (V2.6.29.1-rt9).
> It works quite smoothly, however I have some questions on the priorities that are used for
> Ethernet, UDP/IP based network communication.
> I have one separate NIC in my (Intel QuadCore) PC, that is used for a point-to-point connection
> with an embedded device. Communication is done via UDP.
> I have now a user thread (RT prio: 80) to do some computation and also the communication with
> the embedded device. This thread is the only running on core 3.
>
> My questions are now:
> A call of send() in my user space application to transmit a UDP message
> ends up in the network stack of Linux.
> Which real time priority will be used in the network stack?
> Is it the priority of the user space thread that is calling send()?
> Or is it the priority of the kernel thread [sirq-net-tx/3]?
>
> On the receive side (calling recv()):
> Which threads are relevant here?
> IRQ-XX for the NIC's irq thread, [sirq-net-rx/3] or also the user space thread that is calling recv()?
>
> Thanks for all feedback on that basic question!
>
> Best regards
>
> Mathias
>
>
> --
> Mathias Koehrer
> mathias_koehrer@arcor.de
>
>
> Arcor.de Gaming Area - kostenfrei daddeln bis der Arzt kommt!
> Jetzt checken und aus über 80 Spielen wählen!
> http://www.arcor.de/footer-gaming/
> --
> To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>



-- 
-- Sujit K M
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2009-04-30  9:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-30  7:00 Ethernet communication from real time thread M. Koehrer
2009-04-30  9:29 ` Sujit Karataparambil [this message]
2009-04-30 10:41 ` M. Koehrer
2009-04-30 11:04   ` Sujit Karataparambil
2009-04-30 11:17   ` M. Koehrer
2009-04-30 11:35     ` Sujit Karataparambil
2009-04-30 23:14 ` Stefan Agner
2009-05-27  7:39   ` How to change the ISR kthread priority in 2.6.26 series Suresh Kumar SHUKLA
2009-05-27 18:55     ` Remy Bohmer

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=921ca19c0904300229g47889c67yedd3aa4acb73b20d@mail.gmail.com \
    --to=sjt.kar@gmail.com \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=mathias_koehrer@arcor.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).