SlideShare a Scribd company logo
KERNEL
FORMAL DEFINITION
• In computing, the kernel is a computer program that manages
input/output requests from software and translates them into
data processing instructions for the central processing unit
and other electronic components of a computer.
• The kernel is a fundamental part of a modern computer's
operating system.
A kernel connectsthe application software to
the hardware ofacomputer.
Atypical vision of acomputer architecture asaseries of
abstractionlayers:
hardware, firmware, assembler, kernel, operating system
and applications
FEATURES THAT KERNEL
PROVIDES:
•low-level scheduling of processes
(dispatching)
•inter-process communication
•process synchronization
•context switching
•manipulation of process control
blocks
•interrupt handling
•process creation and destruction
•process suspension and
resumption
KERNELBASICFACILITIES
Thekernel's primary purpose isto managethe
computer's resourcesand allow other programsto run
and usetheseresources.
Typically,the resourcesconsistof:
 TheCPU,the processor.Thisisthe most central part of a
computer system,responsible for running or executing
programs onit.
 Thekernel takesresponsibility for deciding at any time
which of the manyrunning programs shouldbe allocated
to the processor or processors(eachof which canusually
run only one program at atime)
KERNELBASIC FACILITIES
 Thekernel is responsible for deciding whichmemory
eachprocesscanuse,and determining what to do when
not enough isavailable.
 AnyInput/Output devicespresent in the computer, such
askeyboard, mouse,disk drives, printers, displays,etc. The
kernel allocates requests from applications to perform
I/O to anappropriate deviceand provides convenient
methods for usingthe device.
TYPES OF KERNELS
• Monolithic kernels
• Microkernels(μK )
• Hybrid(Modular) kernels
• Nano kernels
• Exokernels
•Micro Kernel:
Only the very important parts like INTER process
communication(IPC) , basic schedular, basic memory handling ,
basic I/O primitives are placed in kernel. Others are maintained
as server processes in user space .
Communication is done by message passing .
The kernel is broken down into separate processes, known as
servers.. 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.
ADVANTAGES OF
MICROKERNEL
• Microkernels are easier to maintain than monolithic kernels.
• Crash resistant ( if one server fails, other servers can still work
efficiently.)
• Portable
• Smaller in Size
DISADVANTAGES OF MICROKERNEL:
Slower processing because of
additional message passing.
MONOLITHIC
KERNEL
•It runs every basic system service like process
and memory management, interrupt handling
and I/O communication, file system etc. in
kernel space. Examples are Linux, Unix.
•Advantages: performance
•Disadvantages: difficult to debug and maintain
HYBRID KERNEL:
•One other type of kernel is called a hybrid kernel which lies on
the boundary between monolithic kernels and microkernels.
This means it has qualities of both, but hybrid kernels cannot
be classified as a monolithic kernel or microkernel exclusively.
Combine the best of both worlds
•Speed and simple design of a monolithic kernel
•Modularity and stability of a microkernel
HYBRID KERNELS:
Advantages:
•Benefits of monolithic and
microkernels
Disadvantages:
•Same as monolithic kernels
KERNEL'S RESPONSIBILITIES:
•The central processing unit
•Random access memory
•INPUT/OUTPUT devices
•Memory management
•Device management
•System calls
THE CENTRAL PROCESSING
UNIT
•This central component of a computer system is responsible
for running or executing programs. 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).
RANDOM ACCESS
MEMORY
•Random-access memory is used to store both program
instructions and data. Typically, both need to be present in
memory in order for a program to execute. 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.
INPUT/OUTPUT DEVICES
•I/O devices include such peripherals as keyboards, mice,
disk drives, printers, network adapters, and display devices.
The kernel allocates requests from applications to perform
I/O to an appropriate device and provides convenient
methods for using the device.
MEMORY MANAGEMENT
• Virtualaddressing:
Paging
Segmentation
• Data Stores:
Hard Drive
RAM
• Memory Partitions:
Kernel space
User space
• THE KERNEL HAS UNIQUE QUALITIES. IT ENFORCES ITS
OWN RULES AND THE STAKES, MANAGING THE ENTIRE
SYSTEM AS THE KERNEL DOES, ARE CERTAINLY HIGHER.
Conclusion
The kernel is a fundamental part of a  modern computer's operating system.

