HOWTO: Build an RT-application

From RTwiki
Revision as of 20:33, 16 December 2006 by Remy (Talk | contribs)

Jump to: navigation, search




Remy Bohmer Software Engineer Linux RT platform


Revision History
Revision 1 2006-12-16
Draft / Work in progress


This document describes the steps to writing hard realtime linux programs while using the Realtime Preemption Patch. It also describes the pitfalls that destroy the realtime responsiveness. It focusses on x86, as this is currently the most mature architecture.

Common Pitfalls

Why is X86 not the ideal RT platform?

Negative impact VGA Console

Writing hard realtime applications

Step 1: Preventing Pagefaults

Step 2: Memory Locking

Step 3: Is Dynamic Memory allocation possible?

Step 4: The use of the filesystem

Personal tools