SlideShare a Scribd company logo
Operating System Support 
Including 
1.Introduction 
2.The OS layer 
3.Protection 
4.Processes & Threads 
5.Operating System Architecture
Operating System Architecture
Definition of Kernel 
• The fundamental part of an operating system. 
• Responsible for providing secure access to the 
machine's hardware for various programs. 
• Responsible for deciding when and how long a 
program can use a certain hardware.
Hardware must provide at least two 
execution levels: 
• Kernel mode In this mode, the software has 
access to all the instructions and every piece 
of hardware. 
• User mode In this mode, the software is 
restricted and cannot execute some 
instructions, and is denied access to some 
hardware.
Types of Kernels 
1. Monolithic Kernels 
2. Micro kernels 
3. Hybrid Kernels 
4. NanoKernels 
5. Exokernels
Monolithic Kernels 
• All OS services operate in kernel space 
• Good performance 
• Execute all of their code in the same address 
space (kernel space) 
• Rich and powerful hardware access 
• Monolithic Kernel : Kernel Image = (Kernel 
Core+Kernel Services). When system boots up 
entire services are loaded and resides in 
memory. 
• Example: Windows and Unix.
1. Monolithic Kernels
Disadvantages 
 Disadvantages 
 The dependencies between system components 
 A bug in a driver might crash the entire system 
 Large kernels → very difficult to maintain 
• E.g. Unix, Linux
Microkernels 
• Minimalist approach 
– IPC, virtual memory, thread scheduling 
• Put the rest into user space 
– Device drivers, networking, file system, user interface 
• Run most of their services in user space 
→improve maintainability and modularity 
• Micro kernel : Kernel Image = Kernel Core. Services are 
build into special modules which can be loaded and 
unloaded as per need.
Microkernel
• Disadvantages 
– Lot of system calls and context switches 
• E.g. Mach, L4, AmigaOS, K42
Operating System Architecture 
Monolithic Kernel Microkernel 
S4 
Server: Dynamically loaded Kernel code and data: server program: 
17 
....... 
....... 
Key: 
S1 ....... 
S1 S2 S3 
S2 S3 S4 
Figure 5. Monolithic kernel and microkernel 
Couloris,Dollimore and Kindberg Distributed Systems: Concepts & Design Edn. 4 , Pearson Education 2005
Summary: Kernels 
• Monolithic kernels 
– Advantages: performance 
– Disadvantages: difficult to debug and maintain 
• Microkernels 
– Advantages: more reliable and secure 
– Disadvantages: more overhead 
• Hybrid Kernels 
– Advantages: benefits of monolithic and microkernels 
– Disadvantages: same as monolithic kernels 
• Nano kernel & Exo kernels 
– Advantages: minimal and simple 
– Disadvantages: more work for application developers
Thank You

More Related Content

What's hot

Multiprocessor architecture
Multiprocessor architectureMultiprocessor architecture
Multiprocessor architecture
Arpan Baishya
 
Structure of operating system
Structure of operating systemStructure of operating system
Structure of operating system
GayathriS578276
 
Thread scheduling in Operating Systems
Thread scheduling in Operating SystemsThread scheduling in Operating Systems
Thread scheduling in Operating SystemsNitish Gulati
 
Operating system services 9
Operating system services 9Operating system services 9
Operating system services 9myrajendra
 
Introduction to System Calls
Introduction to System CallsIntroduction to System Calls
Introduction to System Calls
Vandana Salve
 
Monolithic kernel vs. Microkernel
Monolithic kernel vs. MicrokernelMonolithic kernel vs. Microkernel
Monolithic kernel vs. Microkernel
RQK Khan
 
Operating System-Threads-Galvin
Operating System-Threads-GalvinOperating System-Threads-Galvin
Operating System-Threads-GalvinSonali Chauhan
 
Operating system 02 os as an extended machine
Operating system 02 os as an extended machineOperating system 02 os as an extended machine
Operating system 02 os as an extended machine
Vaibhav Khanna
 
What is Kernel, basic idea of kernel
What is Kernel, basic idea of kernelWhat is Kernel, basic idea of kernel
What is Kernel, basic idea of kernel
Neel Parikh
 
Multithreading
MultithreadingMultithreading
Multithreading
A B Shinde
 
Architecture of operating system
Architecture of operating systemArchitecture of operating system
Architecture of operating system
Supriya Kumari
 
Distributed Operating System_1
Distributed Operating System_1Distributed Operating System_1
Distributed Operating System_1
Dr Sandeep Kumar Poonia
 
OS Process and Thread Concepts
OS Process and Thread ConceptsOS Process and Thread Concepts
OS Process and Thread Concepts
sgpraju
 
Os Threads
Os ThreadsOs Threads
Os Threads
Salman Memon
 
