高级操作系统高级操作系统 (10).pdf

上传人:刘静 文档编号:57972621 上传时间:2022-11-06 格式:PDF 页数:10 大小:1.56MB
返回 下载 相关 举报
高级操作系统高级操作系统 (10).pdf_第1页
第1页 / 共10页
高级操作系统高级操作系统 (10).pdf_第2页
第2页 / 共10页
点击查看更多>>
资源描述

《高级操作系统高级操作系统 (10).pdf》由会员分享,可在线阅读,更多相关《高级操作系统高级操作系统 (10).pdf(10页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。

1、第 2 讲:OS Architecture&Structure第四节:Micro kernel Mach&L4What is a Microkernel?Kernel with minimal featuresMoves as much from the kernel into user spaceAddress spacesInterprocess communication(IPC)Scheduling.What is a Microkernel?BenefitsFlexibilitySafetyModularityDetrimentsAddress spacesInterprocess

2、communication(IPC)Scheduling.Microkernel MachMach Developed at CMU Led by Rick Rashid,Founded Microsoft Research Initial release:1985First generation microkernel Mach(led by RickRashid)Task and thread managementTask(process)unit of allocationThread,unit of executionCPU scheduling policies exposed to

3、 appsInterprocess communication(IPC)Between threads via portsSecured by capabilitiesMemory object managementvirtual memorymemory objecthierarchical pagers.Microkernel MachFirst generation microkernel Mach.Microkernel MachFirst generation microkernel MachPerformancethe use of IPC for almost all tasks

4、 turned out tohave serious performance impact.system calls take 5-6X as long as UNIXgiven a syscall that does nothing,a full round-tripunder BSD would require about 40s,whereas on auser-space Mach system it would take just under500s.benchmarks on 1997 hardware showed that Mach3.0-based UNIX single-s

5、erver implementations wereabout 50%slower than native UNIX.Microkernel L4Second generation microkernel L4 by JochenLiedtke(GMD)Performancesynchronous IPCs async IPCs(like epoll in Linux)smaller,Mach 3(330 KB)L4(12KB)IPC security checks moved to user processIPC is hardware dependent.L4 family.L4 family.L4 family.

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 教育专区 > 大学资料

本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知淘文阁网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

工信部备案号:黑ICP备15003705号© 2020-2023 www.taowenge.com 淘文阁