Cùng tìm hiểu Layers and Views of a Computer System; Operating System Services; O/S as a Resource Manager;... được trình bày cụ thể trong Bài giảng Computer Organization and Architecture: Chapter 8 - Operating System Support. Hy vọng tài liệu là nguồn thông tin hữu ích cho quá trình học tập và nghiên cứu của các bạn.
Trang 1William Stallings
Computer Organization and Architecture
6th Edition
Chapter 8
Operating System Support
Trang 2Objectives and Functions
• Convenience
—Making the computer easier to use
• Efficiency
—Allowing better use of computer resources
Trang 3Layers and Views of a Computer System
Trang 4Operating System Services
Trang 5O/S as a Resource Manager
Trang 6Types of Operating System
• Interactive
• Batch
• Single program (Uniprogramming)
• Multiprogramming (Multitasking)
Trang 8Simple Batch Systems
Trang 9Memory Layout for Resident Monitor
Trang 10Job Control Language
Trang 11Desirable Hardware Features
Trang 12Multi-programmed Batch Systems
• I/O devices very slow
• When one program is waiting for I/O, another
can use the CPU
Trang 13Single Program
Trang 14Multi-Programming with Two Programs
Trang 15Multi-Programming with Three Programs
Trang 16Utilization
Trang 17Time Sharing Systems
• Allow users to interact directly with the computer
—i.e. Interactive
• Multiprogramming allows a number of users to
interact with the computer
Trang 19Long Term Scheduling
Trang 20Medium Term Scheduling
Trang 21Short Term Scheduler
Trang 22Process States
Trang 23Process Control Block
Trang 24PCB Diagram
Trang 25Key Elements of O/S
Trang 26Process Scheduling
Trang 28• Problem: I/O is so slow compared with CPU
that even in multiprogramming system, CPU can be idle most of the time
Trang 31Partitioning
Trang 32Variable Sized Partitions (1)
Trang 33Variable Sized Partitions (2)
Trang 34Effect of Dynamic Partitioning
Trang 37Logical and Physical Addresses - Paging
Trang 41Page Table Structure
Trang 42Translation Lookaside Buffer
Trang 43TLB Operation
Trang 44TLB and Cache Operation
Trang 48Pentium II Address Translation Mechanism
Trang 52PowerPC Memory Management Hardware
Trang 53PowerPC 32-bit Memory Management Formats
Trang 54PowerPC 32-bit Address Translation