From: "M. Koehrer" <mathias_koehrer@arcor.de>
To: linux-rt-users@vger.kernel.org
Subject: Ethernet communication from real time thread
Date: Thu, 30 Apr 2009 09:00:57 +0200 (CEST) [thread overview]
Message-ID: <20308172.1241074857487.JavaMail.ngmail@webmail19.ha2.local> (raw)
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
next reply other threads:[~2009-04-30 7:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-30 7:00 M. Koehrer [this message]
2009-04-30 9:29 ` Ethernet communication from real time thread Sujit Karataparambil
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=20308172.1241074857487.JavaMail.ngmail@webmail19.ha2.local \
--to=mathias_koehrer@arcor.de \
--cc=linux-rt-users@vger.kernel.org \
/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).