Operating System 15
Micro Kernel Based OS
Prof Neeraj Bhargava
Vaibhav Khanna
Department of Computer Science
School of Engineering and Systems Sciences
Maharshi Dayanand Saraswati University Ajmer
Kernel based OS
• Everything below the system-call interface and
above the physical hardware is the kernel.
• The kernel provides the file system, CPU
scheduling, memory management, and other
operating system functions through system calls.
• Taken in sum, that is an enormous amount of
functionality to be combined into one level.
• Systems programs use the kernel-supported
system calls to provide useful functions, such as
compilation and file manipulation.
Kernel based OS
• System calls define the programmer interface to UNIX; the set of
systems programs commonly available defines the user interface.
• The programmer and user interfaces define the context that the
kernel must support.
• Several versions of UNIX have been developed in which the kernel is
partitioned further along functional boundaries.
• The AIX operating system, IBM's version of kernel based OS
separates the kernel into two parts.
• Mach, from Carnegie Mellon University, reduces the kernel to a
small set of core functions by moving all nonessentials into systems
and even into user-level programs.
• What remains is a microkernel operating system implementing only
a small set of necessary primitives.
Microkernel System Structure
• Moves as much from the kernel into user space
• Mach example of microkernel
– Mac OS X kernel (Darwin) partly based on Mach
• Communication takes place between user
modules using message passing
• Benefits:
– Easier to extend a microkernel
– Easier to port the operating system to new
architectures
– More reliable (less code is running in kernel mode)
– More secure
• Detriments:
– Performance overhead of user space to kernel space
communication
Microkernel System Structure
Application
Program
File
System
Device
Driver
Interprocess
Communication
memory
managment
CPU
scheduling
messages
messages
microkernel
hardware
user
mode
kernel
mode
Modules
• Many modern operating systems
implement loadable kernel modules
– Uses object-oriented approach
– Each core component is separate
– Each talks to the others over known
interfaces
– Each is loadable as needed within the kernel
• Overall, similar to layers but with more
flexible
– Linux, Solaris, etc
Solaris Modular Approach
Extensible Nucleus, or Microkernel,
Organization
• The extensible nucleus organization is a modular organization
intended to implement real-time systems, timesharing systems, and
the like, by using a common set of skeletal facilities.
• The approach is to define two types of modules for any particular
OS: policy-specific modules and the skeletal policy-independent
modules.
• The policy-independent modules implement the extensible nucleus,
or microkernel.
• It is not intended to provide complete functionality. Rather, it is
supposed to create an environment in which policy-specific
operating systems can be constructed to meet the needs of an
application domain.
• The skeletal component is a general-purpose foundation for policy-
specific parts of the architecture.
Philosophy of Policy based OS
• The philosophy behind this approach is that the OS can be
implemented in two parts:
• (1) a mechanism-dependent, hardware-dependent part
• (2) a policy-dependent, hardware-independent part.
• The first part provides a low-level virtual machine with some form
of memory and process management, usually with only the bare
essentials for device management.
• The second part reflects the requirements of the specific OS. This
architecture supports two new directions in operating systems.
• It allows policy-dependent variants of an OS to be built on a single
hardware platform.
• The microkernel provides skeletal, policy-independent functions
that are extended with specialized servers to implement a policy.
Microkernel
• A microkernel (also known as μ-kernel) is the
near-minimum amount ofsoftware that can
provide the mechanisms needed to implement an
operating system (OS).
• These mechanisms include low-level address
space management, thread management, and
inter-process communication (IPC).
• Early operating system kernels were rather small,
partly because computer memory was limited.
• As the capability of computers grew, the number
of devices the kernel had to control also grew.
Era of Big Kernels
• The Berkeley Software Distribution (BSD) of Unix began
the era of big kernels.
• In addition to operating a basic system consisting of
the CPU, disks and printers, BSD started adding
additional file systems, a complete TCP/IP networking
system, and a number of "virtual" devices that allowed
the existing programs to work invisibly over the
network.
• This growth continued for many years, resulting in
kernels with millions of lines of source code.
• As a result of this growth, kernels were more prone to
bugs and became increasingly difficult to maintain.
Monolithic to Microkernels
Birth of Micro Kernels
• The microkernel was designed to address the
increasing growth of kernels and the
difficulties that came with them.
• In theory, the microkernel design allows for
easier management of code due to its division
into user space services.
• This also allows for increased security and
stability resulting from the reduced amount of
code running in kernel mode
Microkernels and IPC
• Inter-process communication (IPC) is any mechanism which
allows separate processes to communicate with each other,
usually by sending messages.
• Shared memory is strictly speaking also an inter-process
communication mechanism, but the abbreviation IPC
usually only refers to message passing, and it is the latter
that is particularly relevant to microkernels.
• IPC allows the operating system to be built from a number
of small programs called servers, which are used by other
programs on the system, invoked via IPC.
• Most or all support for peripheral hardware is handled in
this fashion, with servers for device drivers, network
protocol stacks, file systems, graphics, etc.
Server Based Approach in Microkernel
• A basic set of servers for a general-purpose
microkernel includes file system servers, device driver
servers, networking servers, display servers, and user
interface device servers.
• This set of servers (drawn from QNX) provides roughly
the set of services offered by a Unix monolithic kernel.
• The necessary servers are started at system startup and
provide services, such as file, network, and device
access, to ordinary application programs.
• Many "crashes" can be corrected by simply stopping
and restarting the server
Assignment
• Explain the need and concept of MicroKernels.

