Real-Time Linux Evaluation NASA Glenn Research Center Kalynnda Berens Richard Plastow

Slides:



Advertisements
Similar presentations
1 Interprocess Communication 1. Ways of passing information 2. Guarded critical activities (e.g. updating shared data) 3. Proper sequencing in case of.
Advertisements

1 Real-time Linux Evaluation Kalynnda Berens, GRC
Real Time Versions of Linux Operating System Present by Tr n Duy Th nh Quách Phát Tài 1.
More on Processes Chapter 3. Process image _the physical representation of a process in the OS _an address space consisting of code, data and stack segments.
1 SQA & Reuse Katerina Goseva-Popstojanova, WVU Aaron Wilson, NASA IV&V Kalynnda Berens & Richard Plastow, GRC Joanne Bechta Dugan, UVa David Gilliam JPL.
Computer Systems/Operating Systems - Class 8
Embedded and Real-time Operating Systems The suitability of Linux.
CMPT 300: Operating Systems Review THIS REIVEW SHOULD NOT BE USED AS PREDICTORS OF THE ACTUAL QUESTIONS APPEARING ON THE FINAL EXAM.
Embedded Real-time Systems The Linux kernel. The Operating System Kernel Resident in memory, privileged mode System calls offer general purpose services.
Real-Time Kernels and Operating Systems. Operating System: Software that coordinates multiple tasks in processor, including peripheral interfacing Types.
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
Software Fault Injection Kalynnda Berens Science Applications International Corporation NASA Glenn Research Center.
Introduction Operating Systems’ Concepts and Structure Lecture 1 ~ Spring, 2008 ~ Spring, 2008TUCN. Operating Systems. Lecture 1.
1 SOFTWARE TECHNOLOGIES BUS Abdou Illia, Spring 2007 (Week 2, Thursday 1/18/2007)
Embedded Linux Sandeep Sirpatil Graduate Student University of North Carolina Charlotte Feb 7, 2005.
Basics of Operating Systems March 4, 2001 Adapted from Operating Systems Lecture Notes, Copyright 1997 Martin C. Rinard.
CprE 458/558: Real-Time Systems (G. Manimaran)1 RTLinux Lab – Introduction Cpre 558 Anil
Performance Evaluation of Real-Time Operating Systems
Chapter 8 Windows Outline Programming Windows 2000 System structure Processes and threads in Windows 2000 Memory management The Windows 2000 file.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
Exam Review cs550 Operating Systems. Preliminary Information Exam will focus on new content, but old content is still fair game. Exam format will be the.
1 SAM & OLAR. 2 Upon completion of this module, you will be able to: List significant changes to system administration tasks in HP-UX 11i Determine system.
 What is an operating system? What is an operating system?  Where does the OS fit in? Where does the OS fit in?  Services provided by an OS Services.
