SlideShare a Scribd company logo
Name: Sampad Kar
Student Code: BWU/BTA/22/225
Course Name: Operating Systems
Course Code: PCC-CSM401
Group: D
Session: 2023-24
Microkernel
in
Operating
Systems
● Introduction to Kernel
● What is a Microkernel?
● Microkernel Architecture
● Advantages of Microkernel
● Disadvantages of Microkernel
● Microkernel vs Monolithic Kernel
● Use Cases
● References
Agenda
● A kernel is the core component of an
operating system. It plays a crucial role in
managing computer operations and
hardware.
● The kernel acts as a bridge between user
applications and the low-level data
processing performed by hardware.
● When an operating system is loaded, the
kernel is the first component to load into
memory and remains there until the system
shuts down. It handles tasks such as disk
management, task management, and memory
management.
Introduction to Kernel
01
02
What is a Microkernel?
This method structures the operating system by
removing all nonessential components from the
kernel and implementing them as system and
user-level programs. The result is a smaller
kernel.
.
The primary idea behind a microkernel is to
provide only the essential services needed for
inter-process communication, memory
management, and basic hardware abstraction.
01
02
Microkernel Architecture
The switch between User Mode and Kernel Mode is
done through system calls. The mode bit of kernel-
mode is 0, while the mode bit of user-mode is 1.
In a microkernel architecture, user-level processes run
until they need kernel-level services, initiating a system
call. The CPU switches to kernel mode, transferring
control to the microkernel. Here, the microkernel
executes the requested operation, which may involve
managing hardware or coordinating inter-process communication. After completion, the CPU transitions
back to user mode, allowing the user-level process to continue. Context switching involves saving and
restoring process state, ensuring seamless execution. This design enhances modularity and security, as
system-level services operate independently, minimizing the kernel's size and reducing the risk of critical
failures.
01
02
03
Modularity:
The modular approach makes it
easier to maintain, extend, and
debug the system..
Advantages of Microkernel
Security:
Services run in user space, isolating
them from the core kernel, which
helps prevent security breaches from
affecting critical system functions..
Reliability:
Because microkernels have a small and
well-defined core, Faults in peripheral
components can be isolated and managed
without affecting the entire system.
01
02
03
Increased System Resource Usage:
Microkernels may require more
System resources compared to
monolithic kernels due to the
overhead associated with
Managing separate processes and
IPC mechanisms.
Disadvantages of Microkernel
Performance Overhead:
Context switches between user and
kernel space, as well as message
Passing between components,
can introduce latency and
reduce overall system
performance.
Complexity of Implementation:
Designing and implementing a
microkernel-based operating system is
often more complex than developing a
monolithic kernel.
Monolithic Vs Microkernel
01
02
Use Cases
The microkernel is specially useful in systems where
modularity, scalability and security plays an important
role.
Apple’s MacOS, iOS, iPadOS are based on microkernel
References
• https://www.javatpoint.com/microkernel-in-operating-
system#:~:text=Microkernels%20are%20secure%20since%20only,so%20it%20may%
20perform%20better.
• https://en.wikipedia.org/wiki/Microkernel
• https://www.geeksforgeeks.org/microkernel-in-operating-systems/
Thank You

More Related Content

Similar to Microkernel in Operating System | Operating System

Analysis of Practicality and Performance Evaluation for Monolithic Kernel and...
Analysis of Practicality and Performance Evaluation for Monolithic Kernel and...Analysis of Practicality and Performance Evaluation for Monolithic Kernel and...
Analysis of Practicality and Performance Evaluation for Monolithic Kernel and...
CSCJournals
 
Riya Bepari_34700122020_Operating System_PCC-CS502.pptx
Riya Bepari_34700122020_Operating System_PCC-CS502.pptxRiya Bepari_34700122020_Operating System_PCC-CS502.pptx
Riya Bepari_34700122020_Operating System_PCC-CS502.pptx
RIYABEPARI
 
D1.2 analysis and selection of low power techniques, services and patterns
D1.2 analysis and selection of low power techniques, services and patternsD1.2 analysis and selection of low power techniques, services and patterns
D1.2 analysis and selection of low power techniques, services and patterns
Babak Sorkhpour
 
1. What are the advantages and disadvantages of hardwired and micro-.pdf
1. What are the advantages and disadvantages of hardwired and micro-.pdf1. What are the advantages and disadvantages of hardwired and micro-.pdf
1. What are the advantages and disadvantages of hardwired and micro-.pdf
arihantelehyb
 

Similar to Microkernel in Operating System | Operating System (20)

Microkernel
MicrokernelMicrokernel
Microkernel
 
