13
Kernel -Neel Parikh (110110107020)

What is Kernel, basic idea of kernel

Embed Size (px)

DESCRIPTION

Computer Engineering Kernel basics What is kernel Operating systems

Citation preview

Page 1: What is Kernel, basic idea of kernel

Kernel-Neel Parikh

(110110107020)

Page 2: What is Kernel, basic idea of kernel

Topics• Definition• Basic Structure• Facilities• Functions• Types of Kernels

Page 3: What is Kernel, basic idea of kernel

Definitionkernelˈkəːn(ə)l/nounnoun: kernel; plural noun: kernels

1. a softer, usually edible part of a nut, seed, or fruit stone contained within its shell."the kernel of a walnut“

2. the central or most important part of something."this is the kernel of the argument"

Page 4: What is Kernel, basic idea of kernel

Formal Definition• In computing, the kernel is a

computer program that manages input/output requests from software and translates them into data processing instructions for the central processing unit and other electronic components of a computer.

• The kernel is a fundamental part of a modern computer's operating system.

Page 5: What is Kernel, basic idea of kernel

Basic Structure

Page 6: What is Kernel, basic idea of kernel

Kernel Basic Facilities The Central Processing Unit.

• This is the most central part of a computer system, responsible for running or executing programs.

• The kernel takes responsibility for deciding at any time which of the many running programs should be allocated to the processor or processors (each of which can usually run only one program at a time)

Page 7: What is Kernel, basic idea of kernel

Kernel Basic FacilitiesThe computer's memory.

• Memory is used to store both program instructions and data.

• Typically, both need to be present in memory in order for a program to execute.

• Often multiple programs will want access to memory, frequently demanding more memory than the computer has available.

• The kernel is responsible for deciding which memory each process can use, and determining what to do when not enough is available.

Page 8: What is Kernel, basic idea of kernel

Kernel Basic FacilitiesInput / Output (I/O) devices

• I/O devices present in the computer, such as keyboard, mouse, disk drives, USB devices, printers, displays, network adapters, etc.

• The kernel allocates requests from applications to perform I/O to an appropriate device and provides convenient methods for using the device.

Page 9: What is Kernel, basic idea of kernel

Memory management• Virtual addressing:

PagingSegmentation

• Data Stores:Hard DriveRAM

• Memory Partitions:Kernel space User space

Page 10: What is Kernel, basic idea of kernel

Device management1. On the hardware side:

Interfacing directly. Using a high level interface. Using a lower-level device driver (file drivers

using disk drivers). Simulating work with hardware, while doing

something entirely different.2. On the software side:

Allowing the operating system direct access to hardware resources.

Implementing an interface for non-driver software.

Implementing a language, sometimes high-level.

Page 11: What is Kernel, basic idea of kernel

Types of Kernels• Monolithic kernels• Microkernels(μK )• Hybrid(Modular) kernels• Nano kernels• Exokernels

Page 12: What is Kernel, basic idea of kernel
Page 13: What is Kernel, basic idea of kernel