More Related Content

Similar to The kernel is a fundamental part of a modern computer's operating system.

1_to_10.pdf
1_to_10.pdf1_to_10.pdf
1_to_10.pdf
SHEHABALYAMANI
 

Similar to The kernel is a fundamental part of a modern computer's operating system. (20)

Kernel (computing)
Kernel (computing)Kernel (computing)
Kernel (computing)
 
Monolithic kernel
Monolithic kernelMonolithic kernel
Monolithic kernel
 
1_to_10.pdf
1_to_10.pdf1_to_10.pdf
1_to_10.pdf
 
CSE3120- Module1 part 1 v1.pptx
CSE3120- Module1 part 1 v1.pptxCSE3120- Module1 part 1 v1.pptx
CSE3120- Module1 part 1 v1.pptx
 
Aayu Tiwari operating system presentation_240406_095037.pdf
Aayu Tiwari operating system presentation_240406_095037.pdfAayu Tiwari operating system presentation_240406_095037.pdf
Aayu Tiwari operating system presentation_240406_095037.pdf
 
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
 
_Kernel and Kernel Architectures.ppt
_Kernel and Kernel Architectures.ppt_Kernel and Kernel Architectures.ppt
_Kernel and Kernel Architectures.ppt
 
Microkernel
MicrokernelMicrokernel
Microkernel
 
Kernel. Operating System
Kernel. Operating SystemKernel. Operating System
Kernel. Operating System
 
Operating system components
Operating system componentsOperating system components
Operating system components
 
Microkernels
MicrokernelsMicrokernels
Microkernels
 
Chapter one_oS.ppt
Chapter one_oS.pptChapter one_oS.ppt
Chapter one_oS.ppt
 
Operating system lect3 Autosaved.pptx
Operating system lect3 Autosaved.pptxOperating system lect3 Autosaved.pptx
Operating system lect3 Autosaved.pptx
 
Operating System 2.pptx
Operating System 2.pptxOperating System 2.pptx
Operating System 2.pptx
 
chapter1.ppt
chapter1.pptchapter1.ppt
chapter1.ppt
 
System structure
System structureSystem structure
System structure
 
OS_MD_1.pdf
OS_MD_1.pdfOS_MD_1.pdf
OS_MD_1.pdf
 
Lecture 4
Lecture 4Lecture 4
Lecture 4
 
Introduction to operating systems
 Introduction to operating systems Introduction to operating systems
Introduction to operating systems
 
ch1.ppt
ch1.pptch1.ppt
ch1.ppt
 

More from ASHIK MAHMUD (7)

Monetary policy of Bangladesh and its effectiveness.
Monetary policy of Bangladesh and its effectiveness.Monetary policy of Bangladesh and its effectiveness.
Monetary policy of Bangladesh and its effectiveness.
 
Genetics 1 (1)
Genetics 1 (1)Genetics 1 (1)
Genetics 1 (1)
 
Computer science
Computer scienceComputer science
Computer science
 
Computer architectural design methodology
Computer architectural design methodologyComputer architectural design methodology
Computer architectural design methodology
 
Tourism in bangladesh
Tourism in bangladeshTourism in bangladesh
Tourism in bangladesh
 
Grid computing
Grid computingGrid computing
Grid computing
 
Computer network
Computer networkComputer network
Computer network
 

Recently uploaded

Mastering Windows 7 A Comprehensive Guide for Power Users .pdf
Mastering Windows 7 A Comprehensive Guide for Power Users .pdfMastering Windows 7 A Comprehensive Guide for Power Users .pdf
Mastering Windows 7 A Comprehensive Guide for Power Users .pdf
mbmh111980
 

Recently uploaded (20)

