操作系统大内核和微内核

As we have already studied about the Kernels, we know that the Kernel is a program which is the main component of the Operating System. Now let us study about the types of Kernels.

正如我们已经研究了内核一样 ,我们知道内核是一个程序,它是操作系统的主要组件。 现在让我们研究内核的类型。

内核类型 (Types of kernels )

A Kernel is classified into two main types:

内核分为两种主要类型:

  1. Monolithic Kernel

    整体内核

  2. Micro Kernel

    微内核

One more type of Kernel exists which is the combination of these two types of kernels and is known as the Hybrid Kernel.

存在另一种类型的内核,这是这两种类型的内核的组合,称为混合内核

Let us study each of them in brief...

让我们简短地研究它们中的每一个...

1)整体内核 (1) Monolithic Kernel)

In this type of Kernel architecture, all the functions, like Process Management, Memory management, interrupt handling, etc. are performed in the Kernel space.

在这种类型的内核体系结构中,所有功能(如进程管理,内存管理,中断处理等)都在内核空间中执行。

The monolithic Kernels first consisted of only one module, and this module was responsible for all the functions that were performed by the Kernel. This increased the performance of the OS as all the functions were present inside the same module, but this also led to serious drawbacks like large size of the Kernel, very low reliability because even if a single function of the Kernel failed, this led to the failure of the entire Kernel Program, and poor maintenance, due to the same reason. So, to increase the performance of the system, a modular approach was made in the Monolithic kernels in which each function was present in a different Module inside the Kernel Space. So, for fixing any bugs or in case of failure, only that particular module was unloaded and loaded after fixing.

整体式内核首先仅包含一个模块,而该模块负责内核所执行的所有功能。 由于所有功能都存在于同一模块中,因此提高了OS的性能,但这也导致了严重的缺陷,例如内核的尺寸过大,可靠性非常低,因为即使内核的单个功能失败,这也会导致由于相同的原因,整个内核程序都会失败,并且维护不善。 因此,为了提高系统性能,在Monolithic内核中采用了模块化方法,其中每个功能都存在于内核空间内的不同模块中。 因此,对于修复任何错误或出现故障的情况,修复后仅卸载和加载该特定模块。

2)微内核 (2) Micro Kernels)

In this type of Kernel architecture, the basic user services like device driver management, protocol stack management, File system management and graphics control are present in the Userspace, and the rest functions lie Memory management, Process management is present inside the Kernel space. So, whenever the system has the requirement of services present in the Kernel space, the OS switches to the Kernel Mode, and for the user level services, it switches to the User Mode. This type of Kernel Architecture reduces the size of the Kernel, but the speed of executing processes and providing other services is much slower than the Monolithic Kernels.

在这种类型的内核体系结构中,基本的用户服务(如设备驱动程序管理,协议栈管理,文件系统管理和图形控制)位于用户空间中,其余功能位于内存管理中,进程管理位于内核空间中。 因此,每当系统需要内核空间中存在的服务需求时,OS就会切换到内核模式,而对于用户级服务,它将切换到用户模式。 这种类型的内核体系结构减小了内核的大小,但是执行进程和提供其他服务的速度比Monolithic内核要慢得多。

3 *)混合内核 (3*) Hybrid Kernel)

For the best performance of the system, we require both high speed and small size of the kernel so that our system may have the maximum efficiency. So, to meet this, a new type of Kernel was designed which was somewhat a combination of the Monolithic Kernel and the MicroKernel. This type of Kernel is known as the Hybrid Kernel. Such type of Architecture is being used in almost all systems which are being manufactured nowadays.

为了使系统达到最佳性能,我们需要高速且小尺寸的内核,以使我们的系统具有最大的效率。 因此,为了解决这个问题,设计了一种新型内核,某种程度上是整体内核和微内核的组合。 这种类型的内核称为混合内核。 这种类型的体系结构已在当今正在制造的几乎所有系统中使用。

翻译自: https://www.includehelp.com/operating-systems/types-of-kernels.aspx

操作系统大内核和微内核

