Home » Operating Systems

Types of Kernels in Operating System

In this article, we are going to study about the types of Kernels. We will study what are the features of each type, and how it is different from the other one.
Submitted by Monika Sharma, on June 30, 2019

As we have already studied about the Kernels, we know that the Kernel is a program which is the main component of the Operating System. Now let us study about the types of Kernels.

Types of kernels

A Kernel is classified into two main types:

  1. Monolithic Kernel
  2. Micro Kernel

One more type of Kernel exists which is the combination of these two types of kernels and is known as the Hybrid Kernel.

Let us study each of them in brief...

1) Monolithic Kernel

In this type of Kernel architecture, all the functions, like Process Management, Memory management, interrupt handling, etc. are performed in the Kernel space.

The monolithic Kernels first consisted of only one module, and this module was responsible for all the functions that were performed by the Kernel. This increased the performance of the OS as all the functions were present inside the same module, but this also led to serious drawbacks like large size of the Kernel, very low reliability because even if a single function of the Kernel failed, this led to the failure of the entire Kernel Program, and poor maintenance, due to the same reason. So, to increase the performance of the system, a modular approach was made in the Monolithic kernels in which each function was present in a different Module inside the Kernel Space. So, for fixing any bugs or in case of failure, only that particular module was unloaded and loaded after fixing.

Monolithic Kernel

2) Micro Kernels

In this type of Kernel architecture, the basic user services like device driver management, protocol stack management, File system management and graphics control are present in the Userspace, and the rest functions lie Memory management, Process management is present inside the Kernel space. So, whenever the system has the requirement of services present in the Kernel space, the OS switches to the Kernel Mode, and for the user level services, it switches to the User Mode. This type of Kernel Architecture reduces the size of the Kernel, but the speed of executing processes and providing other services is much slower than the Monolithic Kernels.

Micro Kernels

3*) Hybrid Kernel

For the best performance of the system, we require both high speed and small size of the kernel so that our system may have the maximum efficiency. So, to meet this, a new type of Kernel was designed which was somewhat a combination of the Monolithic Kernel and the MicroKernel. This type of Kernel is known as the Hybrid Kernel. Such type of Architecture is being used in almost all systems which are being manufactured nowadays.






Comments and Discussions

Ad: Are you a blogger? Join our Blogging forum.





Languages: » C » C++ » C++ STL » Java » Data Structure » C#.Net » Android » Kotlin » SQL
Web Technologies: » PHP » Python » JavaScript » CSS » Ajax » Node.js » Web programming/HTML
Solved programs: » C » C++ » DS » Java » C#
Aptitude que. & ans.: » C » C++ » Java » DBMS
Interview que. & ans.: » C » Embedded C » Java » SEO » HR
CS Subjects: » CS Basics » O.S. » Networks » DBMS » Embedded Systems » Cloud Computing
» Machine learning » CS Organizations » Linux » DOS
More: » Articles » Puzzles » News/Updates


© https://www.includehelp.com some rights reserved.