Hi,

I think shared memory is rarely needed. Fifos as programmed by Michael
are already very effective. However they can suffer from limited buffer
size and by the rtl_tq running only when the scheduler is run.

The latter point is for a matter of dispute with the friends at NMT, but
is going unheard.

The limitation of the buffer size can be easily solved by modifying
rtf_create so that the buffer is assigned statically at module load by
the user in kernel space, without any limitation. I'm using routinely 10
Mb on a 64 Mb ram, without any problem. 

With such a buffer even the glitches in scheduling fifo reading/writing
processes can often be easily absorbed. There is the slight disadvantage
of a double memory copy that, with today computer power, is not
significant.

There is on the contrary a big advantage in using fifos, any
sinchronization problem is already solved, Linux processes can sleep or
poll as you like.


Ciao, Paolo.
--- [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/

Reply via email to