Operating System - Structure
Operating System - Structure
Simple Structure
Monolith Structure
Micro-Kernel Structure
Exo-Kernel Structure
Layered Structure
Modular Structure
Virtual Machines
Simple Structure
There are many operating systems that have a rather simple structure. These started as
small systems and rapidly expanded much further than their scope. A common example
of this is MS-DOS. It was designed simply for a niche amount for people. There was no
indication that it would become so popular.
https://www.tutorialspoint.com/operating_system/os_structure.htm 1/8
Page 2 of 8
It is better that operating systems have a modular structure, unlike MS-DOS. That would
lead to greater control over the computer system and its various applications. The
modular structure would also allow the programmers to hide information as required and
implement internal routines as they see fit without changing the outer specifications.
Advantages
Better Performance - Such a sytem, as have few layers and directly interects
with hardware, can provide a better performance as compared to other types of
operating systems.
Disadvantages
Monolith Structure
In monolith structured operating system, a central piece of code called kernel is
responsible for all major operations of an operating system. Such operations includes file
management, memory management, device management and so on. The kernal is the
main component of an operating system and it provides all the services of an operating
system to the application programs and system programs.
The kernel has access to the all the resources and it acts as an interface with application
programs and the underlying hardware. A monolithic kernel structure promotes
timesharing, multiprogramming model and was used in old banking systems.
https://www.tutorialspoint.com/operating_system/os_structure.htm 2/8
Page 3 of 8
Advantages
Easy Development - As kernel is the only layer to develop with all major
functionalities, it is easier to design and develop.
Disadvantages
Crash Prone - As Kernel is responsible for all functions, if one function fails
entire operating system fails.
Difficult to enhance - It is very difficult to add a new service without impacting
other services of a monolith operating system.
Explore our latest online courses and learn new skills at your own pace. Enroll and
become a certified expert to boost your career.
Micro-Kernel Structure
https://www.tutorialspoint.com/operating_system/os_structure.htm 3/8
Page 4 of 8
As in case monolith structure, there was single kernel, in micro-kernel, we have multiple
kernels each one specilized in particular service. Each microkernel is developed
independent to the other one and makes system more stable. If one kernel fails the
operating sytem will keep working with other kernel's functionalities.
Advantages
Disadvantages
https://www.tutorialspoint.com/operating_system/os_structure.htm 4/8
Page 5 of 8
Exo-Kernel Structure
Exo-Kernal Structured operating system was designed and developed at MIT. The aim of
this design was to keep Kernel size minimal while allowing the application programs to
manage hardware resources directly. The purpose of removing abstraction of operating
system for hardware resources was to enable application programmer to write high
performance code while exo-kernel handles other operations.
Advantages
Following are advantages of a exo-kernel operating system structure.
Disadvantages
Layered Structure
One way to achieve modularity in the operating system is the layered approach. In this,
the bottom layer is the hardware and the topmost layer is the user interface.
https://www.tutorialspoint.com/operating_system/os_structure.htm 5/8
Page 6 of 8
As seen from the image, each upper layer is built on the bottom layer. All the layers hide
some structures, operations etc from their upper layers.
One problem with the layered structure is that each layer needs to be carefully defined.
This is necessary because the upper layers can only use the functionalities of the layers
below them.
Advantages
Following are advantages of a layered operating system structure.
Verifiable - Being modular, each layer can be verified and debugged easily.
Disadvantages
Modular Structure
https://www.tutorialspoint.com/operating_system/os_structure.htm 6/8
Page 7 of 8
Modular structure operating system works on the similar princhiple as a monolith but
with better design. A central kernal is responsible for all major operations of operating
system. This kernal has set of core functionality and other services are loaded as
modules dynamically to the kernal at boot time or at runtime. Sun Solaris OS is one of
the example of Modular structured operating system.
Advantages
Verifiable - Being modular, each layer can be verified and debugged easily.
Disadvantages
Following are disadvantages of a modular operating system structure.
Advantages
Secure - Being virtual, and no direct hardware access, such systems are highly
secured.
https://www.tutorialspoint.com/operating_system/os_structure.htm 7/8
Page 8 of 8
Disadvantages
https://www.tutorialspoint.com/operating_system/os_structure.htm 8/8