Types of Operating Systems
Types of Operating Systems
An Operating System performs all the basic tasks like managing files, processes, and
memory. Thus operating system acts as the manager of all the resources, i.e. resource
manager. Thus, the operating system becomes an interface between the user and the
machine. It is one of the most required software that is present in the device.
Operating System is a type of software that works as an interface between the system
program and the hardware. There are several types of Operating Systems many of
which are mentioned below. Let’s have a look at them.
Types of Operating Systems
There are several types of Operating Systems which are mentioned below.
Batch Operating System
Multi-Programming System
Multi-Processing System
Multi-Tasking Operating System
Time-Sharing Operating System
Distributed Operating System
Network Operating System
Real-Time Operating System
MultiProgramming
Advantages of Time-Sharing OS
Each task gets an equal opportunity.
Fewer chances of duplication of software.
CPU idle time can be reduced.
Resource Sharing: Time-sharing systems allow multiple users to share hardware
resources such as the CPU, memory, and peripherals, reducing the cost of
hardware and increasing efficiency.
Improved Productivity: Time-sharing allows users to work concurrently, thereby
reducing the waiting time for their turn to use the computer. This increased
productivity translates to more work getting done in less time.
Improved User Experience: Time-sharing provides an interactive environment that
allows users to communicate with the computer in real time, providing a better
user experience than batch processing.
Disadvantages of Time-Sharing OS
Reliability problem.
One must have to take care of the security and integrity of user programs and data.
Data communication problem.
High Overhead: Time-sharing systems have a higher overhead than other operating
systems due to the need for scheduling, context switching, and other overheads
that come with supporting multiple users.
Complexity: Time-sharing systems are complex and require advanced software to
manage multiple users simultaneously. This complexity increases the chance of
bugs and errors.
Security Risks: With multiple users sharing resources, the risk of security breaches
increases. Time-sharing systems require careful management of user access,
authentication, and authorization to ensure the security of data and software.
Examples of Time-Sharing OS with explanation
IBM VM/CMS: IBM VM/CMS is a time-sharing operating system that was first
introduced in 1972. It is still in use today, providing a virtual machine environment
that allows multiple users to run their own instances of operating systems and
applications.
TSO (Time Sharing Option): TSO is a time-sharing operating system that was
first introduced in the 1960s by IBM for the IBM System/360 mainframe
computer. It allowed multiple users to access the same computer simultaneously,
running their own applications.
Windows Terminal Services: Windows Terminal Services is a time-sharing
operating system that allows multiple users to access a Windows server remotely.
Users can run their own applications and access shared resources, such as printers
and network storage, in real-time.
Distributed OS
Advantages of Distributed Operating System
Failure of one will not affect the other network communication, as all systems are
independent of each other.
Electronic mail increases the data exchange speed.
Since resources are being shared, computation is highly fast and durable.
Load on host computer reduces.
These systems are easily scalable as many systems can be easily added to the
network.
Delay in data processing reduces.
Disadvantages of Distributed Operating System
Failure of the main network will stop the entire communication.
To establish distributed systems the language is used not well-defined yet.
These types of systems are not readily available as they are very expensive. Not
only that the underlying software is highly complex and not understood well yet.
Examples of Distributed Operating Systems are LOCUS, etc.
Issues With Distributed Operating Systems
Networking causes delays in the transfer of data between nodes of a distributed
system. Such delays may lead to an inconsistent view of data located in different
nodes, and make it difficult to know the chronological order in which events
occurred in the system.
Control functions like scheduling, resource allocation, and deadlock detection have
to be performed in several nodes to achieve computation speedup and provide
reliable operation when computers or networking components fail.
Messages exchanged by processes present in different nodes may travel over
public networks and pass through computer systems that are not controlled by the
distributed operating system. An intruder may exploit this feature to tamper with
messages, or create fake messages to fool the authentication procedure and
masquerade as a user of the system.
Advantages of RTOS
Maximum Consumption: Maximum utilization of devices and systems, thus
more output from all the resources.
Task Shifting: The time assigned for shifting tasks in these systems is very less.
For example, in older systems, it takes about 10 microseconds in shifting from one
task to another, and in the latest systems, it takes 3 microseconds.
Focus on Application: Focus on running applications and less importance on
applications that are in the queue.
Real-time operating system in the embedded system: Since the size of programs
is small, RTOS can also be used in embedded systems like in transport and others.
Error Free: These types of systems are error-free.
Memory Allocation: Memory allocation is best managed in these types of
systems.
Disadvantages of RTOS
Limited Tasks: Very few tasks run at the same time and their concentration is
very less on a few applications to avoid errors.
Use heavy system resources: Sometimes the system resources are not so good
and they are expensive as well.
Complex Algorithms: The algorithms are very complex and difficult for the
designer to write on.
Device driver and interrupt signals: It needs specific device drivers and
interrupts signal to respond earliest to interrupts.
Thread Priority: It is not good to set thread priority as these systems are very less
prone to switching tasks.
Examples of Real-Time Operating Systems are Scientific experiments, medical
imaging systems, industrial control systems, weapon systems, robots, air traffic
control systems, etc.
Conclusion
Operating systems come in various types, each used for specific needs. Whether it’s
managing large batches of jobs, enabling multiple users to work simultaneously,
coordinating networked computers, or ensuring timely execution in critical systems.
Understanding these types helps in choosing the right operating system for the right
job, ensuring efficiency and effectiveness.