SlideShare a Scribd company logo
Kernel (computing)
By M.HARRY JOSEPH
What is meant by kernel?
 In computing, the kernel is the central component of most
computer operating systems; it is a bridge between
applications and the actual data processing done at the
hardware level.
 The kernel's responsibilities include managing the system's
resources (the communication between hardware and
software components).
 Usually as a basic component of an operating system, a kernel
can provide the lowest-level abstraction layer for the
resources (especially processors and I/O devices) that
application software must control to perform its function.
 It typically makes these facilities available to application
processes through inter-process communication mechanisms
and system calls.
Operating system tasks
are done differently by different kernels,
depending on their design and implementation.
While monolithic kernels execute all the
operating system code in the same address space
to increase the performance of the system,
microkernels run most of the operating system
services in user space as servers, aiming to
improve maintainability and modularity of the
operating system. A range of possibilities exists
between these two extremes.
A kernel connects the application
software to the hardware of a computer.
A typical vision of a computer architecture as a series of abstraction layers:
hardware, firmware, assembler, kernel, operating system and applications
On the definition of "kernel"
 While it is today mostly called the kernel, originally the same part of the operating
system was also called the nucleus or core, and was conceived as containing only
the essential support features of the operating system.
 However the term core has also been used to refer to the primary memory of a
computer system, because some early computers used a form of memory called
core memory.
Features of kernel
A kernel will usually provide features for
 low-level schedulingof processes (dispatching),
 inter-process communication,
 process synchronization,
 context switching,
 manipulation of process control blocks, interrupt
handling,
 process creation and
 destruction, and
 process suspension and
 resumption
Kernel basic facilities
The kernel's primary purpose is to manage the
computer's resources and allow other programs to
run and use these resources.
Typically, the resources consist of:
 The CPU, the processor. This is the most central part
of a computer system, responsible for running or
executing programs on it.
 The kernel takes responsibility for deciding at any
time which of the many running programs should be
allocated to the processor or processors (each of
which can usually run only one program at a time)
Kernel basic facilities (Conti-)
 The kernel is responsible for deciding which memory
each process can use, and determining what to do
when not enough is available.
 Any Input/Output (I/O) devices present in the
computer, such as keyboard, mouse, disk drives,
printers, displays, etc. The kernel allocates requests
from applications to perform I/O to an appropriate
device (or subsection of a device, in the case of files on
a disk or windows on a display) and provides
convenient methods for using the device (typically
abstracted to the point where the application does not
need to know implementation details of the device).
monolithic kernels
 execute all of their code in the same address space
(kernel space) microkernels try to run most of their
services in user space, aiming to improve
maintainability and modularity of the codebase.
 Most kernels do not fit exactly into one of these
categories, but are rather found in between these two
designs.
 These are called hybrid kernels.
 More exotic designs such as nanokernels and
exokernels are available, but are seldom used for
production systems. The Xen hypervisor, for example, is
an exokernel.
monolithic kernel
 In a monolithic kernel, all OS services run
along with the main kernel thread, thus also
residing in the same memory area.
 This approach provides rich and powerful
hardware access.
 Some developers, such as UNIX developer
Ken Thompson, maintain that it is "easier to
implement a monolithic kernel“than
microkernels.
 The main disadvantages of monolithic
kernels are the dependencies between
system components — a bug in a device
driver might crash the entire system — and
the fact that large kernels can become very
difficult to maintain.
What is meant by microkernel?
In the microkernel
approach, the kernel itself
only provides basic
functionality that allows
the execution of servers,
separate programs that
assume former kernel
functions, such as device
drivers, GUI servers, etc.
The microkernel approaches:
• consists of defining a simple abstraction over the hardware, with a set of
primitives or system calls to implement minimal OS services such as
memory management, multitasking, and inter-process communication.
Other services, including those normally provided by the kernel, such as
networking, are implemented in user-space programs, referred to as
servers.
• Microkernels are easier to maintain than monolithic kernels, but the large
number of system calls and context switches might slow down the system
because they typically generate more overhead than plain function calls.
• A microkernel allows the implementation of the remaining part of the
operating system as a normal application program written in a high-level
language, and the use of different operating systems on top of the same
unchanged kernel.
• It is also possible to dynamically switch among operating systems and to
have more than one active simultaneously.[7]
Hybrid kernels
 This approach combines the speed and
simpler design of a monolithic kernel with
the modularity and execution safety of a
microkernel.
 are a compromise between the monolithic
