Professional Documents
Culture Documents
Most of the time, there are several different computer programs running at
the same time, and they all need to access your computer's central
The operating system coordinates all of this to make sure each program gets
what it needs.
What Operating Systems Do?
Computer system can be divided into four components:
Computer-system operation
System Call.
Computer-System Architecture
Multiprocessor Systems
Multiprocessor systems (also known as parallel systems or tightly
coupled systems) are growing in importance. Such systems have two or more
processors in close communication, sharing the computer bus and sometimes
the clock, memory, and peripheral devices.
Clustered Systems
Clustered system is an another type of multiple-CPU system. Clustered
systems differ from multiprocessor systems, however, they are composed of
two or more individual systems coupled together. clustered computers share
storage and are closely linked via a local-area network (LAN).
Operating System Structure
Memory Management
Processor Management
Device Management
Storage Management
Memory.
Main memory is a large array of words or bytes where each word or byte
Main memory provides a fast storage that can be accessed directly by the
CPU.
Keeps tracks of primary memory, i.e., what part of it are in use by whom,
what part are not in use.
storage.
The operating system abstracts from the physical properties of its storage
The operating system maps files onto physical media and accesses these
memory.
Most modern computer systems use disks as the principal on-line storage
Free-space management
Storage allocation
used efficiently.
Caching
Caching is an important principle of computer systems.
Information is normally kept in some storage system (such as main
memory).
As it is used, it is copied into a faster storage system—the cache—on a
temporary basis.
When we need a particular piece of information, we first check whether it is
in the cache.
If it is, we use the information directly from the cache;
if it is not, we use the information from the source, putting a copy in the
cache under the assumption that we will need it again soon
I/O Systems
One of the purposes of an operating system is to hide the characteristics of
specific hardware devices from the user.
in UNIX, the characteristics of I/O devices are hidden from the bulk of the
operating system itself by the I/O subsystem.
The I/O subsystem consists of several components
A memory-management component that includes buffering(process of
preloading data into a reserved area of memory), caching, and
spooling(refers to putting data of various I/O jobs in a buffer)
A general device-driver interface
Drivers for specific hardware devices
Protection and Security
Program execution
I/O operations
File System manipulation
Communication
Error Detection
Resource Allocation
Protection
Program execution:
I/O Operation:
An Operating System manages the communication between user and
device drivers.
I/O operation means read or write operation with any file or any
specific I/O device.
Operating system provides the access to the required I/O device when
required.
File system manipulation:
software.
It supplies an interface for the user and important utilities for managing the
computer.
A system call is a way for programs to interact with the operating system.
If a file system wants to create or delete files, system calls are required.
System calls are used for the creation and management of new processes.
Network connections need system calls for sending and receiving packets.
Process Control
File Management
Device Management
Information Maintenance
Communications
Process Control
This system calls perform the task of process creation, process termination,
etc.
Functions:
File management system calls handle file manipulation jobs like creating
Functions:
Create a file
Delete file
Functions
It handles information and its transfer between the OS and the user
program.
Functions:
communications.
Functions:
Simple Structure:
Many commercial operating systems do not have well-defined structures.
Frequently, such systems started as small, simple, and limited systems and
The operating system is divided into a number of layers (levels), each built
The bottom layer (layer 0), is the hardware; the highest (layer N) is the user
interface.
With modularity, layers are selected such that each uses functions