操作系統大內核和微內核_操作系統中的內核

操作系統大內核和微內核

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.

內核是操作系統的核心組件內核也被認為是操作系統的核心。 它負責管理所有進程,內存,文件等。 內核功能在操作系統的最低級別。 它充當用戶級應用程序(軟件)和硬件之間的接口(橋)。 因此,軟件和硬件之間的通信是通過內核完成的。

kernel in OS

The main functions that the Kernel performs are as follows:

內核執行的主要功能如下:

  1. Process Management

    流程管理

  2. Memory Management

    內存管理

  3. Device Management

    設備管理

  4. Interrupt Handling

    中斷處理

  5. Input Output Communication

    輸入輸出通訊

Now let us understand these functions of Kernel...

現在讓我們了解內核的這些功能...

操作系統中內核的功能 (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.

每當系統處于ON模式時,進程的創建,執行和終止都會在系統內部繼續進行。 流程包含有關需要完成的任務的所有信息。 因此,為了執行任何任務,將在系統內部創建一個過程。 一次,系統內部有許多處于活動狀態的進程。 所有這些過程的管理對于避免死鎖和確保系統正常運行非常重要,并且由內核來處理。

2) Memory management

2)內存管理

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.

每當創建并執行一個進程時,它都會占用內存,而在終止時,可以再次使用該內存。 但是應由某人處理內存,以便可以將釋放的內存再次分配給新進程。 該任務也由內核完成。 內核跟蹤當前已分配內存的哪一部分以及可用于分配給其他進程的那一部分。

3) Device Management

3)設備管理

The Kernel also manages all the different devices which are connected to the system, like the Input and Output devices, etc.

內核還管理連接到系統的所有不同設備,例如輸入和輸出設備等。

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.

在執行過程時,有一些條件需要首先處理優先級更高的任務。 在這些情況下,內核必須在當前進程的執行之間進行中斷,并以更高的優先級處理任務。

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.

由于內核管理與其連接的所有設備,因此它還負責處理通過這些設備交換的各種輸入和輸出。 因此,系統從用戶接收的所有信息以及通過不同應用程序為用戶提供的所有輸出均由內核處理。

翻譯自: https://www.includehelp.com/operating-systems/kernel.aspx

操作系統大內核和微內核

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/377252.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/377252.shtml
英文地址,請注明出處:http://en.pswp.cn/news/377252.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

《MySQL——鎖》

