Operating System: Three Easy Pieces --- Mechanism: Limited Direct Execution (Note)
2015-10-05 12:35
399 查看
In order to virtualize the CPU, the operating system needs to somehow share the physical
CPU among many jobs running seemingly at the same time. The basic idea is simple: run
one process for a little while, then run another, and so forth. By time sharing the CPU in this
manner, virtualization is achieved. There are a few challenges, however, in building such
virtualization machinery. The first is performance: how can we implement virtualization without
adding excessive overhead to the system? The second is control: how can we processes efficiently
while retaining control over the CPU? Control is particularly important to the OS, as it is in
charge of resources; without control, a process could simpley run forever and take over the
machine, or access information that it should not be allowed to access. Attaining performance
while maintaining control is thus one of the central challenges in building an Operating System.
CPU among many jobs running seemingly at the same time. The basic idea is simple: run
one process for a little while, then run another, and so forth. By time sharing the CPU in this
manner, virtualization is achieved. There are a few challenges, however, in building such
virtualization machinery. The first is performance: how can we implement virtualization without
adding excessive overhead to the system? The second is control: how can we processes efficiently
while retaining control over the CPU? Control is particularly important to the OS, as it is in
charge of resources; without control, a process could simpley run forever and take over the
machine, or access information that it should not be allowed to access. Attaining performance
while maintaining control is thus one of the central challenges in building an Operating System.
相关文章推荐
- 网警1277号正在监控聊天记录中…
- linux awk
- 谁是云的王者?OpenStack与VMware优劣对比
- Operating System: Three Easy Pieces --- API (Note)
- linux常用命令总结
- centos在设置时区
- centos 安装smplayer
- linux下常用命令以及文件
- linux下安装JDK支持java程序运行
- stopPropagation, preventDefault 和 return false 的区别
- CentOS6.5安装python2.7.9
- 创建网站的思路
- Docker私有仓库详细搭建步骤
- willMoveToParentViewController和didMoveToParentViewController
- mysql高可用方案:heartbeat + drbd + mysql
- 登陆tomcat首页报404的问题
- SEnginx安全相关模块配置说明
- Linux文件系统管理
- Apache Ofbiz(13.07.02) 安装运行
- linux md5sum与sha1sum