Skip to main content.
Navigation:
DENX
>
PPCEmbedded
>
RealtimeResponse
Translations:
Edit
|
Attach
|
Raw
|
Ref-By
|
Printable
|
More
PPCEmbedded
Sections of this site:
DENX Home
|
DULG
|
ELDK-5
|
Know
|
Training
|
U-Boot
|
U-Bootdoc
Topics
PPCEmbedded Home
Changes
Index
Search
Go
List of pages in PPCEmbedded
Search
%SECTION0{name=Realtime}% Realtime Response Check out MontaVista's Linux Real-Time characterisation projects at [[http://www.mvista.com/realtime]] %SECTION1{name=Soft}% Soft For many applications a soft realtime user space thread is adequate, particularly if you minimize kernel scheduling latency with the patches at [[http://www.redhat.com/~mingo/lowlatency-patches/]] Also, see [[http://lists.linuxppc.org/listarcs/linuxppc-embedded/199912/msg00006.html]] %SECTION1{name=Hard}% Hard If your application requires a hard real time response with guaranteed low latency, you may need to encapsulate the realtime aspects in a device driver. This is how devices that have realtime constraints such as serial ports and disk drives are traditionally handled under most non-realtime operating systems, including Linux. %SECTION2{name=InterruptLatency}% Interrupt Latency The realtime response of a driver will still be affected by other kernel code which may disable interrupts for unknown periods, increasing effective interrupt latency. For some tools to help measure interrupt latency, see [[http://www.drfruitcake.com/linux/irq_blk.html]] %SECTION2{name=RTLinux}% RTLinux - Real-Time Linux * [[http://www.rtlinux.com/]] If you need better latency guarantees than offerred by the kernel, use Real-Time Linux to decouple the hard realtime portion from the rest of your application. v3.0 includes support for PowerPC. Also, search for [[http://lists.linuxppc.org/cgi-bin/wilma/wilma_glimpse/linuxppc-embedded?query=RTLinux][RTLinux]]. %SECTION2{name=RTAI}% RTAI - Real Time Application Interface * [[http://www.aero.polimi.it/projects/rtai/]] The Real Time Application Interface is a kernel module which uses a hardware abstraction layer to add typical features from an industrial realtime operating system to Linux. It consists basically of an interrupt dispatcher and mainly traps the peripherals interrupts and if necessary re-routes them to Linux. RTAI is supported on a number of MPC8xx systems by people like %REF{type=Section,topic=CompilerToolset,name=DENX,text=DENX}%.
14. Floating Point
1. Introduction
16. Threads
Prev
Home
Next