linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Ethernet communication from real time thread
@ 2009-04-30  7:00 M. Koehrer
  2009-04-30  9:29 ` Sujit Karataparambil
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: M. Koehrer @ 2009-04-30  7:00 UTC (permalink / raw)
  To: linux-rt-users

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-05-27 18:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-30  7:00 Ethernet communication from real time thread M. Koehrer
2009-04-30  9:29 ` 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

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).