SlideShare a Scribd company logo
2
Most read
4
Most read
7
Most read
KERNEL
WHAT IS 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.
• It acts as an interface between the user applications and the
hardware.
• The sole aim of kernel is to manage the communication between the
software (user level applications) and the hardware (CPU, disk
memory etc)
• When a process makes requests of the kernel, the request is called a
system call. Various kernel designs differ in how they manage system
calls and resources.
Kernel (OS)
TYPES OF KERNELS:
• 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.
Some of the servers run in kernel space and some run in user-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.
ADVANTAGES OF MICROKERNEL
• 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
• Crash resistant ( if one server fails, other servers can still work
efficiently.)
• Portable
• Smaller in Size
Slower processing because of additional message
passing.
DISADVANTAGES OF MICROKERNEL:
MONOLITHIC KERNEL
• 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
Kernel (OS)
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 (OS)
Kernel (OS)
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
• The kernel has full access to the system's memory and must allow
processes to safely access this memory as they require it. Often the first
step in doing this is virtual addressing, usually achieved
by paging and/or segmentation. Virtual addressing allows the kernel to make
a given physical address appear to be another address, the virtual address.
Virtual address spaces may be different for different processes; the memory
that one process accesses at a particular (virtual) address may be different
memory from what another process accesses at the same address. This
allows every program to behave as if it is the only one (apart from the
kernel) running and thus prevents applications from crashing each other.
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). In a plug and play
system, a device manager first performs a scan on different hardware
buses, such as Peripheral Component Interconnect (PCI) or Universal
Serial Bus (USB), to detect installed devices, then searches for the
appropriate drivers.
SYSTEM CALLS
• In computing, a system call is how a program requests a service from
an operating system's kernel that it does not normally have
permission to run. System calls provide the interface between a
process and the operating system. Most operations interacting with
the system require permissions not available to a user level process,
e.g. I/O performed with a device present on the system, or any form of
communication with other processes requires the use of system calls.
Kernel (OS)
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
Kernel (OS)

More Related Content

What's hot (20)

PPTX
Critical section problem in operating system.
MOHIT DADU
 
PPTX
System calls
Bernard Senam
 
PPTX
File system structure
sangrampatil81
 
PPTX
Introduction to Distributed System
Sunita Sahu
 
PPT
Scheduling algorithms
Chankey Pathak
 
PDF
CS9222 Advanced Operating System
Kathirvel Ayyaswamy
 
PPTX
Operating system 11 system calls
Vaibhav Khanna
 
PPTX
Thread scheduling in Operating Systems
Nitish Gulati
 
PDF
Operating Systems Basics
nishantsri
 
PPT
Process management in os
Miong Lazaro
 
PPTX
Process scheduling
Riya Choudhary
 
PPTX
INTER PROCESS COMMUNICATION (IPC).pptx
LECO9
 
PPTX
Process synchronization in Operating Systems
Ritu Ranjan Shrivastwa
 
PPT
Chapter 13 - I/O Systems
Wayne Jones Jnr
 
PDF
OS - Process Concepts
Mukesh Chinta
 
PPTX
Linux.ppt
onu9
 
PDF
Process scheduling (CPU Scheduling)
Mukesh Chinta
 
PPT
Memory management
Vishal Singh
 
Critical section problem in operating system.
MOHIT DADU
 
System calls
Bernard Senam
 
File system structure
sangrampatil81
 
Introduction to Distributed System
Sunita Sahu
 
Scheduling algorithms
Chankey Pathak
 
CS9222 Advanced Operating System
Kathirvel Ayyaswamy
 
Operating system 11 system calls
Vaibhav Khanna
 
Thread scheduling in Operating Systems
Nitish Gulati
 
Operating Systems Basics
nishantsri
 
Process management in os
Miong Lazaro
 
Process scheduling
Riya Choudhary
 
INTER PROCESS COMMUNICATION (IPC).pptx
LECO9
 
Process synchronization in Operating Systems
Ritu Ranjan Shrivastwa
 
Chapter 13 - I/O Systems
Wayne Jones Jnr
 
OS - Process Concepts
Mukesh Chinta
 
Linux.ppt
onu9
 
Process scheduling (CPU Scheduling)
Mukesh Chinta
 
Memory management
Vishal Singh
 

Similar to Kernel (OS) (20)

PPTX
The kernel is a fundamental part of a modern computer's operating system.
ASHIK MAHMUD
 
PPTX
Kernel (computing)
Teja Bheemanapally
 
PPTX
Kernel (computing)
Teja Bheemanapally
 
PDF
Walking around linux kernel
Dharshana Kasun Warusavitharana
 
PDF
Kernel
Abu Azzam
 
PPTX
Embedded Operating System-Kernel Features.pptx
ssuseradc877
 
PPTX
ITT Project Information Technology Basic
Mayank Garg
 
PDF
lecture 1 (Part 2) kernal and its categories
WajeehaBaig
 
PPTX
Microkernel architecture
RQK Khan
 
PPT
Structure of OS ppt Structure of OsS ppt
Wahajch
 
