0% found this document useful (0 votes)
83 views7 pages

Perating Ystems: CS C372 & IS C362

The document discusses operating system structure and compares monolithic and microkernel systems. A microkernel moves most components out of the kernel into user space and only keeps essential components in the kernel. Communication between components occurs through message passing. Benefits of a microkernel include easier extension, portability, reliability and security, while a downside is potential performance overhead from user-kernel communication. Modern operating systems also implement modular kernels where each component is separate but interacts through defined interfaces.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
83 views7 pages

Perating Ystems: CS C372 & IS C362

The document discusses operating system structure and compares monolithic and microkernel systems. A microkernel moves most components out of the kernel into user space and only keeps essential components in the kernel. Communication between components occurs through message passing. Benefits of a microkernel include easier extension, portability, reliability and security, while a downside is potential performance overhead from user-kernel communication. Modern operating systems also implement modular kernels where each component is separate but interacts through defined interfaces.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

OPERATING SYSTEMS (CS C372 & IS C362)

LECTURE 7: OPERATING SYSTEM STRUCTURE

Moves as much from the kernel into user space Communication takes place between user modules using message passing Kernel consist of only essential components The kernel will be very small Main function of the Micro kernel is to provide communication facility (using Message passing) Benefits:

Microkernel System Structure

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
Performance overhead of user space to kernel space communication
Biju K Raveendran@BITS Pilani. 2

Detriments:

16 August 2012

Monolithic Vs Micro Kernel

16 August 2012

Biju K Raveendran@BITS Pilani.

Modules

Most modern operating systems implement 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

16 August 2012

Biju K Raveendran@BITS Pilani.

Solaris Modular Approach

16 August 2012

Biju K Raveendran@BITS Pilani.

System Design

System Design Goals

User goals operating system should be convenient to use, easy to learn, reliable, safe, and fast. System goals operating system should be easy to design, implement, and maintain, as well as flexible, reliable, error-free, and efficient

Mechanisms and Policies

Mechanisms determine how to do something, policies decide what will be done. The separation of policy from mechanism is a very important principle, it allows maximum flexibility if policy decisions are to be changed later.
Biju K Raveendran@BITS Pilani. 6

16 August 2012

System implementation

Traditionally written in assembly language, operating systems can now be written in higherlevel languages. Code written in a high-level language:

can be written faster. is more compact. is easier to understand and debug.

An operating system is far easier to port (move to some other hardware) if it is written in a high-level language.

16 August 2012

Biju K Raveendran@BITS Pilani.

You might also like