What is Kernel in Operating System ? Types of Kernel in Operating System

Kernel is a main part of operating system. It is like a bridge between application/software and hardware. The main aim of kernel is to manage communication between software and hardware. It is a computer program that is core of Operating System with complete control over everything in system.

Kernel is used Assembly Language




Different types of companies are used different Kernel like:

Android -------------------------------------------- Linux Kernel

Window -------------------------------------------- Window NT Kernel

Apple Mac Book ------------------------------------- Darwin Kernel


Types of Kernel
  1. Monolithic Kernel
  2. Micro Kernel

1. Monolithic Kernel:  

Monolithic Kernel is a type of Kernel. Monolithic Kernel is used to provides CPU scheduling, memory management, file management and other operating system function through system call. The other one is that it is a single large process running entirely in a single address. Monolithic Kernel is a single static binary file.
                                                    Some important points:
  1. Fast Execution.
  2. It is hard to extend.
  3. To write a monolithic kernel less code is required.
  4. If any service crashes , the whole system crashes in monolithic kernel.
  5. It is larger then microkernel in size.
Example:  Linux, Unix, XTS-400, z/TPF, NetBSD.

2. Micro Kernel:

Micro Kernel is a type of kernel. In Microkernel the users services and kernel services are implemented in different address space.  The users services are kept under User Address Space and the kernel services are kept under Kernel Address Space. It is reduce the size of Kernel. Micro Kernel is provide minimum services of process and memory services. Micro Kernel is simply add in system without any type of disturbing kernel. 
                                                       Some important point:
  1. Slow Execution.
  2. It is easy to extend.
  3. To write a microkernel more codes is required.
  4. It is small in size.
Example: QNX, Symbian, L4Llinux.

Comments

Post a Comment

If you have any question . So Please comment.