1. Trang chủ
  2. » Công Nghệ Thông Tin

chapter 12 operating system - university of technology

15 183 0

Đ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 15
Dung lượng 1,14 MB

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

Nội dung

Operating System DesignChapter 12 12.1 The nature of the design problem 12.2 Interface design 12.3 Implementation 12.4 Performance 12.5 Project management 12.6 Prends in operating s

Trang 1

Operating System Design

Chapter 12

12.1 The nature of the design problem

12.2 Interface design

12.3 Implementation

12.4 Performance

12.5 Project management

12.6 Prends in operating system design

Trang 2

Paradigms (1)

Algorithmic code

Trang 3

Paradigms (2)

Event-driven code

Trang 4

One possible design for a modern layered operating system

Layer

Trang 5

Directories are used to map external names onto internal names

Trang 6

Static Versus Dynamic Structures

Code for searching the process table for a given PID.

Searching a static table for a pid

Trang 7

Hiding the Hardware (1)

CPU-dependent conditional compilation

Trang 8

Hiding the Hardware (2)

Word-length dependent conditional compilation

Trang 9

Space-Time Trade-offs (1)

A procedure for counting bits in a byte

(a)

A procedure to count the 1 bits in a byte

Trang 10

Space-Time Trade-offs (2)

• A macro to count the bits

• A macro to access bit count in a table

(b) Macro to count the bytes (c) Macro to look up the count

Trang 11

Space-Time Trade-offs (3)

(a) Part of an uncompressed image with 24 bits per pixel

(b) Same part compressed with GIF, 8 bits per pixel

(c) The color palate

Trang 12

Part of an i-node cache

Trang 13

Software team Structure

Mills’ proposal for populating a 10-person chief programmer team

Trang 14

The Role of Experience (1)

Traditional software design progresses in stages

Trang 15

The Role of Experience (2)

• Alternative design produces a working system

– that does nothing starting on day 1

Ngày đăng: 18/10/2014, 15:30

TỪ KHÓA LIÊN QUAN