All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] 10us periodical task (Xenomai vs. RTAI)
@ 2007-05-22  7:42 Igor Plyatov
  2007-05-22 20:11 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 5+ messages in thread
From: Igor Plyatov @ 2007-05-22  7:42 UTC (permalink / raw)
  To: xenomai

Hello!

>> > Is it possible to get 10us period for task in Xenomai or not?
> 
> Running a task with a period of 10us is usually considered a bit out of
> the scope of Xenomai. Nevertheles, there were some recent improvements
> on Xenomai trunk that might make this possible. It would be interesting
> if you tested this with trunk and tell us whether it works.
Can somebody recommend applicable opensource RTOS extension for Linux
(with support for x86 and ARM)?

> Also note that in order to get ultra-low latencies, you have to properly
> calibrate the nucleus latency (/proc/xenomai/latency).
How to do this? (Please, navigate me to the rigth documentation or 
answer in this list).

>> > May be better to use only ADEOS functions for my task, is it faster then
>> > RTDM?
> 
> Adeos has no notion of a "task", so, you would have to implement your
> task in an interrupt handler, and yes, you would get better performance
> (see for example the difference between latency -t 2 and latency -t 1).
Can somebody give me a simple example of fast periodical "task" with 
usage of only ADEOS functions.

-- 
Igor Plyatov






^ permalink raw reply	[flat|nested] 5+ messages in thread
* [Xenomai-help] 10us periodical task (Xenomai vs. RTAI)
@ 2007-05-21 13:12 Igor Plyatov
  2007-05-21 14:28 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 5+ messages in thread
From: Igor Plyatov @ 2007-05-21 13:12 UTC (permalink / raw)
  To: xenomai

Hello!

Thank to all excellent guys who make Xenomai (great work)!

I'm novice in Xenomai.
One day I read the article at "Linux Devices" about software radio on
Linux with RTAI:
http://www.linuxdevices.com/articles/AT3239582376.html

"Coupard's demo generate a carrier frequency of 153 KHz, based on
running the real-time task on every system timer interrupt, or 306,000
times per second. Since at that rate it required a 500 MHz Pentium or
faster."

I try to make something like this with Xenomai's RTDM, but do not get
good results.
I need a kernel task, with period 10us, which do little calculations and
output data to the LPT port.
What I can get with acceptable jitter (and without any calculations in
task):
  20us on 2.4GHz Pentium4
  100us on 150MHz Pentium

Is it possible to get 10us results in Xenomai or not?
May be better to use only ADEOS functions for my task, is it faster then
RTDM?
What is the state of RTAI nowadays, is it still a live?

-- 
Igor Plyatov




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

end of thread, other threads:[~2007-05-22 20:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-22  7:42 [Xenomai-help] 10us periodical task (Xenomai vs. RTAI) Igor Plyatov
2007-05-22 20:11 ` Gilles Chanteperdrix
  -- strict thread matches above, loose matches on Subject: below --
2007-05-21 13:12 Igor Plyatov
2007-05-21 14:28 ` Gilles Chanteperdrix
2007-05-21 15:05   ` 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.