1 / 28

OPERATING SYSTEM SUPPORT

OPERATING SYSTEM SUPPORT. Introduction. Introduction. Introduction. The Operating System Layer. Figure 1. System layers. The Operating System Layer. The Operating System Layer. The Operating System Layer. Figure 2. Core OS functionality.

cbecerra
Download Presentation

OPERATING SYSTEM SUPPORT

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 SYSTEM SUPPORT

  2. Introduction

  3. Introduction

  4. Introduction

  5. The Operating System Layer Figure 1. System layers

  6. The Operating System Layer

  7. The Operating System Layer

  8. The Operating System Layer Figure 2. Core OS functionality

  9. Process Manager: handles the creation of and operations upon processes. Thread manager: Thread Creation, Synchronization and Scheduling. Threads are schedulable activities attached to processes Communication Manager: manages communication between threads attached to different processes on the same computer. Communication between threads in remote processes. Memory Manager: management of physical and virtual memory Supervisor: Dispatching of interrupts, system call traps and other exceptions; control of memory management unit and hardware caches. Processor and floating point unit register manipulations.

  10. Protection Resources require protection from illegitimate access File protection by providing access privileges Hardware supports to protect modules: hard lock Kernel can control the memory management unit and set of processor registers so that no other code may access the machine’s physical resources except in acceptable way.

  11. Processes and Threads

  12. Processes and Threads

  13. Processes and Threads

  14. Processes and Threads

  15. Processes and Threads

  16. Processes and Threads

  17. Processes and Threads

  18. Thread 2 makes requests to server Input-output Receipt & queuing Thread 1 generates results T1 Requests N threads Client Server Client and server with threads

  19. Communication and Invocation RMI, RPC, Events/Notifications Review OS Communication: what, which protocols Communication Primitive: doOperation, getRequest and sendReply Protocols and Openness: most OS in 1980s incorporated their own network protocols tuned to RPC interactions

  20. Invocation Performance • Client and Server may make many millions of invocation related operations in their life times. • However the network bandwidth improves invocation times have not decreased in proportion. • NULL RPC is defined as an RPC without parameters that executes a null procedure and returns no values. • Its execution involves an exchange of messages carrying some system data but not user data.

  21. Invocation Performance • Null Invocation costs are important because they measure a fixed overhead, the latency. • Invocation cost increase with the size of arguments and results, but in many cases the latency is significant compared with the remainder of delay. • RPC bandwidth/throughput is also concern when data has to be transferred in bulk.

  22. Invocation Performance • Marshalling: and unmarshalling which involve copying and converting data become significant when amount of data grows. • Data copying: message data is copied several times in the course of RPC like from across the user-kernel boundary, across each protocol layer, between network interface and kernel buffers. • Packet initialization: initializing protocol headers and trailers including checksums • Thread Scheduling and Context switching

  23. Operating System Architecture

  24. Operating System Architecture

  25. Operating System Architecture Figure 5. Monolithic kernel and microkernel

  26. Operating System Architecture Figure 6. The role of the microkernel

  27. Operating System Architecture

  28. Operating System Architecture

More Related