容器里面乾坤大采用容器部署应用的庄振运

容器里面乾坤大采用容器部署应用的庄振运

ID:37371653

大小:2.72 MB

页数:36页

时间:2019-05-22

容器里面乾坤大采用容器部署应用的庄振运_第1页
容器里面乾坤大采用容器部署应用的庄振运_第2页
容器里面乾坤大采用容器部署应用的庄振运_第3页
容器里面乾坤大采用容器部署应用的庄振运_第4页
容器里面乾坤大采用容器部署应用的庄振运_第5页
资源描述:

《容器里面乾坤大采用容器部署应用的庄振运》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库

1、容器里面乾坤大:采用容器部署应用的性能考虑Memory-relatedPerformancePi3allsandSolu7onsforLinuxCgroup’sbasedDeploymentsଢഄᬩ1OutlineqIntroduc7onqMemoryrelatedperformancepi3allsqStrategiesqDiscussionsqConclusion2SelfIntroduc7onqLinkedInorMicrosoC?§N/AqPerformanceengineering§Applica7ons(HTTP,P2P,Had

2、oop,streaming,etc.)§Java(JVM,GC,etc.)§VM/Container(cgroups,etc.)§Linux(Memorymanagement,filesystem,cpuscheduling,etc.)§Networking(Wireless/mobile,TCP/IP,etc.)§Storage(HDD,SSD,etc.)qOtherinterest§Chineseculture(History,Poems,etc.)3ProblemcontextqContainer§Linuxcgroups,Docker

3、,CoreOSqNewchallengesinAPM§Performancemetricsmonitoring§Deploymentconcerns§Debugging/aler7ngqKnowledgesharing,discussions§Cgroups,performance,memoryqBlog§hYps://engineering.linkedin.com/blog/2016/08/don_t-let-linux-control-groups-uncontrolled4Technicalbackgrounds(Cgroups)R

4、egularcgroupRootcgroupUsermemoryUsermemory(Anonymous)Memorylimit(Anonymous)Pagecache(bounded)(unbounded)PagecacheusageusageMemnotallocatedSwappiness=0Swappiness=1Overcommit_memorypolicySwapspace5OutlineqIntroduc7onqMemoryrelatedperformancepi3allsqStrategiesqDiscussionsqCon

5、clusion6Memoryrelatedperformancepi3allsqMemoryisnotallocatedqPagecacheispartofmemorylimit,canbeevictedbyanonymousmemoryrequestqOScanreclaimsystem-widepagecacheqOScanswapsystem-wideanonymousmemoryqVirtualmemoryspaceisnotlimited7ExperimentsetupqHardware§IntelXeonE5-2680,dual

6、sockets(12physicalcores)§64GBRAM(NUMAsetup)qOS§RHEL(RedHatLinuxEnterprise)7,3.10.0-327.10.1§16GBswap,swappiness=1forroot,0forregularcgroupsqWorkload§Javaapplica7onqOtherperformancemetrics§Cgroupstat(swap,rss,pagecache),“free”8Pi3all1:Memoryisnotallocated(aswithVM)qMemoryli

7、mitofacgroup§Onlyupperbound§“Useasyougo”modelqMemoryrequestfromcgroups§Freememory§OSreclaiming(pagecacheorswapping)qPerformancewhenwrite-backingdirtycaches§Taking20secondstoobtain16GBofmemory§VariesdependingonthedirtycachesizeandIOcapacity9Pi3all2:Pagecacheispartofmemoryli

8、mitqMemorylimitofacgroup§Anonymousmemory(userspace)§Pagecacheused(Kernelspace)§Needtoes7m

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。