and microkernel designs.
 This implies running some services (such as
the network stack or the filesystem) in
kernel space to reduce the performance
overhead of a traditional microkernel, but
still running kernel code (such as device
drivers) as servers in user space.
Nanokernels
delegates virtually all services — including
even the most basic ones like interrupt
controllers or the timer — to device drivers to
make the kernel memory requirement even
smaller than a traditional microkernel
exokernel
An exokernel is a type of kernel that does not
abstract hardware into theoretical models.
Instead it allocates physical hardware resources,
such as processor time, memory pages, and disk
blocks, to different programs.
A program running on an exokernel can link to a
library operating system that uses the exokernel
to simulate the abstractions of a well-known OS,
or it can develop application-specific abstractions
for better performance.
Mac OS X
is based on Darwin, which uses a Hybrid
Kernel called XNU, which was created
combining the 4.3BSD kernel and the Mach
kernel.
Kernel (computing)
Kernel (computing)
Four popular categories or kinds of
Kernels namely
Monolithic kernels,
Microkernels,
Hybrid kernels and
 Exokernels.
Monolithic kernels
are part of Unix-like operating systems like Linux
,FreeBSD etc. These types of kernels consist of
the core functions of the operating system and
the device drivers with the ability to load
modules at runtime.
Microkernels
are part of the operating systems like AIX, BeOS,
Hurd, Mach, Mac OS X, MINIX, QNX. Etc. These
types of kernels normally provide only the
minimal services such as defining memory
address spaces, Inter-process communication
(IPC) and the process management. The other
functions such as running the hardware
processes are not handled directly by
microkernels.
Hybrid kernels
are part of the operating systems such as
Microsoft Windows NT, 2000 and XP. DragonFly
BSD etc. These types of kernels are extensions of
microkernels with some properties of monolithic
kernels. Unlike monolithic kernels, these types
of kernels are unable to load modules at
runtime on their own.
Exokernels
are evolving and still under experimental stage
in development of an operating system that
could incorporate multiple library operating
systems and are intended to simultaneously run
multiple operating systems of different kinds like
Linux and Microsoft Windows together using
appropriate Application Programming Interface
(API).

More Related Content

PPTX
Kernels and its types
PPTX
Virtual machines and their architecture
PPTX
Operating system architecture
PDF
Distributed Operating System_1
PPT
Chapter 3 - Processes
PPT
Intro (Distributed computing)
PPTX
kernels
Kernels and its types
Virtual machines and their architecture
Operating system architecture
Distributed Operating System_1
Chapter 3 - Processes
Intro (Distributed computing)
kernels

What's hot (20)

PPTX
Computing Environment
PPTX
Linux Interrupts
PPT
Fault tolerance and computing
PPTX
Virtual machine
PDF
Linux-Internals-and-Networking
PDF
Inter Process Communication
PPT
Introduction to MPI
PPTX
Operating system kernal
PDF
Operating System.pdf
PPTX
Microkernel in Operating System | Operating System
PPT
Virtualization in cloud computing ppt
PPTX
Windows Architecture Explained by Stacksol
PDF
RTOS - Real Time Operating Systems
PPTX
Thread scheduling in Operating Systems
PDF
Course outline of parallel and distributed computing
PDF
Memory consistency models
PDF
Q4.11: Introduction to eMMC
PPTX
Understanding das-nas-san
PDF
Inter process communication using Linux System Calls
PDF
Soc architecture and design
Computing Environment
Linux Interrupts
Fault tolerance and computing
Virtual machine
Linux-Internals-and-Networking
Inter Process Communication
Introduction to MPI
Operating system kernal
Operating System.pdf
Microkernel in Operating System | Operating System
Virtualization in cloud computing ppt
Windows Architecture Explained by Stacksol
RTOS - Real Time Operating Systems
Thread scheduling in Operating Systems
Course outline of parallel and distributed computing
Memory consistency models
Q4.11: Introduction to eMMC
Understanding das-nas-san
Inter process communication using Linux System Calls
Soc architecture and design
Ad

Similar to Kernel (computing) (20)

