SlideShare a Scribd company logo
2
Most read
4
Most read
7
Most read
Kernels
ARAVIND J
18MCS1004
VIT-CC
What is Kernel?
• A core component of Operating System without which OS can't work.
• Kernel is the nervous system of OS.
• It is the central core of Operating System.
• It controls everything in OS including I/O Management, Process Management and so on.
• It is a bridge between applications and the actual data processing done at the hardware level.
• It acts as an interface between the user applications and the hardware.
Kernels and its types
Responsibilities of Kernel
1. Central Processing Unit
The Kernel takes responsibility for deciding at anytime which of the many running
programs should be allocated to the processors.
2. Random Access Memory
Random Access memory is used to store both program instructions and data. Often
multiple programs will want access to memory, frequently demanding more memory than the
computer has available. The Kernel is responsible for deciding which memory each process can
use, and determining what to do when not enough memory is available.
3. Input/output Devices
The Kernel allocates requests from applications to perform I/O to an appropirate device
and provides convenient methods for using the device.
4. Memory Management
The Kernel has full access to the system's memory and must allow processes to safely
access this memory as they require it.
5.Device Management
A Kernel must maintain a list of available devices. This list may be known in advance
configured by the user or detected by the operating system at run time (normally called plug and
play)
Features provided by Kernel
1) Scheduling of Process (Dispatching)
2) Interprocess Communication
3) Process Synchronization
4) Context Switching
5) Manipulation of Process Control Blocks
6) Interrupt Handling
7) Process Creation and Destruction
8) Process Suspension and Resumption
Monolithic Kernel
Monolithic Kernels run every basic system services like process and memory management,
interrupt handling and I/O Communication, file system etc in Kernel space.
They are used by Unix, Linux like Operating systems. Since there is less software involved it is
faster.
Every component of the Operating system is contained in the kernel and can directly
communicate with each other simply by using function calls. The Kernel typically executes with
unrestricted access to the computer system.
This approach provides rich and powerful hardware access.
Kernels and its types
Advantages of Monolithic Kernel
1) Smaller in Source and Compiled forms
2) Less code generally means fewer bugs and security problems is also less.
3) System calls are used to do operations in monolithic kernel
4) Execution is fast
5) It has all the things in kernel itself so we don't need any extra mechanism for handling of I/O
and Process at the time of application making
Disadvantages of Monolithic Kernel
1) Coding in kernel space is hard, since you cannot use common libraries
2) Debugging is harder, rebooting the computer is often needed
3) Bugs in one part of kernel produce strong side effects
4) Kernels often become very huge and difficult to maintain.
5) Not portable one
-Monolithic kernels must be rewritten for each new architecture that the OS is to
be used on.
Micro Kernel
In a microkernel, the kernel provides basic functionality that allows the execution of servers and
separate programs .
The Kernel is broken into separate processes known as servers. Some of the servers run in
user space and some in kernel space. All servers are kept separate and run in different address
spaces.
The communication in microkernels is done via message passing. The servers communicate
through Interprocess Communication(IPC). Servers invoke "services" from each other by
sending messages.
It is also possible to dynamically switch among operating systems and to have more than one
active simultaneously.
Kernels and its types
Kernels and its types
Advantages of Micro Kernel
1) Easier to maintain than Monolithic Kernel
2) Crash resistant (If one server fails, other servers can still work efficiently).
3) Portable
4) Smaller in size
5) Contains smaller amount of code. It increases stability and security.
Hybrid Kernel
Hybrid Kernel-Combination of Monolithic Kernels and Micro Kernels.
It has qualities of both monolithic as well as micro kernels but it cannot be classfied as a
monolithic or micro kernel exclusively
It combines the best of both monolithic kernel and micro kernel
+Speed and simple design of a monolithic kernel
+Modularity and stability of a micro kernel
Kernels and its types
THANK YOU

More Related Content

PPS
Interrupts
PPT
Kernel mode vs user mode in linux
PPTX
kernels
PPTX
Microkernel architecture
PPT
البرمجيات
PPTX
Binary Tree Traversal
Interrupts
Kernel mode vs user mode in linux
kernels
Microkernel architecture
البرمجيات
Binary Tree Traversal