More Related Content

PPT
File Management in Operating Systems
PPTX
Deadlock ppt
PPTX
Page replacement algorithms
PPTX
Lecture 3 threads
PPTX
file system in operating system
PPTX
Allocation methods (1).pptx
PPTX
Challenges of Conventional Systems.pptx
PPT
File Management in Operating Systems
Deadlock ppt
Page replacement algorithms
Lecture 3 threads
file system in operating system
Allocation methods (1).pptx
Challenges of Conventional Systems.pptx

What's hot (20)

PPT
Unit 3 object analysis-classification
PPTX
Client server architecture
PPT
Disk scheduling
PPTX
DeadLock in Operating-Systems
PPTX
Fault tolerance in distributed systems
PDF
Run time storage
PPT
Black box and white box testing
PPT
Contiguous Memory Allocation.ppt
PPTX
Threads in Operating System | Multithreading | Interprocess Communication
PPTX
Dynamic storage allocation techniques in Compiler design
PPT
Swap-space Management
PPTX
Distributed file system
PPTX
Threads (operating System)
PDF
AES by example
PPT
Disk scheduling
PPTX
Presentation on Segmentation
PPTX
System calls
PDF
Major and Minor Elements of Object Model
PPTX
object oriented methodologies
PPTX
Protocols of noiseless
Unit 3 object analysis-classification
Client server architecture
Disk scheduling
DeadLock in Operating-Systems
Fault tolerance in distributed systems
Run time storage
Black box and white box testing
Contiguous Memory Allocation.ppt
Threads in Operating System | Multithreading | Interprocess Communication
Dynamic storage allocation techniques in Compiler design
Swap-space Management
Distributed file system
Threads (operating System)
AES by example
Disk scheduling
Presentation on Segmentation
System calls
Major and Minor Elements of Object Model
object oriented methodologies
Protocols of noiseless
Ad

Similar to Operating system 15 micro kernel based os (20)

PPTX
Microkernel
PPTX
Microkernel architecture
PDF
Walking around linux kernel
PPTX
Kernel (computing)
PPTX
Kernel (computing)
PPTX
System structure
PPTX
Operating system components
DOCX
In a monolithic kerne1
DOCX
In a monolithic kerne1
PPTX
Operating system lect3 Autosaved.pptx
PPTX
Operating system 14 unix and kernel based os
PPT
Os Ds Arch
PPTX
ITT Project Information Technology Basic
PDF
Bhagyashri k os-tutorial1
PPTX
Microkernel in Operating System | Operating System
PPTX
Microkernel
PPT
2. microkernel new
PDF
Regarding About Operating System Structure
PPTX
KERNEL.pptx
PPTX
StructuringMethod study of information and communication technoloy.pptx
Microkernel
Microkernel architecture
Walking around linux kernel
Kernel (computing)
Kernel (computing)
System structure
Operating system components
In a monolithic kerne1
In a monolithic kerne1
Operating system lect3 Autosaved.pptx
Operating system 14 unix and kernel based os
Os Ds Arch
ITT Project Information Technology Basic
Bhagyashri k os-tutorial1
Microkernel in Operating System | Operating System
Microkernel
2. microkernel new
Regarding About Operating System Structure
KERNEL.pptx
StructuringMethod study of information and communication technoloy.pptx
Ad

More from Vaibhav Khanna (20)