PPTX
Embedded Operating System-Kernel Features.pptx
PPTX
KERNEL.pptx
PDF
Walking around linux kernel
PPTX
OS Architectures and Different Kernel Approaches
PPTX
The kernel is a fundamental part of a modern computer's operating system.
PPT
2. microkernel new
PPTX
Mohammad ali
DOCX
In a monolithic kerne1
DOCX
In a monolithic kerne1
PPT
_Kernel and Kernel Architectures.ppt
PPTX
ITT Project Information Technology Basic
PDF
lecture 1 (Part 2) kernal and its categories
PPTX
Kernel Computing
PDF
OS-description
PPTX
Microkernel architecture
PDF
Aayu Tiwari operating system presentation_240406_095037.pdf
PDF
Bhagyashri k os-tutorial1
PPT
Structure of OS ppt Structure of OsS ppt
PPTX
Monolithic kernel
PPTX
Kernel. Operating System
Embedded Operating System-Kernel Features.pptx
KERNEL.pptx
Walking around linux kernel
OS Architectures and Different Kernel Approaches
The kernel is a fundamental part of a modern computer's operating system.
2. microkernel new
Mohammad ali
In a monolithic kerne1
In a monolithic kerne1
_Kernel and Kernel Architectures.ppt
ITT Project Information Technology Basic
lecture 1 (Part 2) kernal and its categories
Kernel Computing
OS-description
Microkernel architecture
Aayu Tiwari operating system presentation_240406_095037.pdf
Bhagyashri k os-tutorial1
Structure of OS ppt Structure of OsS ppt
Monolithic kernel
Kernel. Operating System
Ad

More from Teja Bheemanapally (20)

PDF
PPTX
DOCX
Linux or unix interview questions
DOCX
Linux notes
DOCX
Linux crontab
DOCX
Linux basic commands
PPTX
Linux01122011
PPTX
Kernel (computing)
DOCX
Installing red hat enterprise linux1
DOCX
Linux basic commands tutorial
PDF
Common linuxcommandspocketguide07
DOCX
50 most frequently used unix
PDF
Basic commands
DOCX
File system hierarchy standard
DOCX
40 basic linux command
DOCX
15 practical grep command examples in linux
DOCX
25 most frequently used linux ip tables rules examples
PDF
Shell intro
DOCX
6 stages of linux boot process
DOCX
Installing red hat enterprise linux1
Linux or unix interview questions
Linux notes
Linux crontab
Linux basic commands
Linux01122011
Kernel (computing)
Installing red hat enterprise linux1
Linux basic commands tutorial
Common linuxcommandspocketguide07
50 most frequently used unix
Basic commands
File system hierarchy standard
40 basic linux command
15 practical grep command examples in linux
25 most frequently used linux ip tables rules examples
Shell intro
6 stages of linux boot process
Installing red hat enterprise linux1

Recently uploaded (20)

PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Empathic Computing: Creating Shared Understanding
PDF
Encapsulation theory and applications.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Big Data Technologies - Introduction.pptx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPT
Teaching material agriculture food technology
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
20250228 LYD VKU AI Blended-Learning.pptx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Network Security Unit 5.pdf for BCA BBA.
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Reach Out and Touch Someone: Haptics and Empathic Computing
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Empathic Computing: Creating Shared Understanding
Encapsulation theory and applications.pdf
The AUB Centre for AI in Media Proposal.docx
Advanced methodologies resolving dimensionality complications for autism neur...
Big Data Technologies - Introduction.pptx
Mobile App Security Testing_ A Comprehensive Guide.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Teaching material agriculture food technology
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...