What's hot (20)

PDF
operating system structure
PPT
Memory Management in OS
PPTX
Threads .ppt
PPTX
Operating system components
PPTX
Operating system architecture
PPTX
Virtual memory presentation
PPTX
Kernel. Operating System
PPT
Scheduling algorithms
PDF
Operating systems system structures
PPTX
Process management in linux
PPT
OS Process and Thread Concepts
PPTX
Process state in OS
PPTX
What is Kernel, basic idea of kernel
PPTX
Types Of Operating Systems
PPTX
Multiprocessor system
PDF
Multithreading
PPTX
Operating system - Process and its concepts
PDF
Operating System.pdf
PPT
NUMA overview
operating system structure
Memory Management in OS
Threads .ppt
Operating system components
Operating system architecture
Virtual memory presentation
Kernel. Operating System
Scheduling algorithms
Operating systems system structures
Process management in linux
OS Process and Thread Concepts
Process state in OS
What is Kernel, basic idea of kernel
Types Of Operating Systems
Multiprocessor system
Multithreading
Operating system - Process and its concepts
Operating System.pdf
NUMA overview
Ad

Similar to Kernels and its types (20)

PPTX
Monolithic kernel
PPTX
Embedded Operating System-Kernel Features.pptx
PDF
lecture 1 (Part 2) kernal and its categories
PPTX
Kernel (computing)
PPTX
Kernel (computing)
PPTX
ITT Project Information Technology Basic
PDF
Linux Internals - Interview essentials - 1.0
DOCX
In a monolithic kerne1
DOCX
In a monolithic kerne1
PPTX
Operating System 2.pptx
PDF
Walking around linux kernel
PPTX
Mohammad ali
PPTX
Kernel and its Types
PPTX
The kernel is a fundamental part of a modern computer's operating system.
PDF
Kernal assignment
PDF
Aayu Tiwari operating system presentation_240406_095037.pdf
PDF
F9: A Secure and Efficient Microkernel Built for Deeply Embedded Systems
PDF
Linux kernel Architecture and Properties
DOC
OPERATING SYSTEM - SHORT NOTES
PPTX
Presentation . ppt.pptxpptxpptxpptxpptxll
Monolithic kernel
Embedded Operating System-Kernel Features.pptx
lecture 1 (Part 2) kernal and its categories
Kernel (computing)
Kernel (computing)
ITT Project Information Technology Basic
Linux Internals - Interview essentials - 1.0
In a monolithic kerne1
In a monolithic kerne1
Operating System 2.pptx
Walking around linux kernel
Mohammad ali
Kernel and its Types
The kernel is a fundamental part of a modern computer's operating system.
Kernal assignment
Aayu Tiwari operating system presentation_240406_095037.pdf
F9: A Secure and Efficient Microkernel Built for Deeply Embedded Systems
Linux kernel Architecture and Properties
OPERATING SYSTEM - SHORT NOTES
Presentation . ppt.pptxpptxpptxpptxpptxll
Ad

Recently uploaded (20)

PPTX
additive manufacturing of ss316l using mig welding
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PPTX
Lecture Notes Electrical Wiring System Components
DOCX
573137875-Attendance-Management-System-original
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
Lesson 3_Tessellation.pptx finite Mathematics
PPTX
Welding lecture in detail for understanding
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
CH1 Production IntroductoryConcepts.pptx
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
Strings in CPP - Strings in C++ are sequences of characters used to store and...
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
Digital Logic Computer Design lecture notes
PDF
Arduino robotics embedded978-1-4302-3184-4.pdf
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
Geodesy 1.pptx...............................................
PPTX
OOP with Java - Java Introduction (Basics)
additive manufacturing of ss316l using mig welding
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
Lecture Notes Electrical Wiring System Components
573137875-Attendance-Management-System-original
Model Code of Practice - Construction Work - 21102022 .pdf
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Lesson 3_Tessellation.pptx finite Mathematics
Welding lecture in detail for understanding
Internet of Things (IOT) - A guide to understanding
Operating System & Kernel Study Guide-1 - converted.pdf
CH1 Production IntroductoryConcepts.pptx
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Strings in CPP - Strings in C++ are sequences of characters used to store and...
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Digital Logic Computer Design lecture notes
Arduino robotics embedded978-1-4302-3184-4.pdf
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
bas. eng. economics group 4 presentation 1.pptx
Geodesy 1.pptx...............................................
OOP with Java - Java Introduction (Basics)