Operating system support in distributed system
Operating system support in distributed systemOperating system support in distributed system
Operating system support in distributed system
ishapadhy
 
Lecture 1 introduction to parallel and distributed computing
Lecture 1   introduction to parallel and distributed computingLecture 1   introduction to parallel and distributed computing
Lecture 1 introduction to parallel and distributed computing
Vajira Thambawita
 
INTER PROCESS COMMUNICATION (IPC).pptx
INTER PROCESS COMMUNICATION (IPC).pptxINTER PROCESS COMMUNICATION (IPC).pptx
INTER PROCESS COMMUNICATION (IPC).pptx
LECO9
 
Disk and File System Management in Linux
Disk and File System Management in LinuxDisk and File System Management in Linux
Disk and File System Management in Linux
Henry Osborne
 

What's hot (20)

Multiprocessor architecture
Multiprocessor architectureMultiprocessor architecture
Multiprocessor architecture
 
Structure of operating system
Structure of operating systemStructure of operating system
Structure of operating system
 
Thread scheduling in Operating Systems
Thread scheduling in Operating SystemsThread scheduling in Operating Systems
Thread scheduling in Operating Systems
 
Operating system services 9
Operating system services 9Operating system services 9
Operating system services 9
 
Introduction to System Calls
Introduction to System CallsIntroduction to System Calls
Introduction to System Calls
 
Monolithic kernel vs. Microkernel
Monolithic kernel vs. MicrokernelMonolithic kernel vs. Microkernel
Monolithic kernel vs. Microkernel
 
NUMA overview
NUMA overviewNUMA overview
NUMA overview
 
Operating System-Threads-Galvin
Operating System-Threads-GalvinOperating System-Threads-Galvin
Operating System-Threads-Galvin
 
Operating system 02 os as an extended machine
Operating system 02 os as an extended machineOperating system 02 os as an extended machine
Operating system 02 os as an extended machine
 
What is Kernel, basic idea of kernel
What is Kernel, basic idea of kernelWhat is Kernel, basic idea of kernel
What is Kernel, basic idea of kernel
 
Multithreading
MultithreadingMultithreading
Multithreading
 
Architecture of operating system
Architecture of operating systemArchitecture of operating system
Architecture of operating system
 
Distributed Operating System_1
Distributed Operating System_1Distributed Operating System_1
Distributed Operating System_1
 
Kernel (computing)
Kernel (computing)Kernel (computing)
Kernel (computing)
 
OS Process and Thread Concepts
OS Process and Thread ConceptsOS Process and Thread Concepts
OS Process and Thread Concepts
 
Os Threads
Os ThreadsOs Threads
Os Threads
 
Operating system support in distributed system
Operating system support in distributed systemOperating system support in distributed system
Operating system support in distributed system
 
Lecture 1 introduction to parallel and distributed computing
Lecture 1   introduction to parallel and distributed computingLecture 1   introduction to parallel and distributed computing
Lecture 1 introduction to parallel and distributed computing
 
INTER PROCESS COMMUNICATION (IPC).pptx
INTER PROCESS COMMUNICATION (IPC).pptxINTER PROCESS COMMUNICATION (IPC).pptx
INTER PROCESS COMMUNICATION (IPC).pptx
 
Disk and File System Management in Linux
Disk and File System Management in LinuxDisk and File System Management in Linux
Disk and File System Management in Linux
 

Similar to 2. microkernel new

Microkernels
MicrokernelsMicrokernels
Operating system components
Operating system componentsOperating system components
Operating system components
Syed Zaid Irshad
 
_Kernel and Kernel Architectures.ppt
_Kernel and Kernel Architectures.ppt_Kernel and Kernel Architectures.ppt
_Kernel and Kernel Architectures.ppt
HardeepKaurCSEAssist
 
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
Vaibhav Khanna
 
Embedded Operating System-Kernel Features.pptx
Embedded Operating System-Kernel Features.pptxEmbedded Operating System-Kernel Features.pptx
Embedded Operating System-Kernel Features.pptx
ssuseradc877
 
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
National Cheng Kung University
 
L4 Microkernel :: Design Overview
L4 Microkernel :: Design OverviewL4 Microkernel :: Design Overview
L4 Microkernel :: Design Overview
National Cheng Kung University
 
Kernal assignment
Kernal assignmentKernal assignment
Kernal assignment
sai ritheesh
 
Operating system lect3 Autosaved.pptx
Operating system lect3 Autosaved.pptxOperating system lect3 Autosaved.pptx
Operating system lect3 Autosaved.pptx
AryanGour1
 
UNIX Operating System
UNIX Operating SystemUNIX Operating System
UNIX Operating System
Fatima Qayyum
 
Operating System Structure Part-II.pdf
Operating System Structure Part-II.pdfOperating System Structure Part-II.pdf
Operating System Structure Part-II.pdf
Harika Pudugosula
 
