1 / 13

Design Strategies

Design Strategies. 19. Software Organization. Application Software. Application Software. Application Software. Application Software. Other System Software. Other System Software. Other System Software. Other System Software. Other OS Functions. Other OS Functions.

Download Presentation

Design Strategies

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Operating Systems: A Modern Perspective, Chapter 19

  2. Design Strategies 19 Operating Systems: A Modern Perspective, Chapter 19

  3. Software Organization Application Software Application Software Application Software Application Software Other System Software Other System Software Other System Software Other System Software Other OS Functions Other OS Functions Other OS Functions Other OS Functions Kernel Functions Nucleus Functions Nucleus Functions Nucleus Functions Skeletal Nucleus (c) Extensible (d) Layered (b) Modular (a) Monolithic Operating Systems: A Modern Perspective, Chapter 19

  4. File Manager Process & Resource Manager Memory Manager Device Manager Figure 19‑2: OS Function Organization Processor(s) Main Memory Devices Operating Systems: A Modern Perspective, Chapter 19

  5. Function Interactions Process/Thread Admin Virtual Memory Scheduler File Management Synchronization Device Management IPC Deadlock Management Interrupt Handler Resource Management Protection Mechanisms Memory Allocation Operating Systems: A Modern Perspective, Chapter 19

  6. Multiple OS Policies on a Single Hardware Architecture … OS Policy Implementation OS Policy Implementation OS Policy Implementation Virtual Machine Interface Extensible Kernel Hardware • Popularized in IBM VM • Approach is used in Windows NT Subsystems Operating Systems: A Modern Perspective, Chapter 19

  7. Porting an OS to Different Architectures OS Policy Implementation Extensible Kernel Architecture Adaptor … Hardware Architecture 1 Hardware Architecture 2 Hardware Architecture N • Used in Windows NT Technology • Used in Linux (sort of …) Operating Systems: A Modern Perspective, Chapter 19

  8. Mach Microkernel-based OS BSD 4.3 Implementation OSF/1 Implementation RT-Mach Implementation … OS Policy Implementation Mach Kernel Interface Mach Microkernel (Tasks, Threads, Ports, …) Hardware Operating Systems: A Modern Perspective, Chapter 19

  9. send(receiver, …); Message Object Transferring Large Messages in Accent Sender Receiver Message Object … … Sender’s Page Table Receiver’s Page Table Operating Systems: A Modern Perspective, Chapter 19

  10. Load page Page Fault Update Map Virtual Address Physical Address New Page Kernel-Based Page Replacement Secondary Memory Kernel Space Page Replacement Fault Handler Page Frame 0 Page Frame 1 … Processor MMU … Primary Memory Operating Systems: A Modern Perspective, Chapter 19

  11. Mach Memory Page Replacement The replacement policy can be specified by a user space program Secondary Memory Page Replacement Kernel Space Load page Fault Handler Page Frame 0 Page Fault Update Map Page Frame 1 … Virtual Address Physical Address Processor MMU New Page … Primary Memory Operating Systems: A Modern Perspective, Chapter 19

  12. Binding Memory Objects Arbitrary Object Mem Obj Manager Kernel Space Conventional Page Objects Kernel Mem Obj Mgr Virtual Address User Space Application Operating Systems: A Modern Perspective, Chapter 19

  13. The CHORUS Microkernel and Servers Sys V UNIX Implementation COOL Implementation RT-OS Implementation … OS Policy Implementation CHORUS Kernel Interface Chorus Microkernel (Actors, Threads, Ports, …) Hardware Operating Systems: A Modern Perspective, Chapter 19

More Related