Part 1
Part 1
Part 1
b) Control Program
A control program manages the execution of user programs to prevent
errors and improper use of the computer. It is especially concerned
with the operation and control of I/O devices.
functions of an operating system
1. Storage Management
a) File System Management
b) Mass Storage Management
2. Device Management
3. Process Management
4. Memory Management
5. Protection and Security
functions of an operating system
1. Storage Management
To make the computer system convenient for users, the operating system
provides a uniform, logical view of information storage.
The operating system abstracts from the physical properties of its storage
devices to define a logical storage unit, the file.
functions of an operating system
a) 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
connection with file management:
✓Creating and deleting files
✓Creating and deleting directories to organize files
✓Supporting primitives for manipulating files and directories
✓Mapping files onto secondary storage
✓Backing up files on stable (nonvolatile) storage media
functions of an operating system
Operating systems also define user role and access management. For
example, you may want to keep a file with read-only permission so
unauthorized users can’t edit or delete it.
✓Since all types of tasks get stored in the main memory, memory management is
required in the operating system.
Types of OS
Disadvantages of Multiprocessing OS
✓ Multiprocessing operating systems are more complex and advanced since they
manage many CPUs at the same time.
Types of OS
Multiprocessing/Parallel Operating System
It is also known as Tightly coupled system – processors share memory and a clock;
communication usually takes place through the shared memory.
✓ These systems are fault-tolerant. Failure of a few processors does not bring the
entire system to a halt.
Disadvantages of Distributed OS
✓ Error Tolerance: If any error or fault occurs in any of the nodes of the system then
the failed node can be swapped with the hot standby node in such situations.
✓ Scalability: These cluster systems are scalable as it is easy to add more nodes to
the system.
✓ High Cost: The major disadvantage of the cluster operating system is that it
requires more cost to meet the hardware and software requirements to create a
cluster.
✓ Maintenance: The cluster resources are challenging to maintain and manage and
thus require a high cost to improve the system.
Types of OS
7) Real Time Operating System:
✓ A real-time operating system (RTOS) is a special-purpose operating system used in
computers that has strict time constraints for any job to be performed.
✓ This system is time-bound and has a fixed deadline.
✓ The processing in this type of system must occur within the specified constraints.
Otherwise, This will lead to system failure.
✓ Real-time operating systems employ special-purpose operating systems because
conventional operating systems do not provide such performance.
Types of OS
Types of Real Time Operating System:
7-a) Hard Real-Time operating system:
✓ In Hard RTOS, all critical tasks must be completed within the specified time
duration, i.e., within the given deadline.
✓ Not meeting the deadline would result in critical failures such as damage to
equipment or even loss of human life.
✓ For example airbags provided by carmakers along with a handle in the driver's seat.
✓ Similarly, consider an on-stock trading software.
✓ Also airplane sensor and autopilot systems.
Types of OS
Types of Real Time Operating System:
7-b) Soft Real-Time operating system:
✓ This operating system provides some relaxation in the time limit.
✓ There may be a closing date assigned for a particular job, but a delay for a small
amount of time is acceptable.
✓ In soft real-time tasks, even after the deadline, result is not considered incorrect
and system failure does not occur.
✓ Examples are Personal computer, Personal computer, Audio and video systems,
Set-top boxes, Weather Monitoring Systems, Web browsing, Railway Reservation
System, Electronics games etc.
Types of OS
Types of Real Time Operating System:
7-c) Firm Real-Time operating system:
✓ Firm real-time tasks are such type of real-time tasks which are associated with time
bound and the task need to produce the result within the deadline.
✓ In firm real-time tasks, result obtained after the deadline is considered incorrect
but system failure does not occur.
✓ Example: Satellite based tracking, Video Conferencing, Set-top box etc.
Types of OS
Advantages of RTOS:
a) Maximum consumption: Maximum utilization of devices and systems.
b) Real-Time Operating System In Embedded System: Since the size of programs is
small, RTOS can also be embedded systems.
c) Error Free Systems.
d) Memory Allocation: Memory allocation is best managed in these types of
systems.
Types of OS
Disadvantages of RTOS:
a) Limited Tasks: Very few tasks run simultaneously.
b) The algorithms used are very complex and difficult for the designer to write on.
c) Real-time operating systems are very complex and can consume critical CPU
cycles.
Types of OS
8) Desktop Systems:
✓ Personal computers – computer system dedicated to a single user.
✓ I/O devices – keyboards, mice, display screens, small printers.
✓ User convenience and responsiveness.
✓ Can adopt technology developed for larger operating system’ often individuals
have sole use of computer and do not need advanced CPU utilization of protection
features.
✓ May run several different types of operating systems (Windows, MacOS, UNIX,
Linux)
Types of OS
9) Handheld Systems:
✓ Personal Digital Assistants (PDAs)
✓ Cellular telephones
✓ Issues:
✓ Limited memory
✓ Slow processors
✓ Small display screens.
Kernel in OS