Linux for embedded_systems
Linux for embedded_systemsLinux for embedded_systems
Linux for embedded_systems
Vandana Salve
 
Device Drivers and Running Modules
Device Drivers and Running ModulesDevice Drivers and Running Modules
Device Drivers and Running Modules
YourHelper1
 
The Linux System
The Linux SystemThe Linux System
The Linux System
husnaina_akhtar
 
Unix Operaring System
Unix Operaring SystemUnix Operaring System
Unix Operaring System
Mahnoor Shaukat
 
Kernel Module Programming
Kernel Module ProgrammingKernel Module Programming
Kernel Module Programming
Saurabh Bangad
 
Unix operating system
Unix operating systemUnix operating system
Unix operating system
ABhay Panchal
 
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
aayutiwari2003
 

Similar to 2. microkernel new (20)

Microkernels
MicrokernelsMicrokernels
Microkernels
 
Operating system components
Operating system componentsOperating system components
Operating system components
 
_Kernel and Kernel Architectures.ppt
_Kernel and Kernel Architectures.ppt_Kernel and Kernel Architectures.ppt
_Kernel and Kernel Architectures.ppt
 
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
 
Embedded Operating System-Kernel Features.pptx
Embedded Operating System-Kernel Features.pptxEmbedded Operating System-Kernel Features.pptx
Embedded Operating System-Kernel Features.pptx
 
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
 
L4 Microkernel :: Design Overview
L4 Microkernel :: Design OverviewL4 Microkernel :: Design Overview
L4 Microkernel :: Design Overview
 
Kernal assignment
Kernal assignmentKernal assignment
Kernal assignment
 
Operating system lect3 Autosaved.pptx
Operating system lect3 Autosaved.pptxOperating system lect3 Autosaved.pptx
Operating system lect3 Autosaved.pptx
 
UNIX Operating System
UNIX Operating SystemUNIX Operating System
UNIX Operating System
 
Operating System Structure Part-II.pdf
Operating System Structure Part-II.pdfOperating System Structure Part-II.pdf
Operating System Structure Part-II.pdf
 
Linux for embedded_systems
Linux for embedded_systemsLinux for embedded_systems
Linux for embedded_systems
 
4 threads
4 threads4 threads
4 threads
 
Device Drivers and Running Modules
Device Drivers and Running ModulesDevice Drivers and Running Modules
Device Drivers and Running Modules
 
The Linux System
The Linux SystemThe Linux System
The Linux System
 
Unix Operaring System
Unix Operaring SystemUnix Operaring System
Unix Operaring System
 
Kernel Module Programming
Kernel Module ProgrammingKernel Module Programming
Kernel Module Programming
 
Os file
Os fileOs file
Os file
 
Unix operating system
Unix operating systemUnix operating system
Unix operating system
 
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
 

More from AbDul ThaYyal

Chapter 15 distributed mm systems
Chapter 15 distributed mm systemsChapter 15 distributed mm systems
Chapter 15 distributed mm systemsAbDul ThaYyal
 
Chapter 14 replication
Chapter 14 replicationChapter 14 replication
Chapter 14 replicationAbDul ThaYyal
 
Chapter 12 transactions and concurrency control
Chapter 12 transactions and concurrency controlChapter 12 transactions and concurrency control
Chapter 12 transactions and concurrency controlAbDul ThaYyal
 
Chapter 11d coordination agreement
Chapter 11d coordination agreementChapter 11d coordination agreement
Chapter 11d coordination agreementAbDul ThaYyal
 
Chapter 11c coordination agreement
Chapter 11c coordination agreementChapter 11c coordination agreement
Chapter 11c coordination agreementAbDul ThaYyal
 
Chapter 8 distributed file systems
Chapter 8 distributed file systemsChapter 8 distributed file systems
Chapter 8 distributed file systemsAbDul ThaYyal
 
Chapter 4 a interprocess communication
Chapter 4 a interprocess communicationChapter 4 a interprocess communication
Chapter 4 a interprocess communicationAbDul ThaYyal
 
Chapter 3 networking and internetworking
Chapter 3 networking and internetworkingChapter 3 networking and internetworking
Chapter 3 networking and internetworkingAbDul ThaYyal
 
Chapter 1 characterisation of distributed systems
Chapter 1 characterisation of distributed systemsChapter 1 characterisation of distributed systems
Chapter 1 characterisation of distributed systemsAbDul ThaYyal
 
Chapter 2 system models
Chapter 2 system modelsChapter 2 system models
Chapter 2 system modelsAbDul ThaYyal
 
4.file service architecture
4.file service architecture4.file service architecture
4.file service architectureAbDul ThaYyal
 

More from AbDul ThaYyal (20)