Final Year Project Electronic & Computer Engineering Student: Andrew Sweeney Supervisor: Dr. Peter Corcoran Design and Realisation of Experiments for an.
Real-time Linux Evaluations NASA Glenn Research Center Kalynnda Berens, SAIC Richard Plastow, SAIC.
Xenomai’s Porting on processor NIOS II Professor : P. Kadionik Authors : Bassi Vincent Louati Azza Mirault Raphael Polette Simon.
Processes and Threads Processes have two characteristics: – Resource ownership - process includes a virtual address space to hold the process image – Scheduling/execution.
Cpr E 308 Spring 2004 Real-time Scheduling Provide time guarantees Upper bound on response times –Programmer’s job! –Every level of the system Soft versus.
XOberon Operating System CLAUDIA MARIN CS 550 Fall 2005.
Chapter 13: I/O Systems. 13.2/34 Chapter 13: I/O Systems I/O Hardware Application I/O Interface Kernel I/O Subsystem Transforming I/O Requests to Hardware.
PART II OPERATING SYSTEMS LECTURE 8 SO TAXONOMY Ştefan Stăncescu 1.
LINUX System : Lecture 7 Bong-Soo Sohn Lecture notes acknowledgement : The design of UNIX Operating System.
Real-Time, Clocking, and Porting (My Job ) Determining the Real Time Capabilities of various Operating Systems. Writing code to support Real Time Clocking.
Scott Ferguson Section 1
Processes and Process Control 1. Processes and Process Control 2. Definitions of a Process 3. Systems state vs. Process State 4. A 2 State Process Model.
Sep. 17, 2002BESIII Review Meeting BESIII DAQ System BESIII Review Meeting IHEP · Beijing · China Sep , 2002.
1 VxWorks 5.4 Group A3: Wafa’ Jaffal Kathryn Bean.
M a c O S X CS-450-1: Operating Systems Fall 2005 Matt Grady – Mike O’Connor – Justin Rains.
Challenges in Porting & Abstraction. Getting Locked-In Applications are developed with a particular platform in mind The software is locked to the current.
Hands-On Virtual Computing
Advanced Operating Systems Introduction and Overview.
Chapter 3: Processes. 3.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts - 7 th Edition, Feb 7, 2006 Chapter 3: Processes Process Concept.
Introduction Contain two or more CPU share common memory and peripherals. Provide greater system throughput. Multiple processor executing simultaneous.
Unit - I Real Time Operating System. Content : Operating System Concepts Real-Time Tasks Real-Time Systems Types of Real-Time Tasks Real-Time Operating.
Course 03 Basic Concepts assist. eng. Jánó Rajmond, PhD
Embedded Real-Time Systems Processing interrupts Lecturer Department University.
Comparison on Size FreeRTOS RTLinux Kernel Size Kernel Size
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
Big Picture Lab 4 Operating Systems C Andras Moritz
UNIX U.Y: 1435/1436 H Operating System Concept. What is an Operating System?  The operating system (OS) is the program which starts up when you turn.
KNU RTLAB A Real-Time Linux System For Autonomous Navigation And Flight Attitude Control Of An Uninhabited Aerial Vehicle Charles E. Hall, Jr. Mechanical.
Embedded Real-Time Systems
Real-Time Operating Systems RTOS For Embedded systems.
Introduction to Real-Time Operating Systems
cFS Platforms OSAL and PSP
Homework Reading Machine Projects Labs
REAL-TIME OPERATING SYSTEMS
Topics Covered What is Real Time Operating System (RTOS)
Lesson Objectives Aims Key Words
Operating System Structure
Who’s in charge in there?
CS703 - Advanced Operating Systems
Real-time Linux Evaluation
Threads and Concurrency
Chapter 2: Operating-System Structures
Major Topics in Operating Systems
LINUX System : Lecture 7 Lecture notes acknowledgement : The design of UNIX Operating System.
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
RTOS Modelling Naren Bala.
Chapter 2: Operating-System Structures
Presentation transcript:

Real-Time Linux Evaluation NASA Glenn Research Center Kalynnda Berens Richard Plastow

Mission Success Starts With Safety NASA Glenn Research Center2 SAS, 2004 Research Overview Compare real-time Linux variants  Are lower-cost alternatives good enough? Provide projects with data to make informed decisions on operating systems Use a standardized test approach  Across all real-time Linux variants  Compatible with previous VxWorks testing Hardware differences prevent timing comparisons

Mission Success Starts With Safety NASA Glenn Research Center3 SAS, 2004 Variants Chosen RTLinux (free version) V3.2 pre3 RTLinux Pro (commercial) V2.0 RTAI V Kurt Linux Kernel Jaluna and/or MontaVista

Mission Success Starts With Safety NASA Glenn Research Center4 SAS, 2004 Embedded Emulators Micro/Sys SBC2590  100 MHz pentium  32 MB ram  768K Flash Disk Embedded Planet EP405  Power PC 200 MHz  16 MB ram

Mission Success Starts With Safety NASA Glenn Research Center5 SAS, Test Cases User Space Kernel Space I/O use Remote Procedure Capabilities Inter-process Communication Stability

