Real Time Operating System

HimanshuChoudhary81 847 views 18 slides Apr 08, 2018
Slide 1
Slide 1 of 18
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18

About This Presentation

Real-time systems are those systems in which the correctness of the system depends not only on the logical result of computation, but also on the time at which the results are produced.


Slide Content

Real-Time Operating
Systems
DEVANSHI JAIN
15STUJPCS0003
BY

Overview
Introduction
Classification
System Characteristics
Implementing Real-Time
Operating Systems

Introduction
Real-time systems are those systems in which
the correctness of the system depends not
only on the logical result of computation, but
also on the time at which the results are
produced.
 Supports real-time applications by providing
logically correct result within the deadline
required.
RTOS is key to many embedded systems and
provides a platform to build applications.

Classification
Hard real time system
•Tasks have to be
performed on time
•Failure to meet
deadlines is fatal
•Example :
Flight Control System,
medical systems .
Soft real time system
•Tasks are performed
as fast as possible
•Late completion of
jobs is undesirable
but not fatal.
•Example:
Online Databases,
computer games.

Single purpose
 Small size
 Inexpensively mass-produced
 Specific timing requirements
Do not require interfacing with a
user
System Characteristics

Bus-Oriented System

System-on-a-Chip
Many real-time systems are
designed using system-on-a-chip
strategy
SOC allows the CPU, memory,
memory-management unit, and
attached peripheral ports (i.e., USB)
to be contained in a single
integrated circuit

Virtual Memory in Real-
Time Systems
Address Translation

Implementing Real-Time
Operating Systems
1. Preemptive, priority-based
scheduling
2. Preemptive kernels
3.Latency must be minimized

Event latency

Interrupt Latency

Dispatch Latency

Priority Inversion Problem
High-level task stalled due to low-level
using shared resources, then a
medium-level task holding up the low-
level one
Solution: Priority inheritance – give
low-level task high-level priority

Scheduling Algorithms in RTOS
Priority Scheduling
Processor never left idle when there are
ready tasks
Processor allocated to processes
according to priorities

Priority Scheduling
Earliest Deadline First (EDF)
Process with earliest deadline given highest
priority
Least Slack Time First (LSF)
slack = relative deadline – execution left
Rate Monotonic Scheduling (RMS)
For periodic tasks
Tasks priority inversely proportional to it’s
period

Examples of RTOS
 LynxOS
 OSE
 QNX
 VxWorks
 Windows CE
 RT Linux

APPLICATIONS OF RTOS
Almost all the modern telecommunication
systems make use of RTOS .
 Radar systems, network switching control
systems, satellite monitoring systems, satellite
launch-control and global positioning systems all
have their roots in RTOS.
 Now a days RTOS are increasingly finding use in
strategic and military operations. These are used
in guided missile launching units,track-and-trace
spy satellites, etc.