1. Trang chủ
  2. » Giáo án - Bài giảng

Chapter 19 Real - time systems

24 359 0
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 24
Dung lượng 551 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

19.4 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 1, 2005Overview of Real-Time Systems specified deadline period.. 19.8 Silberschatz, Galvin and Gag

Trang 1

Chapter 19: Real-Time Systems

Trang 2

19.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 1, 2005

Chapter 19: Real-Time Systems

Trang 3

19.3 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 1, 2005

Objectives

Trang 4

19.4 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 1, 2005

Overview of Real-Time Systems

specified deadline period

system (I.e automobile, airliner.)

results in case of failure

completed within their required deadlines

non real-time tasks

Trang 5

19.5 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 1, 2005

Trang 6

19.6 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 1, 2005

System-on-a-Chip

(SOC) strategy

attached peripheral ports (I.e USB) to be contained in a single integrated circuit

Trang 7

19.7 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 1, 2005

Bus-Oriented System

Trang 8

19.8 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 1, 2005

Features of Real-Time Kernels

standard desktop system

hardware that what is typically available in a real-time system

Trang 9

19.9 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 1, 2005

Virtual Memory in Real-Time Systems

addresses

Trang 10

19.10 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 1, 2005

Address Translation

Trang 11

19.11 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 1, 2005

Implementing Real-Time

Operating Systems

(1) Preemptive, priority-based scheduling

(2) Preemptive kernels

(3) Latency must be minimized

Trang 12

19.12 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 1, 2005

Minimizing Latency

when it is serviced

Trang 13

19.13 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 1, 2005

Interrupt Latency

at the CPU to when it is serviced

Trang 14

19.14 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 1, 2005

Dispatch Latency

to stop one process and start another

Trang 15

19.15 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 1, 2005

Real-Time CPU Scheduling

p is the duration of the period

d is the deadline by when the process must be serviced

t is the processing time

Trang 16

19.16 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 1, 2005

Trang 17

19.17 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 1, 2005

Rate Montonic Scheduling

Trang 18

19.18 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 1, 2005

Missed Deadlines with Rate Monotonic Scheduling

Trang 19

19.19 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 1, 2005

Earliest Deadline First Scheduling

the earlier the deadline, the higher the priority;

the later the deadline, the lower the priority

Trang 20

19.20 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 1, 2005

Proportional Share Scheduling

T shares are allocated among all processes in the system.

processor time

Trang 21

19.21 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 1, 2005

Pthread Scheduling

(1) SCHED_FIFO - threads are scheduled using a FCFS strategy with a FIFO queue There is no time-slicing for threads of equal priority

(2) SCHED_RR - similar to SCHED_FIFO except time-slicing occurs for threads of equal priority

Trang 22

19.22 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 1, 2005

VxWorks 5.0

Trang 23

19.23 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 1, 2005

Wind Microkernel

(1) Processes and threads;

(2) preemptive and non-preemptive round-robin scheduling;

(3) manages interrupts (with bounded interrupt and dispatch latency times);

(4) shared memory and message passing interprocess communication facilities

Trang 24

End of Chapter 19

Ngày đăng: 13/05/2014, 00:36

TỪ KHÓA LIÊN QUAN

w