高级操作系统高级操作系统 (21).pdf
《高级操作系统高级操作系统 (21).pdf》由会员分享,可在线阅读,更多相关《高级操作系统高级操作系统 (21).pdf(28页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、第 4 讲:Optimization of Virtual Machine Monitor第三节:Dune:Safe User-level Access to Privileged CPU FeaturesRequirement of DUNEFor MORE performance&featuresSafe User-level Access to Privileged CPU FeaturesDune:Safe User-level Access to Privileged CPU Features,Adam Belay,etc.,OSDI12.Requirement of DUNEFor
2、 MORE performance&featuresSpeed up garbage collection(Azul C4)pagetablePrivilege separation within a process(Palladium)MMUSafe native code in web browsers(Xax)Syscall handler.Some thoughts of DUNE Change kernelProblem:stability concerns,challenging to Optimization analysisdistribute,composability co
3、ncerns.Some thoughts of DUNE exokernelProblem:must replace entire OS stack.Some thoughts of DUNE VMMProblem:virtual machines have strict partitioning.Some thoughts of DUNE Dune in a NutshellProvide safe user-level access to privileged CPU featuresStill a normal process in all ways(POSIX API,etc)Key
4、idea:leverage existing virtualization hardware(VTx).Some thoughts of DUNE Dune Simple ArchHost mode-VMX root mode on IntelNormally used for hypervisorsIn Dune,we run the kernel here,for access VT-x instructions.Some thoughts of DUNE Dune Simple ArchGuest mode-VMX non-root mode on IntelNormally used
5、by the guest kernelIn Dune,we run ordinary processes here,for access to privileged features.Some thoughts of DUNE Dune Simple ArchConfigures and manages virtualization hardwareProvides integration with the rest of the kernel in order to support a process abstractionUses Intel VTx.Some thoughts of DU
6、NE Dune Simple ArchA uAlity library to help applicaAons manage privileged hardware featuresCompletely untrustedException handling,syscall handling,page allocator,page table management,ELF loader.Diff Between VMM&DUNEDUNE:using virtualization hardware to providea process.Contributions of DUNEDUNEa de
7、sign that uses hardware-assisted virtualizationto safely and efficiently expose privileged hardwarefeatures to user programs while preserving standardOS abstractions.Memory managementSystem callsPOSIX Signals.Supported Hardware FeaturesHardware features exposed by Dune and theircorresponding privile
8、ged x86 instructions.Supported Hardware Features ExceptionsHardware features exposed by DuneNormally,reporting an exception to a user programrequires privilege mode transitions and an upcallmechanism(e.g.,signals)Dune can reduce exception overhead because it usesVT-x to deliver exceptions directly i
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 高级操作系统高级操作系统 21 高级 操作系统 21
限制150内