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

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

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

1、第 4 讲:Optimization of Virtual Machine Monitor第一节:IntroductionIntroductionBefore optimization of VMM Where is the bottlenecks of VMM?How to find these bottlenecks?.Introduction Where is the bottlenecks of VMM?bottlenecks of VMMVCPUVMEMVIOetc.Introduction bottlenecks of VMMComparison between VMM and C

2、ontainerTarget:Docker v.s.KVM/XENBenchmark:Environment andWorkloadTesting&Evaluationfrom:An Updated Performance Comparison of Virtual Machines and Linux Containers,TR of IBM,2014from:My VM is Lighter(and Safer)than your Container and Linux Containers,SOSP17,2017.Introduction Container overview.Intro

3、duction Container overview.Introduction Container overviewWhat is inside a ContainerProgram Binaries/configurationRuntime librariesDependency Products/toolsA Piece of KernelSystem Resources:CPU/MEM/IO/Net/StorageWe are isolating the program and delicatelyproviding its own system resources andruntime

4、 libraries.Introduction bottlenecks of VMM CPU/MEMEnvironmenttwo E5-2665(16 cores with HT),256 GB of RAMDirect 10 Gbps Ethernet link between two Mellanox ConnectX-2 EN NICsUbuntu 13.10,kernel 3.11,Docker 1.0,QEMU 1.5.032vCPU(Power management was disabled).Introduction bottlenecks of VMM CPU/MEMResul

5、tsPXZ:extra TLB pressure of nested paging.Linpack:pin vCPUs pCPU,expose the underlying cache topologySTREAM:bandwidth of mem,cost of handling TLB misses,uses large pages.Introduction bottlenecks of VMM NetNetwork configurationsnuttcp to measure network bandwidthAll three configurations reach 9.3Gbps

6、NAT noticeably increases overheadvhost reduces overheadNIC is the bottleneckTCP bulk transfer efficiency(CPU cycles/byte)Network round-trip latency(s).Introduction bottlenecks of VMM StorageStorage configurations20 TB SSD,two 8 Gbps FibreChannel linksfio with the libaio backend in ODIRECT modeFibre

7、Channel HBA is the bottleneckSequential I/O throughput(MB/s)Random I/O throughput(IOPS).Introduction bottlenecks of VMM Real AppsMySQL configurationsMySQL throughput(transactions/s)Redis performance(requests/s)Average latency(in ms)of operations on Redis.Introduction bottlenecks of VMM SummarySummar

8、yContainers and VMs impose almost no overhead onCPU and memory usage;they only impactI/O and OS interaction.This overhead comes in the form of extra cycles foreach I/O operation,so small I/Os suffer much morethan large ones.Several additional topics worthy of investigation:performance isolation when multiple workloads runon the same server,live resizing of containers andVMs,tradeoffs between scale-up and scale-out,andtradeoffs between live migration and restarting.https:/

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

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

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

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