Analysis of Practicality and Performance Evaluation for Monolithic Kernel and...
Analysis of Practicality and Performance Evaluation for Monolithic Kernel and...Analysis of Practicality and Performance Evaluation for Monolithic Kernel and...
Analysis of Practicality and Performance Evaluation for Monolithic Kernel and...
 
Riya Bepari_34700122020_Operating System_PCC-CS502.pptx
Riya Bepari_34700122020_Operating System_PCC-CS502.pptxRiya Bepari_34700122020_Operating System_PCC-CS502.pptx
Riya Bepari_34700122020_Operating System_PCC-CS502.pptx
 
OS-UNIT-1-Part-2.pdf
OS-UNIT-1-Part-2.pdfOS-UNIT-1-Part-2.pdf
OS-UNIT-1-Part-2.pdf
 
Operating Systems – Structuring Methods.pptx
Operating Systems – Structuring Methods.pptxOperating Systems – Structuring Methods.pptx
Operating Systems – Structuring Methods.pptx
 
Operating system 15 micro kernel based os
Operating system 15 micro kernel based osOperating system 15 micro kernel based os
Operating system 15 micro kernel based os
 
The kernel is a fundamental part of a modern computer's operating system.
The kernel is a fundamental part of a  modern computer's operating system.The kernel is a fundamental part of a  modern computer's operating system.
The kernel is a fundamental part of a modern computer's operating system.
 
Chapter 1- Introduction.ppt
Chapter 1- Introduction.pptChapter 1- Introduction.ppt
Chapter 1- Introduction.ppt
 
D1.2 analysis and selection of low power techniques, services and patterns
D1.2 analysis and selection of low power techniques, services and patternsD1.2 analysis and selection of low power techniques, services and patterns
D1.2 analysis and selection of low power techniques, services and patterns
 
Micro kernel
Micro kernelMicro kernel
Micro kernel
 
Embedded Operating System-Kernel Features.pptx
Embedded Operating System-Kernel Features.pptxEmbedded Operating System-Kernel Features.pptx
Embedded Operating System-Kernel Features.pptx
 
Os Ds Arch
Os Ds ArchOs Ds Arch
Os Ds Arch
 
Multiprocessors MP&MC.pptx
Multiprocessors MP&MC.pptxMultiprocessors MP&MC.pptx
Multiprocessors MP&MC.pptx
 
1. What are the advantages and disadvantages of hardwired and micro-.pdf
1. What are the advantages and disadvantages of hardwired and micro-.pdf1. What are the advantages and disadvantages of hardwired and micro-.pdf
1. What are the advantages and disadvantages of hardwired and micro-.pdf
 
