Operating System structure
Operating System structure
Systems. There are many types of structures, each having its own properties
1. Simple Structure
2. Monolithic Structure
3. Layered Approach Structure
4. Micro-kernel Structure
Simple Structure
It is the simplest Operating System Structure and is not well defined; It can only be used
for small and limited systems. The interfaces and levels of functionality are not well
separated. MS-DOS is an example of such an operating system. In MS-DOS, application
programs are able to access the basic I/O routines. These types of operating systems
cause the entire system to crash if one of the user programs fails.
Monolithic Structure
The Monolithic operating System in which the kernel acts as a manager by managing all things
like file management, memory management, device management, and operational processes of
the Operating System.
The kernel is the heart of a computer operating system (OS). Kernel delivers basic services to
all other elements of the System. It serves as the primary interface between the Operating
System and the hardware.
In monolithic systems, kernels can directly access all the resources of the operating System
like physical hardware, like Keyboard, Mouse etc.
It is simple to design and implement because all operations are managed by kernel only,
and layering is not needed.
the execution of the monolithic kernel is relatively fast as compared to normal systems.
If any service in the monolithic kernel fails, the entire System fails
Lack of modularity makes maintenance and extensions difficult.
It is not flexible to add a new service
Micro-kernel Structure
Micro-Kernel structure designs the Operating System by removing all non-essential components
of the kernel. These non-essential components of kernels are implemented as systems and user
programs. Hence these implemented systems are called as Micro-Kernels.
Each Micro-Kernel is made independently and is isolated from other Micro-Kernels. So this
makes the system more secure and reliable. If any Micro-Kernel fails, then the remaining
operating System remains untouched and works fine.
Layered Structure
In this type of structure, OS is divided into layers or levels. The hardware is on the bottom
layer (layer 0), while the user interface is on the top layer (layer N). These layers are arranged in
a hierarchical way in which the top-level layers use the functionalities of their lower-level
layers.
Each layer is responsible for a specific set of tasks. This makes it easier to understand,
develop, and maintain the operating system.
Layers are typically arranged in a hierarchy. This means that each layer can only use the
services provided by the layers below it.
Layers are independent of each other. This means that a change to one layer should not
affect the other layers.
.
Modular Structure
In a modular operating system structure, the operating system is divided into a set of
independent modules. Each module is responsible for a specific task, such as memory
management, process scheduling, or device drivers. Modules can be loaded and unloaded
dynamically, as needed.
A modular structure is highly modular, meaning that each module is independent of the
others. This makes it easier to understand, develop, and maintain the operating system.
A modular structure is very flexible. New modules can be added easily, and existing
modules can be modified or removed without affecting the rest of the operating system.
A modular structure can be more complex than other types of operating system structures.
A modular structure can be less performance as compared to other types of operating system
structures.