Professional Documents
Culture Documents
Presentation On Real Time Systems With Linux
Presentation On Real Time Systems With Linux
Presentation On Real Time Systems With Linux
on
Real Time Systems With Linux
Presented by:-
Debasish Behera
Information Technology
Contents
• Linux as RTOS
2
What are Real-time Systems ?
• Real-time systems
3
Types of Real Time Systems
4
A Sample Real Time System (2)
• Mission: Reaching the destination safely.
• Controlling System
- Human driver: Sensors - Eyes and Ears of the driver.
- Computer: Sensors - Cameras, Infrared receiver, and
Laser telemeter.
5
A Sample Real Time System (3)
6
A Sample Real Time System (4)
7
Task Management
8
Task Scheduling
• Non Real -time systems usually use Non-preemptive
Scheduling
– Once a task starts executing, it completes its full execution
9
Priority based Preemptive Task
Scheduling
10
Task Switch (1)
• Each time the priority-based preemptive scheduler is
alerted by an External world trigger / Software
trigger it shall go through the following steps that
constitute a Task Switch:
12
Intertask Communication &
Synchronization
13
Dynamic Memory Allocation
in General Purpose OS
17
Ignore the problem Approach
• The most popular approach is to ignore the problem.
18
Work Around Approach
• Linux kernel runs as a task under a small real-time executive.
19
Work Around - Advantages
20
Work Around - Disadvantages
• Not applicable if real-time part of the software is large / not
easily separated from the code that needs a Linux
environment
• Tasks running under the Linux kernel and can access the
facilities are not real-time.
22
Thank You !