Mission Success Starts With Safety NASA Glenn Research Center6 SAS, 2004 User Space Tests Memory  Shared  Allocation  Leaks  Violation Process Spawning Scheduling Deadlock Overhead Stability Program Crashes Error Handling Stress  CPU  Cache  Memory  Stack  Scheduler

Mission Success Starts With Safety NASA Glenn Research Center7 SAS, 2004 User Space Task Creation

Mission Success Starts With Safety NASA Glenn Research Center8 SAS, 2004 User Space Program Forking

Mission Success Starts With Safety NASA Glenn Research Center9 SAS, 2004 Kernel Space Tests All User Space Tests Real Time Function calls Real Time System calls Configuration Timing Priority Inversion Load/Unload Modules Real Time I/O Task Starvation Scheduler Accuracy

Mission Success Starts With Safety NASA Glenn Research Center10 SAS, 2004 Timing Jitter - Harmonic

Mission Success Starts With Safety NASA Glenn Research Center11 SAS, 2004 Timing Jitter - NonHarmonic

Mission Success Starts With Safety NASA Glenn Research Center12 SAS, 2004 Context Switch Times

Mission Success Starts With Safety NASA Glenn Research Center13 SAS, 2004 Hardware Interrupts

Mission Success Starts With Safety NASA Glenn Research Center14 SAS, 2004 Software Interrupts

Mission Success Starts With Safety NASA Glenn Research Center15 SAS, 2004 Kernel Task Creation

Mission Success Starts With Safety NASA Glenn Research Center16 SAS, 2004 I/O Tests Remote Procedures Serial Port Parallel Port Ethernet  UDP  TCP/IP USB File System Interrupts Start a task on another machine Start a task in user space Access a remote database

Mission Success Starts With Safety NASA Glenn Research Center17 SAS, 2004 RTAI Hard drive Write Times

Mission Success Starts With Safety NASA Glenn Research Center18 SAS, 2004 RTLinuxPro Hard drive Write Times

Mission Success Starts With Safety NASA Glenn Research Center19 SAS, 2004 Inter-Process Communication Shared memory space First-In-First-Out (FIFO) buffers Mutexes Tokens Critical sections

Mission Success Starts With Safety NASA Glenn Research Center20 SAS, 2004 Intertask Messages

Mission Success Starts With Safety NASA Glenn Research Center21 SAS, 2004 Semaphores

Mission Success Starts With Safety NASA Glenn Research Center22 SAS, 2004 Semaphores

Mission Success Starts With Safety NASA Glenn Research Center23 SAS, 2004 Semaphore

Mission Success Starts With Safety NASA Glenn Research Center24 SAS, 2004 Working with projects? Results are available for project use Potential Applications  Projects will have “hard data” upon which to base a decision to use/not use a real-time Linux operating system  Lessons learned in working with the operating Systems are documented

Mission Success Starts With Safety NASA Glenn Research Center25 SAS, 2004 Pass the information to them! Availability  Current and final results available through SARP  Final results will be also be submitted to a Linux journal Barriers to research  Some OS software is a moving target  Test case adaptation can be time consuming for other Linux-based OS’s

Mission Success Starts With Safety NASA Glenn Research Center26 SAS, 2004 Conclusions The three real-time Linux variants are  Stable  Support many processors  Require a learning curve Documentation was often not complete Good support on user forums (answers in < 24 hrs)  RTLinux Pro was easy to install and run, with good documentation VxWorks timing comparison not possible  Testing done on borrowed hardware

Mission Success Starts With Safety NASA Glenn Research Center27 SAS, 2004 Which Real-time Linux is best? Depends on your system requirements RTLinux (free and Pro)  Best context switch times  Best kernel task creation times  Least timing jitter for non-harmonic tasks at high CPU usage  Pro – best documentation, easiest to install RTAI  Best interrupt response  Best intertask messaging (single and 500 bytes)  Least timing jitter for harmonic tasks at high CPU usage  Allows user-space “soft real-time” tasks