Real Time Operating System ,Structures of Operating System (Monolithic, Micro...
Real Time Operating System ,Structures of Operating System(Monolithic, Micro...Real Time Operating System ,Structures of Operating System(Monolithic, Micro...
Real Time Operating System ,Structures of Operating System (Monolithic, Micro...
 
Implementation of linux based uart device driver
Implementation of linux based uart device driverImplementation of linux based uart device driver
Implementation of linux based uart device driver
 
F9: A Secure and Efficient Microkernel Built for Deeply Embedded Systems
F9: A Secure and Efficient Microkernel Built for Deeply Embedded SystemsF9: A Secure and Efficient Microkernel Built for Deeply Embedded Systems
F9: A Secure and Efficient Microkernel Built for Deeply Embedded Systems
 
580 584
580 584580 584
580 584
 
Linux kernel Architecture and Properties
Linux kernel Architecture and PropertiesLinux kernel Architecture and Properties
Linux kernel Architecture and Properties
 
Network management systems in large enterprise
Network management systems in large enterpriseNetwork management systems in large enterprise
Network management systems in large enterprise
 

More from Sampad Kar

Logical Equivalence | Propositional Logic | Discrete Mathematics
Logical Equivalence | Propositional Logic | Discrete MathematicsLogical Equivalence | Propositional Logic | Discrete Mathematics
Logical Equivalence | Propositional Logic | Discrete Mathematics
Sampad Kar
 
Turing Machine | Theory Of Computation | Formal Language and Automata Theory
Turing Machine | Theory Of Computation | Formal Language and Automata TheoryTuring Machine | Theory Of Computation | Formal Language and Automata Theory
Turing Machine | Theory Of Computation | Formal Language and Automata Theory
Sampad Kar
 
Constructor In Java | Object Oriented Programming
Constructor In Java | Object Oriented ProgrammingConstructor In Java | Object Oriented Programming
Constructor In Java | Object Oriented Programming
Sampad Kar
 

More from Sampad Kar (13)

Logical Equivalence | Propositional Logic | Discrete Mathematics
Logical Equivalence | Propositional Logic | Discrete MathematicsLogical Equivalence | Propositional Logic | Discrete Mathematics
Logical Equivalence | Propositional Logic | Discrete Mathematics
 
Turing Machine | Theory Of Computation | Formal Language and Automata Theory
Turing Machine | Theory Of Computation | Formal Language and Automata TheoryTuring Machine | Theory Of Computation | Formal Language and Automata Theory
Turing Machine | Theory Of Computation | Formal Language and Automata Theory
 
Constructor In Java | Object Oriented Programming
Constructor In Java | Object Oriented ProgrammingConstructor In Java | Object Oriented Programming
Constructor In Java | Object Oriented Programming
 
Data Structure - Stacks
Data Structure - StacksData Structure - Stacks
Data Structure - Stacks
 
Python Functions
Python FunctionsPython Functions
Python Functions
 
Basic Logic Gates
Basic Logic GatesBasic Logic Gates
Basic Logic Gates
 
Reduced Instruction Set Computer (RISC)
Reduced Instruction Set Computer (RISC)Reduced Instruction Set Computer (RISC)
Reduced Instruction Set Computer (RISC)
 
Variation Of Parameter (Differential Equations)
Variation Of Parameter (Differential Equations)Variation Of Parameter (Differential Equations)
Variation Of Parameter (Differential Equations)
 
Probability Distribution - Binomial, Exponential and Normal
Probability Distribution - Binomial, Exponential and NormalProbability Distribution - Binomial, Exponential and Normal
Probability Distribution - Binomial, Exponential and Normal
 
Carnot Engine - Thermodynamics
Carnot Engine - ThermodynamicsCarnot Engine - Thermodynamics
Carnot Engine - Thermodynamics
 
Central Tendency - Mean, Median and Mode
Central Tendency - Mean, Median and ModeCentral Tendency - Mean, Median and Mode
Central Tendency - Mean, Median and Mode
 
LAW OF VARIABLE PROPORTIONS
LAW OF VARIABLE PROPORTIONSLAW OF VARIABLE PROPORTIONS
LAW OF VARIABLE PROPORTIONS
 
2D-Arrays
2D-Arrays2D-Arrays
2D-Arrays
 

Recently uploaded

RS Khurmi Machine Design Clutch and Brake Exercise Numerical Solutions
RS Khurmi Machine Design Clutch and Brake Exercise Numerical SolutionsRS Khurmi Machine Design Clutch and Brake Exercise Numerical Solutions
RS Khurmi Machine Design Clutch and Brake Exercise Numerical Solutions
Atif Razi
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
R&R Consult
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
Kamal Acharya
 
Fruit shop management system project report.pdf
Fruit shop management system project report.pdfFruit shop management system project report.pdf
Fruit shop management system project report.pdf
Kamal Acharya
 

Recently uploaded (20)

Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
fundamentals of drawing and isometric and orthographic projection
fundamentals of drawing and isometric and orthographic projectionfundamentals of drawing and isometric and orthographic projection
fundamentals of drawing and isometric and orthographic projection
 
RS Khurmi Machine Design Clutch and Brake Exercise Numerical Solutions
RS Khurmi Machine Design Clutch and Brake Exercise Numerical SolutionsRS Khurmi Machine Design Clutch and Brake Exercise Numerical Solutions
RS Khurmi Machine Design Clutch and Brake Exercise Numerical Solutions
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
 
Introduction to Machine Learning Unit-5 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-5 Notes for II-II Mechanical EngineeringIntroduction to Machine Learning Unit-5 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-5 Notes for II-II Mechanical Engineering
 
RESORT MANAGEMENT AND RESERVATION SYSTEM PROJECT REPORT.pdf
RESORT MANAGEMENT AND RESERVATION SYSTEM PROJECT REPORT.pdfRESORT MANAGEMENT AND RESERVATION SYSTEM PROJECT REPORT.pdf
RESORT MANAGEMENT AND RESERVATION SYSTEM PROJECT REPORT.pdf
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Arya
 
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdfA CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
 
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptxCloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
 
KIT-601 Lecture Notes-UNIT-5.pdf Frame Works and Visualization
KIT-601 Lecture Notes-UNIT-5.pdf Frame Works and VisualizationKIT-601 Lecture Notes-UNIT-5.pdf Frame Works and Visualization
KIT-601 Lecture Notes-UNIT-5.pdf Frame Works and Visualization
 
Scaling in conventional MOSFET for constant electric field and constant voltage
Scaling in conventional MOSFET for constant electric field and constant voltageScaling in conventional MOSFET for constant electric field and constant voltage
Scaling in conventional MOSFET for constant electric field and constant voltage
 
Toll tax management system project report..pdf
Toll tax management system project report..pdfToll tax management system project report..pdf
Toll tax management system project report..pdf
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
The Ultimate Guide to External Floating Roofs for Oil Storage Tanks.docx
The Ultimate Guide to External Floating Roofs for Oil Storage Tanks.docxThe Ultimate Guide to External Floating Roofs for Oil Storage Tanks.docx
The Ultimate Guide to External Floating Roofs for Oil Storage Tanks.docx
 
Fruit shop management system project report.pdf
Fruit shop management system project report.pdfFruit shop management system project report.pdf
Fruit shop management system project report.pdf
 
A case study of cinema management system project report..pdf
A case study of cinema management system project report..pdfA case study of cinema management system project report..pdf
A case study of cinema management system project report..pdf
 
Furniture showroom management system project.pdf
Furniture showroom management system project.pdfFurniture showroom management system project.pdf
Furniture showroom management system project.pdf
 

Microkernel in Operating System | Operating System

  • 1. Name: Sampad Kar Student Code: BWU/BTA/22/225 Course Name: Operating Systems Course Code: PCC-CSM401 Group: D Session: 2023-24
  • 3. ● Introduction to Kernel ● What is a Microkernel? ● Microkernel Architecture ● Advantages of Microkernel ● Disadvantages of Microkernel ● Microkernel vs Monolithic Kernel ● Use Cases ● References Agenda
  • 4. ● A kernel is the core component of an operating system. It plays a crucial role in managing computer operations and hardware. ● The kernel acts as a bridge between user applications and the low-level data processing performed by hardware. ● When an operating system is loaded, the kernel is the first component to load into memory and remains there until the system shuts down. It handles tasks such as disk management, task management, and memory management. Introduction to Kernel
  • 5. 01 02 What is a Microkernel? This method structures the operating system by removing all nonessential components from the kernel and implementing them as system and user-level programs. The result is a smaller kernel. . The primary idea behind a microkernel is to provide only the essential services needed for inter-process communication, memory management, and basic hardware abstraction.
  • 6. 01 02 Microkernel Architecture The switch between User Mode and Kernel Mode is done through system calls. The mode bit of kernel- mode is 0, while the mode bit of user-mode is 1. In a microkernel architecture, user-level processes run until they need kernel-level services, initiating a system call. The CPU switches to kernel mode, transferring control to the microkernel. Here, the microkernel executes the requested operation, which may involve managing hardware or coordinating inter-process communication. After completion, the CPU transitions back to user mode, allowing the user-level process to continue. Context switching involves saving and restoring process state, ensuring seamless execution. This design enhances modularity and security, as system-level services operate independently, minimizing the kernel's size and reducing the risk of critical failures.
  • 7. 01 02 03 Modularity: The modular approach makes it easier to maintain, extend, and debug the system.. Advantages of Microkernel Security: Services run in user space, isolating them from the core kernel, which helps prevent security breaches from affecting critical system functions.. Reliability: Because microkernels have a small and well-defined core, Faults in peripheral components can be isolated and managed without affecting the entire system.
  • 8. 01 02 03 Increased System Resource Usage: Microkernels may require more System resources compared to monolithic kernels due to the overhead associated with Managing separate processes and IPC mechanisms. Disadvantages of Microkernel Performance Overhead: Context switches between user and kernel space, as well as message Passing between components, can introduce latency and reduce overall system performance. Complexity of Implementation: Designing and implementing a microkernel-based operating system is often more complex than developing a monolithic kernel.
  • 10. 01 02 Use Cases The microkernel is specially useful in systems where modularity, scalability and security plays an important role. Apple’s MacOS, iOS, iPadOS are based on microkernel

Editor's Notes

  1. Entered text “Microkernel in Operating Systems” Agenda Slide: Introduction to Kernel What is a Microkernel? Microkernel Architecture Advantages of Microkernel Disadvantages of Microkernel Microkernel vs Monolithic Kernel Use Cases Conclusion Introduction to Kernel Slide: Define what a kernel is. Explain its role as a bridge between applications and hardware. Mention that it’s one of the first programs loaded on startup. What is a Microkernel? Slide: Describe the microkernel as a minimalistic kernel. Highlight that it provides essential services like memory management and process scheduling1. Microkernel Architecture Slide: Illustrate the architecture with a diagram. Detail the separation of user services and kernel services. Advantages of Microkernel Slide: Discuss security benefits due to reduced attack surface. Explain stability advantages as user-level process crashes don’t affect the system. Mention modularity and flexibility for customization1. Disadvantages of Microkernel Slide: Address potential performance issues due to message passing. Talk about the complexity that can arise from a modular design1. Microkernel vs Monolithic Kernel Slide: Compare and contrast with monolithic kernels. Use a table or bullet points for clear comparison. Use Cases Slide: Provide examples of operating systems using microkernels. Discuss scenarios where microkernels are preferred. Conclusion Slide: Summarize the key points. Reiterate the importance of microkernels in modern OS design.