All of lore.kernel.org
 help / color / mirror / Atom feed
* Effective way to stream data from xenomai task to linux domain task
@ 2021-02-10 16:54 Jan Holtz
  2021-02-10 17:08 ` Philippe Gerum
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Holtz @ 2021-02-10 16:54 UTC (permalink / raw)
  To: xenomai

   Hello,

   i am running a xenomai 3 on a SMP cobalt kernel using the alchemy skin.

   I have a rt task running in a 10kHz period which has to transfer every
   40ms a amount of data (30.000 byte)  to the linux domain task.

   At moment i am using a rt_pipe with the file backend on linux side.
   In my setup the rt_pipe_write call takes upto 60 microseconds .
   Measured using rt_timer_read.

   I expected that writing to the pipe is the bottleneck, so i created a
   second task and used a queue to push data to this task, which is
   feeding the pipe.
   The runtime for the rt_queue_write is like the same, which i measured
   bevore using the rt_pipe_write.

   My questions:
   Is the amout of time i need for this action expectable, or may i have
   another issue?
   Is there a more effective way to communicate/stream data to the linux
   task? Are the xddp sockets faster on the xenomai side (i iam correct
   the pipe is based on this?)


   Hope you have s suggestion or a tip.

   Thank you
     Jan

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

end of thread, other threads:[~2021-02-10 17:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-10 16:54 Effective way to stream data from xenomai task to linux domain task Jan Holtz
2021-02-10 17:08 ` Philippe Gerum
2021-02-10 17:31   ` Philippe Gerum

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.