Chapter 17 corba
Chapter 17 corbaChapter 17 corba
Chapter 17 corba
 
Chapter 15 distributed mm systems
Chapter 15 distributed mm systemsChapter 15 distributed mm systems
Chapter 15 distributed mm systems
 
Chapter 14 replication
Chapter 14 replicationChapter 14 replication
Chapter 14 replication
 
Chapter 13
Chapter 13Chapter 13
Chapter 13
 
Chapter 12 transactions and concurrency control
Chapter 12 transactions and concurrency controlChapter 12 transactions and concurrency control
Chapter 12 transactions and concurrency control
 
Chapter 11d coordination agreement
Chapter 11d coordination agreementChapter 11d coordination agreement
Chapter 11d coordination agreement
 
Chapter 11c coordination agreement
Chapter 11c coordination agreementChapter 11c coordination agreement
Chapter 11c coordination agreement
 
Chapter 11b
Chapter 11bChapter 11b
Chapter 11b
 
Chapter 11
Chapter 11Chapter 11
Chapter 11
 
Chapter 10
Chapter 10Chapter 10
Chapter 10
 
Chapter 9 names
Chapter 9 namesChapter 9 names
Chapter 9 names
 
Chapter 8 distributed file systems
Chapter 8 distributed file systemsChapter 8 distributed file systems
Chapter 8 distributed file systems
 
Chapter 7 security
Chapter 7 securityChapter 7 security
Chapter 7 security
 
Chapter 6 os
Chapter 6 osChapter 6 os
Chapter 6 os
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
 
Chapter 4 a interprocess communication
Chapter 4 a interprocess communicationChapter 4 a interprocess communication
Chapter 4 a interprocess communication
 
Chapter 3 networking and internetworking
Chapter 3 networking and internetworkingChapter 3 networking and internetworking
Chapter 3 networking and internetworking
 
Chapter 1 characterisation of distributed systems
Chapter 1 characterisation of distributed systemsChapter 1 characterisation of distributed systems
Chapter 1 characterisation of distributed systems
 
Chapter 2 system models
Chapter 2 system modelsChapter 2 system models
Chapter 2 system models
 
4.file service architecture
4.file service architecture4.file service architecture
4.file service architecture
 

2. microkernel new

  • 1. Operating System Support Including 1.Introduction 2.The OS layer 3.Protection 4.Processes & Threads 5.Operating System Architecture
  • 3. Definition of Kernel • The fundamental part of an operating system. • Responsible for providing secure access to the machine's hardware for various programs. • Responsible for deciding when and how long a program can use a certain hardware.
  • 4.
  • 5.
  • 6. Hardware must provide at least two execution levels: • Kernel mode In this mode, the software has access to all the instructions and every piece of hardware. • User mode In this mode, the software is restricted and cannot execute some instructions, and is denied access to some hardware.
  • 7. Types of Kernels 1. Monolithic Kernels 2. Micro kernels 3. Hybrid Kernels 4. NanoKernels 5. Exokernels
  • 8.
  • 9. Monolithic Kernels • All OS services operate in kernel space • Good performance • Execute all of their code in the same address space (kernel space) • Rich and powerful hardware access • Monolithic Kernel : Kernel Image = (Kernel Core+Kernel Services). When system boots up entire services are loaded and resides in memory. • Example: Windows and Unix.
  • 11. Disadvantages  Disadvantages  The dependencies between system components  A bug in a driver might crash the entire system  Large kernels → very difficult to maintain • E.g. Unix, Linux
  • 12.
  • 13. Microkernels • Minimalist approach – IPC, virtual memory, thread scheduling • Put the rest into user space – Device drivers, networking, file system, user interface • Run most of their services in user space →improve maintainability and modularity • Micro kernel : Kernel Image = Kernel Core. Services are build into special modules which can be loaded and unloaded as per need.
  • 15. • Disadvantages – Lot of system calls and context switches • E.g. Mach, L4, AmigaOS, K42
  • 16.
  • 17. Operating System Architecture Monolithic Kernel Microkernel S4 Server: Dynamically loaded Kernel code and data: server program: 17 ....... ....... Key: S1 ....... S1 S2 S3 S2 S3 S4 Figure 5. Monolithic kernel and microkernel Couloris,Dollimore and Kindberg Distributed Systems: Concepts & Design Edn. 4 , Pearson Education 2005
  • 18.
  • 19.
  • 20. Summary: Kernels • Monolithic kernels – Advantages: performance – Disadvantages: difficult to debug and maintain • Microkernels – Advantages: more reliable and secure – Disadvantages: more overhead • Hybrid Kernels – Advantages: benefits of monolithic and microkernels – Disadvantages: same as monolithic kernels • Nano kernel & Exo kernels – Advantages: minimal and simple – Disadvantages: more work for application developers