PPTX
Information and network security 47 authentication applications
PPTX
Information and network security 46 digital signature algorithm
PPTX
Information and network security 45 digital signature standard
PPTX
Information and network security 44 direct digital signatures
PPTX
Information and network security 43 digital signatures
PPTX
Information and network security 42 security of message authentication code
PPTX
Information and network security 41 message authentication code
PPTX
Information and network security 40 sha3 secure hash algorithm
PPTX
Information and network security 39 secure hash algorithm
PPTX
Information and network security 38 birthday attacks and security of hash fun...
PPTX
Information and network security 37 hash functions and message authentication
PPTX
Information and network security 35 the chinese remainder theorem
PPTX
Information and network security 34 primality
PPTX
Information and network security 33 rsa algorithm
PPTX
Information and network security 32 principles of public key cryptosystems
PPTX
Information and network security 31 public key cryptography
PPTX
Information and network security 30 random numbers
PPTX
Information and network security 29 international data encryption algorithm
PPTX
Information and network security 28 blowfish
PPTX
Information and network security 27 triple des
Information and network security 47 authentication applications
Information and network security 46 digital signature algorithm
Information and network security 45 digital signature standard
Information and network security 44 direct digital signatures
Information and network security 43 digital signatures
Information and network security 42 security of message authentication code
Information and network security 41 message authentication code
Information and network security 40 sha3 secure hash algorithm
Information and network security 39 secure hash algorithm
Information and network security 38 birthday attacks and security of hash fun...
Information and network security 37 hash functions and message authentication
Information and network security 35 the chinese remainder theorem
Information and network security 34 primality
Information and network security 33 rsa algorithm
Information and network security 32 principles of public key cryptosystems
Information and network security 31 public key cryptography
Information and network security 30 random numbers
Information and network security 29 international data encryption algorithm
Information and network security 28 blowfish
Information and network security 27 triple des

Recently uploaded (20)

PPTX
DevOpsDays Halifax 2025 - Building 10x Organizations Using Modern Productivit...
PPTX
Human Computer Interaction lecture Chapter 2.pptx
PPTX
Folder Lock 10.1.9 Crack With Serial Key
PDF
Mobile App Backend Development with WordPress REST API: The Complete eBook
PPTX
Human-Computer Interaction for Lecture 1
PPT
3.Software Design for software engineering
PPTX
AI Tools Revolutionizing Software Development Workflows
PPTX
HackYourBrain__UtrechtJUG__11092025.pptx
PPTX
Chapter 1 - Transaction Processing and Mgt.pptx
PPTX
UNIT II: Software design, software .pptx
PDF
Engineering Document Management System (EDMS)
PDF
Odoo Construction Management System by CandidRoot
PDF
Building an Inclusive Web Accessibility Made Simple with Accessibility Analyzer
PDF
WhatsApp Chatbots The Key to Scalable Customer Support.pdf
PPTX
Swiggy API Scraping A Comprehensive Guide on Data Sets and Applications.pptx
PDF
solman-7.0-ehp1-sp21-incident-management
PPTX
Lesson-3-Operation-System-Support.pptx-I
PDF
What Makes a Great Data Visualization Consulting Service.pdf
PPTX
Beige and Black Minimalist Project Deck Presentation (1).pptx
PPTX
Comprehensive Guide to Digital Image Processing Concepts and Applications
DevOpsDays Halifax 2025 - Building 10x Organizations Using Modern Productivit...
Human Computer Interaction lecture Chapter 2.pptx
Folder Lock 10.1.9 Crack With Serial Key
Mobile App Backend Development with WordPress REST API: The Complete eBook
Human-Computer Interaction for Lecture 1
3.Software Design for software engineering
AI Tools Revolutionizing Software Development Workflows
HackYourBrain__UtrechtJUG__11092025.pptx
Chapter 1 - Transaction Processing and Mgt.pptx
UNIT II: Software design, software .pptx
Engineering Document Management System (EDMS)
Odoo Construction Management System by CandidRoot
Building an Inclusive Web Accessibility Made Simple with Accessibility Analyzer
WhatsApp Chatbots The Key to Scalable Customer Support.pdf
Swiggy API Scraping A Comprehensive Guide on Data Sets and Applications.pptx
solman-7.0-ehp1-sp21-incident-management
Lesson-3-Operation-System-Support.pptx-I
What Makes a Great Data Visualization Consulting Service.pdf
Beige and Black Minimalist Project Deck Presentation (1).pptx
Comprehensive Guide to Digital Image Processing Concepts and Applications

