Professional Documents
Culture Documents
Lecture 6 Real Time Linux - A
Lecture 6 Real Time Linux - A
Lecture 6 Real Time Linux - A
Real-Time Linux
Department of Electrical Engineering
The Hong Kong Polytechnic University
Linux as a Real-Time OS
Traditional
Why Linux?
Used by KURT
Make
Disadvantages
No guaranteed performance
RT tasks dont always have precedence over
non-RT tasks.
10
Disadvantages
11
RTAI Overview
Based
The Windows NT hardware abstraction layer (HAL) refers to a layer of software that
deals directly with your computer hardware.
12
13
architecture
RTAI
14
RT-Linux Overview
Open
15
16
17
18
19
20
Real-Time Linux
21
RTLinux or RTCore
22
RTAI
23
24
Linux System
Linux kernel
Version 1.0, 2.0, 2.2, 2.4, and 2.6 were released in 1994, 1996,
1999, 2001, and 2003, respectively.
Linux system
25
Evolution of Linux
contributed to make Linux competitive and popular in the enterpriseserver and development-application environments
26
SCO
27
Timing
Configuration
External
Communications
Error Reporting
Embedded Features
File system
Reliability
28
EE514 Real-Time Computing
Data from VDC, Linuxs Future in the Embedded Systems Market, June 2004
EE514 Real-Time Computing
29
30
31
32
33
Driver-level adaptations
34
System semaphore
35
Design Flexibility
Optimization Flexibility
Adequate Instrumentation
36
Kernels
2.2-2.4
Preemptible
Kernel 2.4
Kernel 2.6
Real-Time
Kernel 2.6
Preemptible
EE514 Real-Time Computing
Non-Preemptible
37
38
Preemptible
Target machine:
Real-Time
Preemption
Test Duration:
20 hours
39
System libraries
Linux kernel
Drivers
I/O
Real-time Scheduler
Software interrupts
Real-time plugin
I/O
Hardware interrupts
HARDWARE
40
Interrupt Latency
Dual-Xeon
3.2GHz
Dual-core
Opteron
2GHz
41
42
Enhanced schedulers
Virtual memory
Shared memory
Portable operating system interface X (POSIX) timers
Real-time signals
POSIX asynchronous I/O
POSIX threads
Quality of service capabilities
Low latency/preemptable kernel modifications
43
Quality of sercice
44
45
46
47
48
49
Evaluation
50
51
52
References
RT-Linux
: http://www.rtlinux.org
RTAI
:
http://www.aero.polimi.it/projects/rtai/contri
b.htm
Montavista: http://www.mvista.com
Linux as a real-time operating system
Freescale semiconductor, David Beal,
Nov/2005
53
54
55