Implementing KPIs and Right Metrics for Agile Delivery Teams.pdf
Implementing KPIs and Right Metrics for Agile Delivery Teams.pdfImplementing KPIs and Right Metrics for Agile Delivery Teams.pdf
Implementing KPIs and Right Metrics for Agile Delivery Teams.pdf
 
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAG
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAGAI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAG
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAG
 
OpenChain @ LF Japan Executive Briefing - May 2024
OpenChain @ LF Japan Executive Briefing - May 2024OpenChain @ LF Japan Executive Briefing - May 2024
OpenChain @ LF Japan Executive Briefing - May 2024
 
Secure Software Ecosystem Teqnation 2024
Secure Software Ecosystem Teqnation 2024Secure Software Ecosystem Teqnation 2024
Secure Software Ecosystem Teqnation 2024
 
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product UpdatesGraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
 
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdfA Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
 
CompTIA Security+ (Study Notes) for cs.pdf
CompTIA Security+ (Study Notes) for cs.pdfCompTIA Security+ (Study Notes) for cs.pdf
CompTIA Security+ (Study Notes) for cs.pdf
 
StrimziCon 2024 - Transition to Apache Kafka on Kubernetes with Strimzi
StrimziCon 2024 - Transition to Apache Kafka on Kubernetes with StrimziStrimziCon 2024 - Transition to Apache Kafka on Kubernetes with Strimzi
StrimziCon 2024 - Transition to Apache Kafka on Kubernetes with Strimzi
 
Studiovity film pre-production and screenwriting software
Studiovity film pre-production and screenwriting softwareStudiovity film pre-production and screenwriting software
Studiovity film pre-production and screenwriting software
 
Agnieszka Andrzejewska - BIM School Course in Kraków
Agnieszka Andrzejewska - BIM School Course in KrakówAgnieszka Andrzejewska - BIM School Course in Kraków
Agnieszka Andrzejewska - BIM School Course in Kraków
 
Advanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should KnowAdvanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should Know
 
KLARNA - Language Models and Knowledge Graphs: A Systems Approach
KLARNA -  Language Models and Knowledge Graphs: A Systems ApproachKLARNA -  Language Models and Knowledge Graphs: A Systems Approach
KLARNA - Language Models and Knowledge Graphs: A Systems Approach
 
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...
 
how-to-download-files-safely-from-the-internet.pdf
how-to-download-files-safely-from-the-internet.pdfhow-to-download-files-safely-from-the-internet.pdf
how-to-download-files-safely-from-the-internet.pdf
 
IT Software Development Resume, Vaibhav jha 2024
IT Software Development Resume, Vaibhav jha 2024IT Software Development Resume, Vaibhav jha 2024
IT Software Development Resume, Vaibhav jha 2024
 
5 Reasons Driving Warehouse Management Systems Demand
5 Reasons Driving Warehouse Management Systems Demand5 Reasons Driving Warehouse Management Systems Demand
5 Reasons Driving Warehouse Management Systems Demand
 
Breaking the Code : A Guide to WhatsApp Business API.pdf
Breaking the Code : A Guide to WhatsApp Business API.pdfBreaking the Code : A Guide to WhatsApp Business API.pdf
Breaking the Code : A Guide to WhatsApp Business API.pdf
 
Mastering Windows 7 A Comprehensive Guide for Power Users .pdf
Mastering Windows 7 A Comprehensive Guide for Power Users .pdfMastering Windows 7 A Comprehensive Guide for Power Users .pdf
Mastering Windows 7 A Comprehensive Guide for Power Users .pdf
 
The Impact of PLM Software on Fashion Production
The Impact of PLM Software on Fashion ProductionThe Impact of PLM Software on Fashion Production
The Impact of PLM Software on Fashion Production
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 