Operating system 15 micro kernel based os

  • 1. Operating System 15 Micro Kernel Based OS Prof Neeraj Bhargava Vaibhav Khanna Department of Computer Science School of Engineering and Systems Sciences Maharshi Dayanand Saraswati University Ajmer
  • 2. Kernel based OS • Everything below the system-call interface and above the physical hardware is the kernel. • The kernel provides the file system, CPU scheduling, memory management, and other operating system functions through system calls. • Taken in sum, that is an enormous amount of functionality to be combined into one level. • Systems programs use the kernel-supported system calls to provide useful functions, such as compilation and file manipulation.
  • 3. Kernel based OS • System calls define the programmer interface to UNIX; the set of systems programs commonly available defines the user interface. • The programmer and user interfaces define the context that the kernel must support. • Several versions of UNIX have been developed in which the kernel is partitioned further along functional boundaries. • The AIX operating system, IBM's version of kernel based OS separates the kernel into two parts. • Mach, from Carnegie Mellon University, reduces the kernel to a small set of core functions by moving all nonessentials into systems and even into user-level programs. • What remains is a microkernel operating system implementing only a small set of necessary primitives.
  • 4. Microkernel System Structure • Moves as much from the kernel into user space • Mach example of microkernel – Mac OS X kernel (Darwin) partly based on Mach • Communication takes place between user modules using message passing • Benefits: – Easier to extend a microkernel – Easier to port the operating system to new architectures – More reliable (less code is running in kernel mode) – More secure • Detriments: – Performance overhead of user space to kernel space communication
  • 6. Modules • Many modern operating systems implement loadable kernel modules – Uses object-oriented approach – Each core component is separate – Each talks to the others over known interfaces – Each is loadable as needed within the kernel • Overall, similar to layers but with more flexible – Linux, Solaris, etc
  • 8. Extensible Nucleus, or Microkernel, Organization • The extensible nucleus organization is a modular organization intended to implement real-time systems, timesharing systems, and the like, by using a common set of skeletal facilities. • The approach is to define two types of modules for any particular OS: policy-specific modules and the skeletal policy-independent modules. • The policy-independent modules implement the extensible nucleus, or microkernel. • It is not intended to provide complete functionality. Rather, it is supposed to create an environment in which policy-specific operating systems can be constructed to meet the needs of an application domain. • The skeletal component is a general-purpose foundation for policy- specific parts of the architecture.
  • 9. Philosophy of Policy based OS • The philosophy behind this approach is that the OS can be implemented in two parts: • (1) a mechanism-dependent, hardware-dependent part • (2) a policy-dependent, hardware-independent part. • The first part provides a low-level virtual machine with some form of memory and process management, usually with only the bare essentials for device management. • The second part reflects the requirements of the specific OS. This architecture supports two new directions in operating systems. • It allows policy-dependent variants of an OS to be built on a single hardware platform. • The microkernel provides skeletal, policy-independent functions that are extended with specialized servers to implement a policy.
  • 10. Microkernel • A microkernel (also known as μ-kernel) is the near-minimum amount ofsoftware that can provide the mechanisms needed to implement an operating system (OS). • These mechanisms include low-level address space management, thread management, and inter-process communication (IPC). • Early operating system kernels were rather small, partly because computer memory was limited. • As the capability of computers grew, the number of devices the kernel had to control also grew.
  • 11. Era of Big Kernels • The Berkeley Software Distribution (BSD) of Unix began the era of big kernels. • In addition to operating a basic system consisting of the CPU, disks and printers, BSD started adding additional file systems, a complete TCP/IP networking system, and a number of "virtual" devices that allowed the existing programs to work invisibly over the network. • This growth continued for many years, resulting in kernels with millions of lines of source code. • As a result of this growth, kernels were more prone to bugs and became increasingly difficult to maintain.
  • 13. Birth of Micro Kernels • The microkernel was designed to address the increasing growth of kernels and the difficulties that came with them. • In theory, the microkernel design allows for easier management of code due to its division into user space services. • This also allows for increased security and stability resulting from the reduced amount of code running in kernel mode
  • 14. Microkernels and IPC • Inter-process communication (IPC) is any mechanism which allows separate processes to communicate with each other, usually by sending messages. • Shared memory is strictly speaking also an inter-process communication mechanism, but the abbreviation IPC usually only refers to message passing, and it is the latter that is particularly relevant to microkernels. • IPC allows the operating system to be built from a number of small programs called servers, which are used by other programs on the system, invoked via IPC. • Most or all support for peripheral hardware is handled in this fashion, with servers for device drivers, network protocol stacks, file systems, graphics, etc.
  • 15. Server Based Approach in Microkernel • A basic set of servers for a general-purpose microkernel includes file system servers, device driver servers, networking servers, display servers, and user interface device servers. • This set of servers (drawn from QNX) provides roughly the set of services offered by a Unix monolithic kernel. • The necessary servers are started at system startup and provide services, such as file, network, and device access, to ordinary application programs. • Many "crashes" can be corrected by simply stopping and restarting the server
  • 16. Assignment • Explain the need and concept of MicroKernels.