170 likes | 248 Views
Real-Time Linux Testing. Kalynnda Berens Kalynnda.Berens@grc.nasa.gov Richard Plastow Richard.Plastow@grc.nasa.gov. Variants Chosen . RTLinux RTAI Kurt RTLinux Pro. Embedded Emulators. Micro/Sys SBC2590 100 MHz pentium 32 MB ram 768K Flash Disk Embedded Planet EP405
E N D
Real-Time Linux Testing Kalynnda Berens Kalynnda.Berens@grc.nasa.gov Richard Plastow Richard.Plastow@grc.nasa.gov SAIC @ NASA Glenn Research Center
Variants Chosen • RTLinux • RTAI • Kurt • RTLinux Pro SAIC @ NASA Glenn Research Center
Embedded Emulators • Micro/Sys SBC2590 • 100 MHz pentium • 32 MB ram • 768K Flash Disk • Embedded Planet EP405 • Power PC 200 MHz • 16 MB ram SAIC @ NASA Glenn Research Center
Test Cases Written ~ 50 • User Space • Kernel Space • I/O use • Remote Procedure Capabilities • Inter-process Communication SAIC @ NASA Glenn Research Center
User Space Tests • Memory • Shared • Allocation • Leaks • Violation • Process Spawning • Stress • CPU • Cache • Memory • Stack • Scheduler SAIC @ NASA Glenn Research Center
User Space Tests cont. • Scheduling • Deadlock • Overhead • Stability • Program Crashes • Error Handling SAIC @ NASA Glenn Research Center
Kernel Space Tests • All User Space Tests • Real Time Function calls • Real Time System calls • Configuration • Timing SAIC @ NASA Glenn Research Center
Kernel Space Tests – cont. • Priority Inversion • Load/Unload Modules • Real Time I/O • Task Starvation • Scheduler Accuracy SAIC @ NASA Glenn Research Center
I/O Tests • Serial Port • Parallel Port • Ethernet • UDP • TCP/IP • USB • File System • Interrupts SAIC @ NASA Glenn Research Center
Remote Procedures • Start a task on another machine • Start a task in user space • Access a remote database SAIC @ NASA Glenn Research Center
Inter-Process Communication • Shared memory space • First-In-First-Out (FIFO) buffers • Mutexes • Tokens • Critical sections SAIC @ NASA Glenn Research Center
Test Cases Summary • Intel processor cases written • Tests verified on Development Station and laptop • Cross-compile to Power PC SAIC @ NASA Glenn Research Center
Intel Emulator • Assembly complete • Initial functions tested • RTLinux installed using a boot disk • Configuration in progress SAIC @ NASA Glenn Research Center
Power PC Emulator • Assembled • Initial operations tested SAIC @ NASA Glenn Research Center
Additional Items • Test Suites Selected • Linux Test Project – Intel Only • Linux Trace Toolkit – Intel Only • LLC Bench – Power PC only • LMBench – Intel Only • CPUBurn – Intel Only • Crashme – Intel Only SAIC @ NASA Glenn Research Center
Additional Items – cont. • Latest stable versions of code • Linux kernel 2.4.20 • Mandrake 9.1 • Flight Linux lessons learned • VXWorks AE Evaluation Project SAIC @ NASA Glenn Research Center