The kernel is a fundamental part of a modern computer's operating system.

  • 1.
  • 3. FORMAL DEFINITION • In computing, the kernel is a computer program that manages input/output requests from software and translates them into data processing instructions for the central processing unit and other electronic components of a computer. • The kernel is a fundamental part of a modern computer's operating system.
  • 4. A kernel connectsthe application software to the hardware ofacomputer.
  • 5. Atypical vision of acomputer architecture asaseries of abstractionlayers: hardware, firmware, assembler, kernel, operating system and applications
  • 6. FEATURES THAT KERNEL PROVIDES: •low-level scheduling of processes (dispatching) •inter-process communication •process synchronization •context switching •manipulation of process control blocks •interrupt handling •process creation and destruction •process suspension and resumption
  • 7. KERNELBASICFACILITIES Thekernel's primary purpose isto managethe computer's resourcesand allow other programsto run and usetheseresources. Typically,the resourcesconsistof:  TheCPU,the processor.Thisisthe most central part of a computer system,responsible for running or executing programs onit.  Thekernel takesresponsibility for deciding at any time which of the manyrunning programs shouldbe allocated to the processor or processors(eachof which canusually run only one program at atime)
  • 8. KERNELBASIC FACILITIES  Thekernel is responsible for deciding whichmemory eachprocesscanuse,and determining what to do when not enough isavailable.  AnyInput/Output devicespresent in the computer, such askeyboard, mouse,disk drives, printers, displays,etc. The kernel allocates requests from applications to perform I/O to anappropriate deviceand provides convenient methods for usingthe device.
  • 9. TYPES OF KERNELS • Monolithic kernels • Microkernels(μK ) • Hybrid(Modular) kernels • Nano kernels • Exokernels
  • 10. •Micro Kernel: Only the very important parts like INTER process communication(IPC) , basic schedular, basic memory handling , basic I/O primitives are placed in kernel. Others are maintained as server processes in user space . Communication is done by message passing . The kernel is broken down into separate processes, known as servers.. 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.
  • 11. ADVANTAGES OF MICROKERNEL • Microkernels are easier to maintain than monolithic kernels. • Crash resistant ( if one server fails, other servers can still work efficiently.) • Portable • Smaller in Size DISADVANTAGES OF MICROKERNEL: Slower processing because of additional message passing.
  • 12. MONOLITHIC KERNEL •It runs every basic system service like process and memory management, interrupt handling and I/O communication, file system etc. in kernel space. Examples are Linux, Unix. •Advantages: performance •Disadvantages: difficult to debug and maintain
  • 13. HYBRID KERNEL: •One other type of kernel is called a hybrid kernel which lies on the boundary between monolithic kernels and microkernels. This means it has qualities of both, but hybrid kernels cannot be classified as a monolithic kernel or microkernel exclusively. Combine the best of both worlds •Speed and simple design of a monolithic kernel •Modularity and stability of a microkernel
  • 14. HYBRID KERNELS: Advantages: •Benefits of monolithic and microkernels Disadvantages: •Same as monolithic kernels
  • 15. KERNEL'S RESPONSIBILITIES: •The central processing unit •Random access memory •INPUT/OUTPUT devices •Memory management •Device management •System calls
  • 16. THE CENTRAL PROCESSING UNIT •This central component of a computer system is responsible for running or executing programs. 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).
  • 17. RANDOM ACCESS MEMORY •Random-access memory is used to store both program instructions and data. Typically, both need to be present in memory in order for a program to execute. 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.
  • 18. INPUT/OUTPUT DEVICES •I/O devices include such peripherals as keyboards, mice, disk drives, printers, network adapters, and display devices. The kernel allocates requests from applications to perform I/O to an appropriate device and provides convenient methods for using the device.
  • 19. MEMORY MANAGEMENT • Virtualaddressing: Paging Segmentation • Data Stores: Hard Drive RAM • Memory Partitions: Kernel space User space
  • 20. • THE KERNEL HAS UNIQUE QUALITIES. IT ENFORCES ITS OWN RULES AND THE STAKES, MANAGING THE ENTIRE SYSTEM AS THE KERNEL DOES, ARE CERTAINLY HIGHER. Conclusion