全局鎖是什么?全局鎖有什么用?全局鎖怎么用? 全局鎖主要用在邏輯備份過程中,對于InnoDB 引擎的庫,使用–single-transaction; MySQL 提供了一個加全局讀鎖的方法,命令是 Flush tables with read lock (FTW…

搜索引擎Constellio及Google Search Appliances connectors

做搜索產品的時候發現國外一個同類型的產品contellio,發現功能比較強大,先記錄下來 貌似可以添加文檔 網站 以及數據庫等不同類型的數據源 http://wiki.constellio.com/index.php/Main_Page http://www.constellio.com/ http://www.constellio.com htt…

dig下載_DIG的完整形式是什么?

dig下載DIG:副監察長 (DIG: Deputy Inspector General) DIG is an abbreviation of the Deputy Inspector General. It is a high-level position in the Indian Police Service. The officers who already offered service on Senior Superintendent of Police (SS…

分類器是如何做檢測的?——CascadeClassifier中的detectMultiScale函數解讀

原地址:http://blog.csdn.net/delltdk/article/details/9186875 在進入detectMultiScal函數之前,首先需要對CascadeClassifier做初始化。 1. 初始化——read函數 CascadeClassifier的初始化很簡單: cv::CascadeClassifier classifier; cl…

<MySQL>何時使用普通索引,何時使用唯一索引

如果能夠保證業務代碼不會寫入重復數據,就可以繼續往下看。 如果業務不能保證,那么必須創建唯一索引。 關于查詢能力 普通索引和唯一索引在查詢能力上是沒有很大差別的。 如:select id from T where k5 1、普通索引查找到滿足條件的第一個記…

Web版OutLook,利用POP接收郵件服務器郵件

一直想做一個Web版的OutLook,所以才萌生這個想法,其實以前也接觸過這方面的東西。于是上網找了找,漫天的都是Jmail來接收,好吧,既然大家都在用我也就下載下來試試了。 什么,怎么總是報錯呢?原來…

abs std::abs_ABS的完整形式是什么?

abs std::absABS:防抱死制動系統 (ABS: Anti-lock Braking System) ABS is an abbreviation of the Anti-lock Braking System. It is a safety anti-skid braking system that is used on a variety of aircraft, automobiles and other land vehicles, such as mo…

ubuntu 使用

shell 命令歷史搜索 : ctrl r使能 session 選擇界面:安裝gnome-session-fallback安裝lwqq轉載于:https://www.cnblogs.com/JonnyLulu/p/3600263.html

漢字速查使用方法簡介

《漢字速查》(HanziSearcher)是一個支持全漢字字典和詞典的檢索工具。其界面如下所示。 界面上方為工具欄。 左方為字典和詞典檢索欄。 右方在啟動時顯示版權信息和作者的聯系方式,在執行檢索時,顯示檢索結果。 檢索方法 漢字速查…

android jni示例_Android服務示例

android jni示例A service is a component that runs in the background for supporting different types of operations that are long running. The user is not interacted with these. These perform task even if application is destroyed. Examples include handling of…

《MySQL——選錯索引,該如何做》

如果不斷地刪除歷史數據和新增數據,MySQL有時會選錯索引。 選擇索引是優化器的工作,優化器優化時會考慮的因素:掃描行數、是否需要排序、是否使用臨時表 MySQL通過統計索引上的基數,作為索引的區分度。 統計方法時采樣統計&#x…

LPWSTR 類型的實參與const.char *類型形參不兼容

CString csPlus; CString csSummand; m_PlusNumber.GetWindowTextW(csPlus); m_Summand.GetWindowTextW(csSummand); int nPlus atoi(csPlus.GetBuffer(0)); //將編輯框文本轉換成整數// int nPlus atoi(strcpy(csPlus.GetBuffer(10),"aa")); csPlus.ReleaseBu…

空間換時間,把遞歸的時間復雜度降低到O(2n)

遞歸算法的時間復雜度除非只有前兩項,否則都不是線性的,并且相當耗費內存。我們用最常見的的fibonacci數列來說明: function fibonacci(n){if( n 0 || n 1){return n;} else {return fibonacci(n - 1) fibonacci(n - 2);} } 這是一種最常見…

scala char_Scala中的Char數據類型

scala charScala Char數據類型 (Scala Char Data Type) Character (char) in Scala is a data type that is equivalent to 16-bit unsigned integer. The character data type stores a single character. It can be an alphabet, numbers, symbols, etc. The character takes…

《MySQL——給長字符串加索引》

對于長字符串,可用如下方式建立索引: (1)前綴索引 (2)字符串倒敘前綴索引 (3)添加hash字段并在hash字段上加索引 (4)字段拆分(一個字段可拆分為兩…

[藍橋杯歷屆試題] 歐拉與雞蛋

大數學家歐拉在集市上遇到了本村的兩個農婦,每人跨著個空籃子。她們和歐拉打招呼說兩人剛剛賣完了所有的雞蛋。 歐拉隨便問:“賣了多少雞蛋呢?” 不料一個說:“我們兩人自己賣自己的,一共賣了150個雞蛋,雖然…

Python元組練習

Here, we are covering following Python tuple exercises, 在這里,我們將介紹以下Python元組練習 , Creating & printing a tuple 創建和打印元組 Unpacking the tuple into strings 將元組解包成字符串 Create a tuple containing the letters of…

傻瓜教你看清MVC內部執行流程之ViewData數據傳輸,輕松學MVC--①目了然篇(待續)

1.首先在執行到Controller里面的action(方法)時,執行到最后會調用一個View()-->此方法是Controller的一個方法 源代碼: View Code protected internal ViewResult View(){return View(null /* viewName */, null /* masterName */, null /* model */);} 2.然后繼續調用自己…

《MySQL——count()邏輯》

count()用法 count()語義:該函數為一個聚合函數,對于返回的結果集一行行地判斷,如果count函數地參數不是NULL,累計值就加1,否則不加。最后返回累計值。 所以count(*),count(主鍵id)和count(1)都表示返回滿足條件地結果…

phpmailer 發送郵件

<?php /* 可用新浪和網易郵箱測試成功&#xff0c;但QQ不成功&#xff01; 下載 phpmailer 解壓 http://phpmailer.worxware.com/要注意郵件服務器的端口號&#xff0c;默認是 25 不用修改&#xff0c;如果不是則要修改如下&#xff0c;在$mail->IsSMTP() ;下一行加上 $…