SlideShare uma empresa Scribd logo
1 de 21
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.

Mais conteúdo relacionado

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

Semelhante a 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
 

Mais de ASHIK MAHMUD

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.ASHIK MAHMUD
 
Computer architectural design methodology
Computer architectural design methodologyComputer architectural design methodology
Computer architectural design methodologyASHIK MAHMUD
 
Tourism in bangladesh
Tourism in bangladeshTourism in bangladesh
Tourism in bangladeshASHIK MAHMUD
 

Mais de 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
 

Último

Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyFrank van der Linden
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptkotipi9215
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - InfographicHr365.us smith
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...aditisharan08
 

Último (20)

Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The Ugly
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
 
Exploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the ProcessExploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the Process
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - Infographic
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...
 

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