• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1111
  • Last Modified:

Please explain the difference between microkernel and monolithic kernel

I have many threads in the google and find many results and read them.

But the answer is very ambiguous and lives each other's toes . where to find more precise definition ?


please post somewhere that I can find the extract precise definition.Even the wikipeadia does not
explains it.

here there they messed I think.
http://www.allinterview.com/showanswers/13810.html

anyhow what is the correct definition ? and please explain with the examples.
0
NicAx64
Asked:
NicAx64
  • 4
  • 3
3 Solutions
 
NicAx64Author Commented:
so I read that PDF and thanks.

so according to it says the main difference is the separation and isolation of the core kernel componment
and other parts. Like memory manager , device manager , process and thread manager etc...

so in a monolithic kernel those every parts are build into a one mess , and in the micro-kernel you can
see them much more separately clear and it's isolated.

am I correct ?

thanks tillgeffken: but I don't know whether I met the solution or not.
0
 
NicAx64Author Commented:
so in a micro-kernel the the micro-kernel part is just responsible for the communication and integration
between other parts. like memory manager , process manager and device manager etc.

and it's designed to fit into the processor cache memory.

please explain sir am I correct ?
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
tillgeffkenCommented:
The difference between the two concepts is rather simple. Monolithic kernels have more functionality in the kernel space. Microkernels have that functionality outside of the kernel space in user land.

That results in two things:

1. The Monolithic kernel doesn't have to deal with the extra message transport between user and kernel space for calls to that functionality.

2. Functionality that is outside of kernel space cannot crash the kernel.

I'm not saying that a monolithic kernel is more likely to crash, it just has more things to worry about. It all depends on the implementation.
0
 
NicAx64Author Commented:
>>The difference between the two concepts is rather simple. Monolithic kernels have more functionality in >>the kernel space. Microkernels have that functionality outside of the kernel space in user land.

what you mean by the user land ? For a example when there is a device driver running in a micro kernel
design is seperated from the kernel space. But anyhow it have the code to access the system I/O because
it's a device driver.so how can we call it as a "user land" ?

please explain this.
0
 
tillgeffkenCommented:
In a microkernel environment the device driver communicates with the kernel through the channels provided by the kernel. However the driver cannot access the kernels address space directly. User land is just anything that is not kernel space.
0
 
NicAx64Author Commented:
thanks for the everyone who answer this question.

-- Thanks in advance --
0
 
abhishek maheshwariCommented:
Monolithic kernel: A monolithic kernel has all OS services (including device drivers, network stacks,
file systems, etc.) running within the privileged mode of the processor.
A monolithic kernel is easier to make more efficient (because OS services can run completely without
switches from privileged to non-privileged mode) UNIX, Linux and Microsoft NT Micro kernel.

A micro-kernel, on the other hand, uses the privileged mode only for really core services, and has most of the device drivers and OS services running as “normal” tasks. Micro-kernel is more difficult to crash (an error in a device driver that doesn’t run in privileged mode is less likely to cause a system halt than an error occurring in privileged mode). QNX, FIASCO, VxWorks, and GNU/Hurd.

Source:-Diference between monolithic kernel and micro kernel
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now