PDF
Introduction to the Kernel Chapter 2 Mrs.Sowmya Jyothi
Sowmya Jyothi
 
PDF
Intro to operating_system
Shiwang Kalkhanda
 
PPTX
Kernel. Operating System
pratikkadam78
 
PDF
Aayu Tiwari operating system presentation_240406_095037.pdf
aayutiwari2003
 
PDF
Linux kernel Architecture and Properties
Saadi Rahman
 
PPTX
Implementation of Kernel API
khushi74
 
PPT
system calls, single user, multiuser os ...
myrajendra
 
PDF
Module-5-RTOS-and-IDE-for-Embedded-System-Design (1).pdf
PrashanthKN10
 
PPTX
Monolithic kernel
ARAVIND18MCS1004
 
PPTX
UNIT I.pptx
YogapriyaJ1
 
The kernel is a fundamental part of a modern computer's operating system.
ASHIK MAHMUD
 
Kernel (computing)
Teja Bheemanapally
 
Kernel (computing)
Teja Bheemanapally
 
Walking around linux kernel
Dharshana Kasun Warusavitharana
 
Kernel
Abu Azzam
 
Embedded Operating System-Kernel Features.pptx
ssuseradc877
 
ITT Project Information Technology Basic
Mayank Garg
 
lecture 1 (Part 2) kernal and its categories
WajeehaBaig
 
Microkernel architecture
RQK Khan
 
Structure of OS ppt Structure of OsS ppt
Wahajch
 
Introduction to the Kernel Chapter 2 Mrs.Sowmya Jyothi
Sowmya Jyothi
 
Intro to operating_system
Shiwang Kalkhanda
 
Kernel. Operating System
pratikkadam78
 
Aayu Tiwari operating system presentation_240406_095037.pdf
aayutiwari2003
 
Linux kernel Architecture and Properties
Saadi Rahman
 
Implementation of Kernel API
khushi74
 
system calls, single user, multiuser os ...
myrajendra
 
Module-5-RTOS-and-IDE-for-Embedded-System-Design (1).pdf
PrashanthKN10
 
Monolithic kernel
ARAVIND18MCS1004
 
UNIT I.pptx
YogapriyaJ1
 
Ad

More from عطاءالمنعم اثیل شیخ (19)

DOCX
Installing lemp with ssl and varnish on Debian 9
عطاءالمنعم اثیل شیخ
 
PDF
CBBF exam prepguidev1.1
عطاءالمنعم اثیل شیخ
 
PDF
Ethereum-Cryptocurrency (All about Ethereum)
عطاءالمنعم اثیل شیخ
 
DOCX
Comparison of different Proxmox KVM OpenVZ
عطاءالمنعم اثیل شیخ
 
PPTX
Types Of Operating Systems
عطاءالمنعم اثیل شیخ
 
PDF
Islam, in the eyes of non-muslims
عطاءالمنعم اثیل شیخ
 
DOCX
Difference in English Writing
عطاءالمنعم اثیل شیخ
 
PPTX
Refractories in Cupola furnace
عطاءالمنعم اثیل شیخ
 
PDF
Computing Fundamentals
عطاءالمنعم اثیل شیخ
 
DOCX
Sindhi language assignment
عطاءالمنعم اثیل شیخ
 
PPTX
Languages of Sindh
عطاءالمنعم اثیل شیخ
 
