Operating System Structures PDF

Document Details

VeritableSynthesizer

Uploaded by VeritableSynthesizer

Sudan University of Science and Technology, College of Engineering

Dr. Isam Abdelnabi Osman

Tags

operating systems computer science system architecture computer engineering

Summary

This document covers operating system structures, including system components, services, calls, and programs. It delves into topics such as process management, memory management, file management, I/O systems, and networking. The document is intended for students learning operating systems.

Full Transcript

Sudan University of Science and Technology College of Engineering Operating System Module 2 – Part 1 Operating-System Structures Dr. Isam Abdelnabi Osman Operating-System Str...

Sudan University of Science and Technology College of Engineering Operating System Module 2 – Part 1 Operating-System Structures Dr. Isam Abdelnabi Osman Operating-System Structures System Components Operating System Services System Calls System Programs System Structure Virtual Machines System Design and Implementation System Generation Dr. Isam Abdelnabi Osman 2 1 Common System Components Process Management Main Memory Management File Management I/O System Management Secondary Management Networking Protection System Command-Interpreter System Dr. Isam Abdelnabi Osman 3 Process Management A process is a program in execution. A process needs certain resources, including CPU time, memory, files, and I/O devices, to accomplish its task. The operating system is responsible for the following activities in connection with process management. Process creation and deletion. process suspension and resumption. Provision of mechanisms for: process synchronization process communication Deadlock handling Dr. Isam Abdelnabi Osman 4 2 Main-Memory Management Memory is a large array of words or bytes, each with its own address. It is a repository of quickly accessible data shared by the CPU and I/O devices. Main memory is a volatile storage device. It loses its contents in the case of system failure. The operating system is responsible for the following activities in connections with memory management: Keep track of which parts of memory are currently being used and by whom. Decide which processes to load when memory space becomes available. Allocate and de allocate memory space as needed. Dr. Isam Abdelnabi Osman 5 File Management A file is a collection of related information defined by its creator. Commonly, files represent programs (both source and object forms) and data. The operating system is responsible for the following activities in connections with file management: File creation and deletion. Directory creation and deletion. Support of primitives for manipulating files and directories. Mapping files onto secondary storage. File backup on stable (nonvolatile) storage media. Dr. Isam Abdelnabi Osman 6 3 I/O System Management The I/O system consists of: A buffer-caching system A general device-driver interface Drivers for specific hardware devices Dr. Isam Abdelnabi Osman 7 Secondary-Storage Management Since main memory (primary storage) is volatile and too small to accommodate all data and programs permanently, the computer system must provide secondary storage to back up main memory. Most modern computer systems use disks as the principle on-line storage medium, for both programs and data. The operating system is responsible for the following activities in connection with disk management: Free space management Storage allocation Disk scheduling Dr. Isam Abdelnabi Osman 8 4 Networking (Distributed Systems) A distributed system is a collection processors that do not share memory or a clock. Each processor has its own local memory. The processors in the system are connected through a communication network. Communication takes place using a protocol. A distributed system provides user access to various system resources. Access to a shared resource allows: Computation speed-up Increased data availability Enhanced reliability Dr. Isam Abdelnabi Osman 9 5

Use Quizgecko on...
Browser
Browser