Kernel (computing)

  • 2. What is meant by kernel?  In computing, the kernel is the central component of most computer operating systems; it is a bridge between applications and the actual data processing done at the hardware level.  The kernel's responsibilities include managing the system's resources (the communication between hardware and software components).  Usually as a basic component of an operating system, a kernel can provide the lowest-level abstraction layer for the resources (especially processors and I/O devices) that application software must control to perform its function.  It typically makes these facilities available to application processes through inter-process communication mechanisms and system calls.
  • 3. Operating system tasks are done differently by different kernels, depending on their design and implementation. While monolithic kernels execute all the operating system code in the same address space to increase the performance of the system, microkernels run most of the operating system services in user space as servers, aiming to improve maintainability and modularity of the operating system. A range of possibilities exists between these two extremes.
  • 4. A kernel connects the application software to the hardware of a computer.
  • 5. A typical vision of a computer architecture as a series of abstraction layers: hardware, firmware, assembler, kernel, operating system and applications
  • 6. On the definition of "kernel"  While it is today mostly called the kernel, originally the same part of the operating system was also called the nucleus or core, and was conceived as containing only the essential support features of the operating system.  However the term core has also been used to refer to the primary memory of a computer system, because some early computers used a form of memory called core memory.
  • 7. Features of kernel A kernel will usually provide features for  low-level schedulingof processes (dispatching),  inter-process communication,  process synchronization,  context switching,  manipulation of process control blocks, interrupt handling,  process creation and  destruction, and  process suspension and  resumption
  • 8. Kernel basic facilities The kernel's primary purpose is to manage the computer's resources and allow other programs to run and use these resources. Typically, the resources consist of:  The CPU, the processor. This is the most central part of a computer system, responsible for running or executing programs on it.  The kernel takes responsibility for deciding at any time which of the many running programs should be allocated to the processor or processors (each of which can usually run only one program at a time)
  • 9. Kernel basic facilities (Conti-)  The kernel is responsible for deciding which memory each process can use, and determining what to do when not enough is available.  Any Input/Output (I/O) devices present in the computer, such as keyboard, mouse, disk drives, printers, displays, etc. The kernel allocates requests from applications to perform I/O to an appropriate device (or subsection of a device, in the case of files on a disk or windows on a display) and provides convenient methods for using the device (typically abstracted to the point where the application does not need to know implementation details of the device).
  • 10. monolithic kernels  execute all of their code in the same address space (kernel space) microkernels try to run most of their services in user space, aiming to improve maintainability and modularity of the codebase.  Most kernels do not fit exactly into one of these categories, but are rather found in between these two designs.  These are called hybrid kernels.  More exotic designs such as nanokernels and exokernels are available, but are seldom used for production systems. The Xen hypervisor, for example, is an exokernel.
  • 11. monolithic kernel  In a monolithic kernel, all OS services run along with the main kernel thread, thus also residing in the same memory area.  This approach provides rich and powerful hardware access.  Some developers, such as UNIX developer Ken Thompson, maintain that it is "easier to implement a monolithic kernel“than microkernels.  The main disadvantages of monolithic kernels are the dependencies between system components — a bug in a device driver might crash the entire system — and the fact that large kernels can become very difficult to maintain.
  • 12. What is meant by microkernel? In the microkernel approach, the kernel itself only provides basic functionality that allows the execution of servers, separate programs that assume former kernel functions, such as device drivers, GUI servers, etc.
  • 13. The microkernel approaches: • consists of defining a simple abstraction over the hardware, with a set of primitives or system calls to implement minimal OS services such as memory management, multitasking, and inter-process communication. Other services, including those normally provided by the kernel, such as networking, are implemented in user-space programs, referred to as servers. • Microkernels are easier to maintain than monolithic kernels, but the large number of system calls and context switches might slow down the system because they typically generate more overhead than plain function calls. • A microkernel allows the implementation of the remaining part of the operating system as a normal application program written in a high-level language, and the use of different operating systems on top of the same unchanged kernel. • It is also possible to dynamically switch among operating systems and to have more than one active simultaneously.[7]
  • 14. Hybrid kernels  This approach combines the speed and simpler design of a monolithic kernel with the modularity and execution safety of a microkernel.  are a compromise between the monolithic and microkernel designs.  This implies running some services (such as the network stack or the filesystem) in kernel space to reduce the performance overhead of a traditional microkernel, but still running kernel code (such as device drivers) as servers in user space.
  • 15. Nanokernels delegates virtually all services — including even the most basic ones like interrupt controllers or the timer — to device drivers to make the kernel memory requirement even smaller than a traditional microkernel
  • 16. exokernel An exokernel is a type of kernel that does not abstract hardware into theoretical models. Instead it allocates physical hardware resources, such as processor time, memory pages, and disk blocks, to different programs. A program running on an exokernel can link to a library operating system that uses the exokernel to simulate the abstractions of a well-known OS, or it can develop application-specific abstractions for better performance.
  • 17. Mac OS X is based on Darwin, which uses a Hybrid Kernel called XNU, which was created combining the 4.3BSD kernel and the Mach kernel.
  • 20. Four popular categories or kinds of Kernels namely Monolithic kernels, Microkernels, Hybrid kernels and  Exokernels.
  • 21. Monolithic kernels are part of Unix-like operating systems like Linux ,FreeBSD etc. These types of kernels consist of the core functions of the operating system and the device drivers with the ability to load modules at runtime.
  • 22. Microkernels are part of the operating systems like AIX, BeOS, Hurd, Mach, Mac OS X, MINIX, QNX. Etc. These types of kernels normally provide only the minimal services such as defining memory address spaces, Inter-process communication (IPC) and the process management. The other functions such as running the hardware processes are not handled directly by microkernels.
  • 23. Hybrid kernels are part of the operating systems such as Microsoft Windows NT, 2000 and XP. DragonFly BSD etc. These types of kernels are extensions of microkernels with some properties of monolithic kernels. Unlike monolithic kernels, these types of kernels are unable to load modules at runtime on their own.
  • 24. Exokernels are evolving and still under experimental stage in development of an operating system that could incorporate multiple library operating systems and are intended to simultaneously run multiple operating systems of different kinds like Linux and Microsoft Windows together using appropriate Application Programming Interface (API).