操作系统大内核和微内核_操作系统中的内核类型相关推荐

  1. 操作系统大内核和微内核_操作系统中的内核

    操作系统大内核和微内核 A Kernel is the central component of an Operating System. The Kernel is also said to be ...

  2. 操作系统大内核和微内核_操作系统中的内核I / O子系统

    操作系统大内核和微内核 内核输入/输出子系统 (Kernel Input / Output subsystem) Input and output (I/O) devices permit us to ...

  3. 【Linux 内核】宏内核与微内核架构 ( 操作系统需要满足的要素 | 宏内核 | 微内核 | Linux 内核动态加载机制 )

    文章目录 一.操作系统需要满足的要素 二.宏内核 三.微内核 四.Linux 内核动态加载机制 一.操作系统需要满足的要素 电脑上运行的 操作系统 , 是一个 软件 ; 设备管理 : 操作系统需要 为 ...

  4. linux 内核编号含义_如何阅读linux内核代码?

    阅读代码从来就是不可行的方法,有篇文章详细讲了这个事,很多人都觉得应该多读代码, 读好的代码,比如Donald Knuth. 但事实上, 只要简单让你描述一下最近读了什么代码,绝大多数人都说不上.文章 ...

  5. 骆驼祥子大事件时间轴_骆驼中的事件处理

    骆驼祥子大事件时间轴 在上一篇有关骆驼-小水车的文章中,我介绍了骆驼-小水车的组件,并使用骆驼路线中的规则实现了一些简单的面向任务的过程. 今天,我将展示如何通过添加事件处理来扩展此示例. 那么如何描 ...

  6. rust大油田分解机_睡梦中,狂风起!大棚棉被刮翻了,卷帘机也连带吹坏了......

    前两天,北京.山东.河北.河南等地出现了大风降温天气,风力强劲,多地发布了大风蓝色预警.在<中国蔬菜>微信群里,很多朋友都说,夜里一刮大风,很多菜农都是彻夜难眠. 风有多大,听听视频中的声 ...

  7. mysql中char存储中文_数据库中的字符类型存储字符和汉字的数量

    sqlServer2012(936 简体中文GBK )为例: 例如: varchar(10),只能存储10个英文字符或数字,也只能存储5个汉字: char(10),只能存储10个英文字符或数字,也只能 ...

  8. suse 内核编译安装_升级SUSE Linux内核的完整步骤!

    安装完SLED 10后发现仍然有"热启动网络不通"的问题,原因是内核版本较低,于是升级到2.6.17版内核,成功解决此问题.为了造福广大菜鸟,分享一下我的经验,欢迎高手批评补充. ...

  9. 【操作系统】大内核和微内核的比较

    操作系统基本的两种体系结构是大内核和微内核. 大内核系统将操作系统的主要功能模块都作为一个紧密联系的整体运行在内核态,从而为应用系统提供高性能的系统服务. 微内核系统将操作系统内核中最基本的功能保留在 ...

最新文章

  1. Android中使用DOM解析xml时出现org.xml.sax.SAXParseException: Unexpected token
  2. DevOps笔记-08:DevOps追求的根本目标:多快好省
  3. 64位操作系统的原理
  4. PHP控制转盘抽奖代码,PHP 根据概率 实现抽奖转盘算法 代码
  5. SAP Commerce Cloud 导入消费OCC API需要使用的credentials
  6. 企业使用RTX腾讯通2013
  7. 十三、制作 iVX音乐分享小程序
  8. 快要“成精”的波士顿机械狗,开始卖了,价格不贵准备搞一只
  9. Node.js「三」—— 创建静态 WEB 服务器
  10. photoshop CG6 基础知识的学习
  11. mysql 核心笔记 逻辑符号 like
  12. NVT NT98510 SDK介绍
  13. Solaris操作系统介绍
  14. yuyu终于考完了!我提前过生日了!(两者好像没有关联嘛^_^)
  15. 湖南大学校园网登录地址
  16. 1000句英语经典口语(3)
  17. 用python绘制玫瑰花的代码_Python 玫瑰花绘制
  18. Lync客户端证书安装
  19. Windows下虚拟键盘鼠标(USB中文网)
  20. Repository epel is listed more than once in the configuration解决办法

热门文章

  1. html图片热点新窗口,HTML基础必看---表单,图片热点,网页划区和拼接详解
  2. 在服务器上远程使用tensorboard查看训练loss和准确率
  3. python matplotlib 绘制曲线图,柱状图
  4. JAVA通过SSL证书创建MS AD账户及设置密码
  5. 百度之星初赛(A)——T5
  6. WPF自定义控件与样式(5)-Calendar/DatePicker日期控件自定义样式及扩展
  7. 提高Python运行效率的六个窍门
  8. 【翻译】从Store生成Checkbox Group
  9. c++ 输出二进制_Python入门3print格式化输出的几种方法
  10. Java中如何使用非阻塞异步编程——CompletableFuture