Perating Ystems: CS C372 & IS C362
Perating Ystems: CS C372 & IS C362
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:
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
16 August 2012
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
16 August 2012
16 August 2012
System Design
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 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:
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