操作系统大内核和微内核_操作系统中的内核
操作系統(tǒng)大內(nèi)核和微內(nèi)核
A Kernel is the central component of an Operating System. The Kernel is also said to be the heart of the Operating System. It is responsible for managing all the processes, memory, files, etc. The Kernel functions at the lowest level of the Operating System. It acts as an interface (bridge) between the user-level application (software) and the hardware. Therefore, the communication between the software and the hardware is done via the Kernel.
內(nèi)核是操作系統(tǒng)的核心組件 。 內(nèi)核也被認為是操作系統(tǒng)的核心。 它負責(zé)管理所有進程,內(nèi)存,文件等。 內(nèi)核功能在操作系統(tǒng)的最低級別。 它充當(dāng)用戶級應(yīng)用程序(軟件)和硬件之間的接口(橋)。 因此,軟件和硬件之間的通信是通過內(nèi)核完成的。
The main functions that the Kernel performs are as follows:
內(nèi)核執(zhí)行的主要功能如下:
Process Management
流程管理
Memory Management
內(nèi)存管理
Device Management
設(shè)備管理
Interrupt Handling
中斷處理
Input Output Communication
輸入輸出通訊
Now let us understand these functions of Kernel...
現(xiàn)在讓我們了解內(nèi)核的這些功能...
操作系統(tǒng)中內(nèi)核的功能 (Functions of the Kernel in Operating System)
1) Process Management
1)流程管理
The creation, execution, and termination of processes keep on going inside the system whenever a system is in the ON mode. A process contains all the information about the task that needs to be done. So, for executing any task, a process is created inside the systems. At a time, there are many processes which are in live state inside the system. The management of all these processes is very important to avoid deadlocks and for the proper functioning of the system, and it is handled by the Kernel.
每當(dāng)系統(tǒng)處于ON模式時,進程的創(chuàng)建,執(zhí)行和終止都會在系統(tǒng)內(nèi)部繼續(xù)進行。 流程包含有關(guān)需要完成的任務(wù)的所有信息。 因此,為了執(zhí)行任何任務(wù),將在系統(tǒng)內(nèi)部創(chuàng)建一個過程。 一次,系統(tǒng)內(nèi)部有許多處于活動狀態(tài)的進程。 所有這些過程的管理對于避免死鎖和確保系統(tǒng)正常運行非常重要,并且由內(nèi)核來處理。
2) Memory management
2)內(nèi)存管理
Whenever a process is created and executed, it occupies memory, and when it gets terminated, the memory can be used again. But the memory should be handled by someone so that the released memory can be assigned again to the new processes. This task is also done by the Kernel. The kernel keeps track about which part of the memory is currently allocated and which part is available for being allocated to the other processes.
每當(dāng)創(chuàng)建并執(zhí)行一個進程時,它都會占用內(nèi)存,而在終止時,可以再次使用該內(nèi)存。 但是應(yīng)由某人處理內(nèi)存,以便可以將釋放的內(nèi)存再次分配給新進程。 該任務(wù)也由內(nèi)核完成。 內(nèi)核跟蹤當(dāng)前已分配內(nèi)存的哪一部分以及可用于分配給其他進程的那一部分。
3) Device Management
3)設(shè)備管理
The Kernel also manages all the different devices which are connected to the system, like the Input and Output devices, etc.
內(nèi)核還管理連接到系統(tǒng)的所有不同設(shè)備,例如輸入和輸出設(shè)備等。
4) Interrupt Handling
4)中斷處理
While executing the processes, there are conditions where tasks with more priority need to be handled first. In these cases, the kernel has to interrupt in-between the execution of the current process and handle tasks with more priority which has arrived in between.
在執(zhí)行過程時,有一些條件需要首先處理優(yōu)先級更高的任務(wù)。 在這些情況下,內(nèi)核必須在當(dāng)前進程的執(zhí)行之間進行中斷,并以更高的優(yōu)先級處理任務(wù)。
5) I/O Communication
5)I / O通訊
As the Kernel manages all the devices connected to it, so it is also responsible for handling all sorts of input and output that is exchanged through these devices. So, all the information that the system receives from the user and all the output that the user is provided with via different applications is handled by the Kernel.
由于內(nèi)核管理與其連接的所有設(shè)備,因此它還負責(zé)處理通過這些設(shè)備交換的各種輸入和輸出。 因此,系統(tǒng)從用戶接收的所有信息以及通過不同應(yīng)用程序為用戶提供的所有輸出均由內(nèi)核處理。
翻譯自: https://www.includehelp.com/operating-systems/kernel.aspx
操作系統(tǒng)大內(nèi)核和微內(nèi)核
總結(jié)
以上是生活随笔為你收集整理的操作系统大内核和微内核_操作系统中的内核的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 一颗种植牙大概多少钱啊?
- 下一篇: 青云志3剧情介绍