Skip to main content

Kernel

 What is Kernel ?

Kernel acts as a bridge between applications and data processing performed at hardware level using inter-process communication and system calls.

A Kernel is a computer program that is the heart and core of an Operating System. Since the Operating System has control over the system so, the Kernel also has control over everything in the system. It is the most important part of an Operating System. Whenever a system starts, the Kernel is the first program that is loaded after the bootloader because the Kernel has to handle the rest of the thing of the system for the Operating System. The Kernel remains in the memory until the Operating System is shut-down



Type of Kernel 

  1. Monolithic Kernel. This kernel type has all required functionality inside the kernel, schedulers, device drivers, memory management etc all in a memory space owned by the kernel. Monolithic kernels typically have the highest data throughput of all kernels and is best used in large servers or job dedicated servers.
  2. MicroKernel. This kernel type uses the minimum set-up required for scheduling, memory management and inter-process communication. This vastly reduces the amount of memory required for kernel use. The minimum size of the kernel means that the amount of extra communication required by device drivers reduces the maximum data flow through the kernel but also decreases kernel response time to interrupts. Microkernels are typically found in real time systems.
  3. Hybrid Kernel. This is a mix between the 2 above. The kernel is larger than micro but smaller than monolithic. What you normally get is a stripped down monolithic kernel that has the majority of device drivers removed but still all of the system services within the kernel space. The device drivers will be attached to the kernel as required when starting up or running. These kernels are typically found on desktops, your Windows, Mac and Linux OS flavours.
  4. Nanokernel. In a Nanokrnel, as the name suggests, the whole code of the kernel is very small i.e. the code executing in the privileged mode of the hardware is very small. The term nanokernel is used to describe a kernel that supports a nanosecond clock resolution.
  5. Exo-Kernel. This kernel is the smallest kernel that I know of. It offers process protection and resource handling and nothing else. The programmer using this kernel is responsible for correctly accessing the device they wish to use.


Comments

Popular posts from this blog

BOOT PROCESS

                                                    BOOT PROCESS  * The following are the 6 high level stages of a typical Linux boot process. 1. BIOS BIOS stands for Basic Input/Output System. In simple terms, the BIOS loads and executes the Master Boot Record (MBR) boot loader. When you first turn on your computer, the BIOS first performs some integrity checks of the HDD or SSD. Then, the BIOS searches for, loads, and executes the boot loader program, which can be found in the Master Boot Record (MBR). The MBR is sometimes on a USB stick or CD-ROM such as with a live installation of Linux. Once the boot loader program is detected, it's then loaded into memory and the BIOS gives control of the system to it. 2. MBR MBR stands for Master Boot Record.It is located in the 1st sector of the bootable disk. Typically /dev/hda, or /d...

Difference between Linux and Window.

  Following are the important differences between Linux and Windows. Sr. No. Linux Windows 1 Linux is Open Source and is free to use. Windows is not open source and is not free to use. 2 There are no drives in Linux Windows has different drives like C: D: E 3 For every user /home/username directory is created which is called his home directory. In windows, My Documents is default home directory. 4 More secure Vulnerable to viruses and malware attacks. 5 Linux file system is case sensitive. Windows file system is case insensitive. ...

Introduction of Linux

  What Is Linux? Just like Windows, iOS, and Mac OS, Linux is an operating system. In fact, one of the most popular platforms on the planet, Android, is powered by the Linux operating system. An operating system is software that manages all of the hardware resources associated with your desktop or laptop. Linux is a free and open source software, which means that you can use, copy, study, and change the software in any way. It is distributed with the source code so users can view and modify it. This is in contrast to Microsoft Windows, a proprietary operating system. How was Linux created? Linux was created in 1991 by Linus Torvalds, a then-student at the University of Helsinki. Torvalds built Linux as a free and open source alternative to Minix, another Unix clone that was predominantly used in academic settings. He originally intended to name it “Freax,” but the administrator of the server Torvalds used to distribute the original code named his directory “Linux” after a comb...