Real Time - Operating System - Lecture Slides, Slides of Computer Science

These are the Lecture Slides of Operating System which includes Environment, Fundamental Goal, Programs, Time Line, User Programs, Versus, Operating System, Running, Symmetric Multiprocessing etc.Key important points are: Real Time, Applications, Scheduling, Implementation, Rate-Monotonic Scheduling, Admission Control, Earliest Deadline, Schedulability, Wind Microkernel, Disk Scheduling

Typology: Slides

2012/2013

Uploaded on 03/27/2013

ekana
ekana 🇮🇳

4

(44)

370 documents

1 / 59

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
1
Real-Time OS’s &
Applications
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b

Partial preview of the text

Download Real Time - Operating System - Lecture Slides and more Slides Computer Science in PDF only on Docsity!

1

Real-Time OS’s &

Applications

2

Outline

  • Examples of real-time systems
  • Real-time OS implementation
  • Real-time CPU scheduling
    • Rate-monotonic scheduling
    • Admission control
    • Earliest Deadline First (EDF) Scheduling
    • Schedulability
  • POSIX
  • VxWorks
  • Wind Microkernel
  • RT Mach
    • CPU & disk scheduling

4

Other Examples

QuickTime™ and a YUV420 codec decompressor are needed to see this picture.

5

QuickTime™ and adecompressor are needed to see this picture.

7

8

Other Examples

10

Other Examples

11

Types of Real-time

  • Hard real-time
    • Correct operation depends not only upon the logical correctness of the computation but also upon the time at which it is performed. Computations performed after a deadline are, by definition, incorrect, and usually have no value.
  • Safety-critical systems
    • Incorrect operation, such as a missed deadline, results in a catastrophe
    • E.g., weapon systems, antilock braking systems, flight control systems
  • Soft real-time
    • Value of an operation declines steadily after the deadline expires

13

Soft Real-Time

Value of completion of operation

Time

deadline

(Shape of curve after deadline is defined by the application & users)

14

Real-Time Systems

  • Computer system often completely dedicated

to the control application

  • Utilization of computer system is less important than meeting deadlines
  • Single purpose systems
  • May be relatively simple
  • Thousands of lines of program code, not millions
  • Physical space constraints
  • E.g., a computer system for a hand-held game needs to be relatively small
  • Cost constraints
  • E.g., 8 or 16 bit processors & 1 MB ram

16

Real-Time O/S

Implementation - 2

  • Delays in system must be minimized or

bounded (for hard real-time)

  • I.e., bounded by constant time values
  • Delays include
  • interrupt latencies
  • Time from when interrupt occurs (I.e., when hardware device generates interrupt) until interrupt service handler is invoked
  • dispatch latencies
  • Amount of time required for dispatcher to stop one process and start another
  • system calls

17

Interrupt Latencies

  • Important contributing factor: amount of time

interrupts turned off while updating kernel

data structures

19

p : period

t : processing time

d : deadline Docsity.com

20

Assumption of Periodic

Processes

  • See Section 1.2.1 of Li & Yao (2003)
  • It seems clear that assumption of periodic

processes accounts for only some of the

events in a system

  • Aperiodic: Occurrence of incoming missiles

for weapons defense system

  • Periodic: control signals to weapon firing

system

  • High frequency, but periodic, firing coordinates