PPTX
Concreteness (Seven C's of English)
عطاءالمنعم اثیل شیخ
 
PPTX
Festivals of sindh
عطاءالمنعم اثیل شیخ
 
Installing lemp with ssl and varnish on Debian 9
عطاءالمنعم اثیل شیخ
 
CBBF exam prepguidev1.1
عطاءالمنعم اثیل شیخ
 
Ethereum-Cryptocurrency (All about Ethereum)
عطاءالمنعم اثیل شیخ
 
Comparison of different Proxmox KVM OpenVZ
عطاءالمنعم اثیل شیخ
 
Types Of Operating Systems
عطاءالمنعم اثیل شیخ
 
Islam, in the eyes of non-muslims
عطاءالمنعم اثیل شیخ
 
Difference in English Writing
عطاءالمنعم اثیل شیخ
 
Refractories in Cupola furnace
عطاءالمنعم اثیل شیخ
 
Computing Fundamentals
عطاءالمنعم اثیل شیخ
 
Sindhi language assignment
عطاءالمنعم اثیل شیخ
 
Concreteness (Seven C's of English)
عطاءالمنعم اثیل شیخ
 
Ad

Recently uploaded (20)

PPTX
Introduction to Fluid and Thermal Engineering
Avesahemad Husainy
 
PDF
Natural_Language_processing_Unit_I_notes.pdf
sanguleumeshit
 
PPTX
ETP Presentation(1000m3 Small ETP For Power Plant and industry
MD Azharul Islam
 
PDF
勉強会資料_An Image is Worth More Than 16x16 Patches
NABLAS株式会社
 
PDF
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
PPTX
Information Retrieval and Extraction - Module 7
premSankar19
 
PPTX
Sensor IC System Design Using COMSOL Multiphysics 2025-July.pptx
James D.B. Wang, PhD
 
PDF
All chapters of Strength of materials.ppt
girmabiniyam1234
 
PPT
IISM Presentation.ppt Construction safety
lovingrkn
 
PDF
Machine Learning All topics Covers In This Single Slides
AmritTiwari19
 
PPTX
sunil mishra pptmmmmmmmmmmmmmmmmmmmmmmmmm
singhamit111
 
PDF
IEEE EMBC 2025 「Improving electrolaryngeal speech enhancement via a represent...
NU_I_TODALAB
 
PDF
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
PPTX
MULTI LEVEL DATA TRACKING USING COOJA.pptx
dollysharma12ab
 
PDF
EVS+PRESENTATIONS EVS+PRESENTATIONS like
saiyedaqib429
 
PPTX
Ground improvement techniques-DEWATERING
DivakarSai4
 
PDF
CFM 56-7B - Engine General Familiarization. PDF
Gianluca Foro
 
PDF
Jual GPS Geodetik CHCNAV i93 IMU-RTK Lanjutan dengan Survei Visual
Budi Minds
 
PDF
Construction of a Thermal Vacuum Chamber for Environment Test of Triple CubeS...
2208441
 
PPTX
ENSA_Module_7.pptx_wide_area_network_concepts
RanaMukherjee24
 
Introduction to Fluid and Thermal Engineering
Avesahemad Husainy
 
Natural_Language_processing_Unit_I_notes.pdf
sanguleumeshit
 
ETP Presentation(1000m3 Small ETP For Power Plant and industry
MD Azharul Islam
 
勉強会資料_An Image is Worth More Than 16x16 Patches
NABLAS株式会社
 
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
Information Retrieval and Extraction - Module 7
premSankar19
 
Sensor IC System Design Using COMSOL Multiphysics 2025-July.pptx
James D.B. Wang, PhD
 
All chapters of Strength of materials.ppt
girmabiniyam1234
 
IISM Presentation.ppt Construction safety
lovingrkn
 
Machine Learning All topics Covers In This Single Slides
AmritTiwari19
 
sunil mishra pptmmmmmmmmmmmmmmmmmmmmmmmmm
singhamit111
 
IEEE EMBC 2025 「Improving electrolaryngeal speech enhancement via a represent...
NU_I_TODALAB
 
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
MULTI LEVEL DATA TRACKING USING COOJA.pptx
dollysharma12ab
 
EVS+PRESENTATIONS EVS+PRESENTATIONS like
saiyedaqib429
 
Ground improvement techniques-DEWATERING
DivakarSai4
 
CFM 56-7B - Engine General Familiarization. PDF
Gianluca Foro
 
Jual GPS Geodetik CHCNAV i93 IMU-RTK Lanjutan dengan Survei Visual
Budi Minds
 
Construction of a Thermal Vacuum Chamber for Environment Test of Triple CubeS...
2208441
 
ENSA_Module_7.pptx_wide_area_network_concepts
RanaMukherjee24
 

Kernel (OS)

  • 2. WHAT IS 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. • It acts as an interface between the user applications and the hardware. • The sole aim of kernel is to manage the communication between the software (user level applications) and the hardware (CPU, disk memory etc) • When a process makes requests of the kernel, the request is called a system call. Various kernel designs differ in how they manage system calls and resources.
  • 4. TYPES OF KERNELS: • 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. Some of the servers run in kernel space and some run in user-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.
  • 5. ADVANTAGES OF MICROKERNEL • 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 • Crash resistant ( if one server fails, other servers can still work efficiently.) • Portable • Smaller in Size
  • 6. Slower processing because of additional message passing. DISADVANTAGES OF MICROKERNEL:
  • 7. MONOLITHIC KERNEL • 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
  • 9. 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
  • 10. HYBRID KERNELS: Advantages: • Benefits of monolithic and microkernels Disadvantages: • Same as monolithic kernels
  • 13. KERNEL’S RESPONSIBILITIES: • The central processing unit • Random access memory • INPUT/OUTPUT devices • Memory management • Device management • System calls
  • 14. 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).
  • 15. 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.
  • 16. 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.
  • 17. 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. Often the first step in doing this is virtual addressing, usually achieved by paging and/or segmentation. Virtual addressing allows the kernel to make a given physical address appear to be another address, the virtual address. Virtual address spaces may be different for different processes; the memory that one process accesses at a particular (virtual) address may be different memory from what another process accesses at the same address. This allows every program to behave as if it is the only one (apart from the kernel) running and thus prevents applications from crashing each other.
  • 18. 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). In a plug and play system, a device manager first performs a scan on different hardware buses, such as Peripheral Component Interconnect (PCI) or Universal Serial Bus (USB), to detect installed devices, then searches for the appropriate drivers.
  • 19. SYSTEM CALLS • In computing, a system call is how a program requests a service from an operating system's kernel that it does not normally have permission to run. System calls provide the interface between a process and the operating system. Most operations interacting with the system require permissions not available to a user level process, e.g. I/O performed with a device present on the system, or any form of communication with other processes requires the use of system calls.
  • 21. 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