OperatingSystemConcepts 3 OperatingSystemStructures
OperatingSystemConcepts 3 OperatingSystemStructures
OperatingSystemConcepts 3 OperatingSystemStructures
• System Components
• Operating System Services
• System Calls
• System Structure
• Process management
• Main memory management
• File system management
• I/O system management
• Secondary storage management
• Networking
• Protection
• Command interpreter
© Copyright Information Technology Institute - 2018 5
Process Management
w2t el execution of program byb2a esmha process, OS bycontrol el execution process de.
• I/O subsystem
• Memory management: spooling
• Drivers for specific hardware
© Copyright Information Technology Institute - 2018 9
Secondary-Storage Management
• Program execution
• System capability to load a program into memory and
to run it.
• I/O operations
• Since user programs cannot execute I/O operations
directly, the operating system must provide some
means to perform I/O.
• File-system manipulation
• Program capability to read, write, create, and delete
files.
© Copyright Information Technology Institute - 2018 16
Operating System Services Cont’d
• Communications
• Exchange of information between processes
executing either on the same computer or on
different systems tied together by a network.
Implemented via shared memory or message
passing.
• Error detection
• Ensure correct computing by detecting errors in
the CPU and memory hardware, in I/O devices,
or in user programs.
© Copyright Information Technology Institute - 2018 17
SYSTEM CALLS
• Variable initialization
• open ( file1 )
• create ( file2 )
• read ( file1 )
• write ( file2 )
• close ( file1 )
• close ( file2 )
© Copyright Information Technology Institute - 2018 20
Types of System Calls
• Process control
• File management
• Device management
• Information maintenance
• Communications
allocate memory
free memory
Message Passing
OS hwa ely by3ml communication benhom
Shared Memory
wmmkn tb2a fnfc el machine wmmkn tb2a f
network mtnzma bl protocols
• Simple structure
• Layered approach
• Advantage:
• Modularity
• Debugging
• Modification
• Disadvantage:
• Layering overhead to the system call