Difference between OS and Kernal

OS is Operating System is system software that manages computer hardware softwarew resources and provides common services for computer programs. So it's a system program that is the interface between the computer and the user. When the computer boots up the operating system are the first program that loads.Whereas a kernel is a core component of the operating system. It's a part of the operating system that converts the commands into machine language.OS is an interface between the user and hardware where as kernal is an interface between the application and hardware. Therefore all systems need an operating system to run while all operating systems need a kernel to run. Different types of operating systems are single and multi-user OS, Multiprocessor OS, real-time OS, and Distributed OS. And types of kernels include monolithic kernels, microlithic kernels, Hybrid kernels, Exokernal, and Nanokernal.In a microkernel the user services and kernel services are implemented in different address spaces while in a monolithic kernel the entire operating system runs as a single program in kernel mode means the user services and kernel services are implemented in the same address spaces. The processing speed of a microkernel is slow while that of the monolithic kernel is high.eg of microkernel is Mac OS X and the eg of the monolithic kernel is Microsoft Windows 95. In microkernels, the failure of one component does not affect the working of the microkernel while in monolithic Kernels failure of one component leads to the failure of entire system. So debugging is a bit difficult in the monolithic kernels.

Did you find this article valuable?

Support Siddhi Jadhav by becoming a sponsor. Any amount is appreciated!