Operating Systems-1-Introduction
Operating Systems-1-Introduction
Introduction
FBA
What is an Operating System?
A program that acts as an intermediary
between a user of a computer and the computer hardware.
USER Application
( a program or application or interface)
Operating System
( a system software )
Hardware
( processor, monitor, keyboard etc. )
System Software Vs Application Software
System Software:
Application Software:
FBA
Components of a Computer System
Kernel
The one program running at all times.
● Kernel is the central module of an operating system
● Part of OS that loads first, and it remains in main memory.
● As small as possible
● Provide all the essential services required by other parts of the operating system and applications.
● Kernel code is usually loaded into a protected area of memory to prevent it from being overwritten.
Bootstrap Program
An initial program executed when a computer starts running.
Driver: Controller:
A computer program that A part of computer hardware
operates and control a particular system that makes sense of
type of device that is attached the signals going to and
with the computer. coming from CPU.
Storage Structure
❏ Main memory – only large storage media that the CPU can access directly
❏ Random access
❏ Typically volatile
❏ Secondary storage – extension of main memory that provides large nonvolatile storage capacity
FBA
Operating System Architecture
Single-Processor Systems:
● Such systems have two or more processors in close communication, sharing the computer bus and
sometimes the clock, memory, and peripheral devices.
Clustered Systems:
● Special kind of multiprocessor system which gathers together multiple CPUs. They are composed of
two or more individual systems- or nodes - joined together.
● Clustered computers share storage and are closely linked via a local-area network (LAN) or a faster
interconnect, such as InfiniBand.
Operating System Structure
Multiprogramming:
FBA
Process Management
A program in execution, as mentioned, is a process.
Processor reads instructions from main memory during the instruction-fetch cycle and both reads and
writes data from main memory during the data-fetch cycle.
● Keeping track of which parts of memory are currently being used and who is using them
● Deciding which processes (or parts of processes) and data to move into and out of memory
● Allocating and deallocating memory space as needed
Storage Management
File-System Management:
Mass-Storage Management:
● Free-space management
● Storage allocation
● Disk scheduling
Caching:
As data stored into storage is used, it is copied into a faster storage system- the cache - on a temporary
basis.
Protection and Security
Protection:
● Mechanism for controlling the access of processes or users to the resources defined by a computer
system.
● Provide means to specify the controls to be imposed and to enforce the controls
Security:
Defend a system from external and internal attacks include viruses and worms, denial-of-service, identity
theft, and theft of service
THE END