hello,
On Wed, Nov 15, 2000 at 10:44:36AM -0500, Stephen D. Cohen wrote:
# Dngrong Yi wrote:
#
# > Consider such a scenerio, one rtlinux's program and one normal linux
# > program. The rtlinux program write to a fifo with
# > very high rate a structure, and the fifo is created to be
# > the same size
# > as that of the structure. The user program read the same
# > structure from
# > that same fifo.
# ...
# What do I mean? Unless you have a really *huge* structure to
# communicate (larger than hundreds of kilobytes) or are severely memory
# restricted, you should allocate the FIFO to be several times larger than
# your structure. This allows some buffering to handle the cases where your
# user space task does not get control immediately when RTLinux returns
# control to Linux, etc. Remember, you are not the only process running in
# user space.
# ...
i have a question associated with fifo performance.
my scenario differs a bit. i have a realtime task and a task which is run withing
kernel, not realtime(implemented as a kernel module). i need to organize communication
between those tasks.
are there any estimations of fifo performance ? or may be for that purpose use of the
shared memory will be more appropriate ? the problem is that i have to make this
communication interface as fast as possible.
any information/pointers are greatly appreciated.
regards,
Denis.
--
("\''/").__..-''"`-. . [EMAIL PROTECTED]
`9_ 9 ) `-. ( ).`-._.`) http://www.lut.fi/~karpov/
(_Y_.)' ._ ) `._`. " -.-' +358 (0)40 502 0931
_..`-'_..-_/ /-'_.' Lappeenranta University of Technology
(l)-'' ((i).' ((!.'
*** Advice is free: The right answer will cost plenty. ***
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/