Thursday 10 November 2011

What is Kernel and Kernel Types?


The Kernel is the heart of an Operating System.

The kernel's responsibilities include managing the system's resources (the communication between hardware and software components). 
A kernel connects the application software to the hardware of a computer


           Monolithic kernel
                                   In a monolithic kernel, all OS services run along with the main kernel thread, thus also residing in the same memory area. This approach provides rich and powerful hardware access. The main disadvantages of monolithic kernels are the dependencies between system components — a bug in a device driver might crash the entire system — and the fact that large kernels can become very difficult to maintain.    

           Microkernel (MODULAR)
                                 The microkernel approach consists of defining a simple abstraction over the hardware, with a set of primitives or system calls to implement minimal OS services such as memory management, multitasking, and inter-process communication. Microkernels are easier to maintain than monolithic kernels, but the large number of system calls and context switches might slow down the system because they typically generate more overhead than plain function calls.


5 comments:

  1. Salaam,


    Nice to be visiting your blog again, it has been months for me. Well this article that i’ve been waited for so long.


    I am doing a simple text adventure
    game for school and so far I have the following.
    On line 61 (elif choice == 2:) which in the function prompt 3, I am getting an unexpected
    unindent error. I assume it has something to do with the indentation but I can't figure it out.

    Can anyone plug this into IDLE and debug it?
    Please keep in mind I am new to the language and I'm completely aware that this code may be unprofessional or over complicated.

    Awesome! Thanks for putting this all in one place. Very useful!


    Shukran,
    Ajeeth

    ReplyDelete
  2. Hi Shekar,


    You make learning and reading addictive. All eyes fixed on you. Thank you being such a good and trust worthy guide.


    I have started coding a few days ago and I want to write a code where it asks what age you are(for example 15) and it gives you the name you assigned the number 15 to.

    The problem is that I have no clue how to start..

    Once again thanks for your tutorial.


    Cheers,
    Madhu

    ReplyDelete
  3. Hello There,


    Love it absolutely! So crystalline. No mumbo jumbo. No non-sense. Straight and simple. You guys need a standing ovation for your good work.
    I have multiple production workloads running on multiple servers. All using Python 2.7.12. This morning I arrived at work to find lots of errors in my logs. The tracebacks all include this:

    We are not out of disk space. This is happening on lots of different servers.
    We did not deploy any new code -- it was a Sunday evening. The first occurrence of the error was a few minutes after 0000 GMT this morning. We do not have automatic patching or updates enabled. Could there be something in the Python tempfile module that started failing as of a certain date/time?? Anyone else having a similar problem?

    It was cool to see your article pop up in my google search for the process yesterday. Great Guide.
    Keep up the good work!


    Thanks a heaps,
    Sindu

    ReplyDelete
  4. I believe there are many more pleasurable opportunities ahead for individuals that looked at your site.
    Python Training in Bangalore

    ReplyDelete