Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

Real Time in Embedded Linux System

201 bytes added, 17:26, 15 November 2011
no edit summary
Based on free training materials from Free Electrons covering real-time (http://free-electrons.com/docs/realtime/)
Learn how to handle real-time processes and practice with the different real-time modes. Measure The purpose of this article is measure scheduling latencyin different conditions== Setup ==
== Using high-resolution timers ==
Execute the program on the board
=== Testing the non-voluntary preemption kernel ===
=== Testing the voluntary preemption kernel ===Test done with linux-2.6.35.y branch from git://git.igep.es/pub/scm/linux-omap-2.6.git
Recompile your kernel with CONFIG_PREEMPT_VOLUNTARY enabled and test the program with nothing special
=== Testing the preemptible kernel ===
 
Test done with linux-2.6.35.y branch from git://git.igep.es/pub/scm/linux-omap-2.6.git
Recompile your kernel with CONFIG_PREEMPT enabled and test the program with nothing special
=== Testing the Xenomai scheduling latency ===
$ wget httpTest done with linux-2.6.35.y-rt branch from git://downloadgit.gnaigep.orges/xenomaipub/stablescm/xenomailinux-omap-2.6.0.tar.bz2git
Recompile your kernel with CONFIG_XENOMAI enabled and test the program with nothing special
Max latency: 395 us
Average latency: 30 us
 
=== rt-tests ===
 
$ git clone git://github.com/clrkwllms/rt-tests.git
== Links ==
** https://www.osadl.org/Latency-generator.latency-generator.0.html
** https://www.osadl.org/Visualize-the-temporal-relationship-of-L.taks-visualizer.0.html
** http://elinux.org/Realtime_Testing_Best_Practices
* Other resources
** http://www.osadl.org/Realtime-Linux.projects-realtime-linux.0.html
** https://rt.wiki.kernel.org/index.html
** https://www.osadl.org/fileadmin/dam/rtlws/12/Brown.pdf
** http://embedded.communities.intel.com/servlet/JiveServlet/download/4435-1248/xeno_intel.pdf
0
edits