Kernels and its types

  • 2. What is Kernel? • A core component of Operating System without which OS can't work. • Kernel is the nervous system of OS. • It is the central core of Operating System. • It controls everything in OS including I/O Management, Process Management and so on. • It is a bridge between applications and the actual data processing done at the hardware level. • It acts as an interface between the user applications and the hardware.
  • 4. Responsibilities of Kernel 1. Central Processing Unit The Kernel takes responsibility for deciding at anytime which of the many running programs should be allocated to the processors. 2. Random Access Memory Random Access memory is used to store both program instructions and data. Often multiple programs will want access to memory, frequently demanding more memory than the computer has available. The Kernel is responsible for deciding which memory each process can use, and determining what to do when not enough memory is available. 3. Input/output Devices The Kernel allocates requests from applications to perform I/O to an appropirate device and provides convenient methods for using the device.
  • 5. 4. Memory Management The Kernel has full access to the system's memory and must allow processes to safely access this memory as they require it. 5.Device Management A Kernel must maintain a list of available devices. This list may be known in advance configured by the user or detected by the operating system at run time (normally called plug and play)
  • 6. Features provided by Kernel 1) Scheduling of Process (Dispatching) 2) Interprocess Communication 3) Process Synchronization 4) Context Switching 5) Manipulation of Process Control Blocks 6) Interrupt Handling 7) Process Creation and Destruction 8) Process Suspension and Resumption
  • 7. Monolithic Kernel Monolithic Kernels run every basic system services like process and memory management, interrupt handling and I/O Communication, file system etc in Kernel space. They are used by Unix, Linux like Operating systems. Since there is less software involved it is faster. Every component of the Operating system is contained in the kernel and can directly communicate with each other simply by using function calls. The Kernel typically executes with unrestricted access to the computer system. This approach provides rich and powerful hardware access.
  • 9. Advantages of Monolithic Kernel 1) Smaller in Source and Compiled forms 2) Less code generally means fewer bugs and security problems is also less. 3) System calls are used to do operations in monolithic kernel 4) Execution is fast 5) It has all the things in kernel itself so we don't need any extra mechanism for handling of I/O and Process at the time of application making
  • 10. Disadvantages of Monolithic Kernel 1) Coding in kernel space is hard, since you cannot use common libraries 2) Debugging is harder, rebooting the computer is often needed 3) Bugs in one part of kernel produce strong side effects 4) Kernels often become very huge and difficult to maintain. 5) Not portable one -Monolithic kernels must be rewritten for each new architecture that the OS is to be used on.
  • 11. Micro Kernel In a microkernel, the kernel provides basic functionality that allows the execution of servers and separate programs . The Kernel is broken into separate processes known as servers. Some of the servers run in user space and some in kernel space. All servers are kept separate and run in different address spaces. The communication in microkernels is done via message passing. The servers communicate through Interprocess Communication(IPC). Servers invoke "services" from each other by sending messages. It is also possible to dynamically switch among operating systems and to have more than one active simultaneously.
  • 14. Advantages of Micro Kernel 1) Easier to maintain than Monolithic Kernel 2) Crash resistant (If one server fails, other servers can still work efficiently). 3) Portable 4) Smaller in size 5) Contains smaller amount of code. It increases stability and security.
  • 15. Hybrid Kernel Hybrid Kernel-Combination of Monolithic Kernels and Micro Kernels. It has qualities of both monolithic as well as micro kernels but it cannot be classfied as a monolithic or micro kernel exclusively It combines the best of both monolithic kernel and micro kernel +Speed and simple design of a monolithic kernel +Modularity and stability of a micro kernel