资源描述:
《Evaluating the impacts of hugepage on virtual machines.pdf》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、SCIENCECHINAInformationSciences.RESEARCHPAPER.January2017,Vol.60012103:1–012103:16doi:10.1007/s11432-015-0764-7EvaluatingtheimpactsofhugepageonvirtualmachinesXiaolinWANG1,TaoweiLUO1,JingyuanHU1,ZhenlinWANG2&YingweiLUO1*1SchoolofElectronicsEngineeringandComputerScience,PekingUniver
2、sity,Beijing100871,China;2DepartmentofComputerScience,MichiganTechnologicalUniversity,Houghton,MI49931,USAReceivedMarch25,2016;acceptedMay10,2016;publishedonlineNovember29,2016AbstractModernapplicationsoftenrequirealargeamountofmemory.Conventional4KBpagesleadtolargepagetablesandth
3、usexerthighpressureonTLBaddresstranslations.Thispressureismoreprominentinavirtualizedsystem,whichaddsanadditionallayerofaddresstranslation.PagewalksduetoTLBmissescanresultinasignificantperformanceoverhead.Oneeffortinreducingthisoverheadistousehugepage.Linuxkernelhassupportedtranspar
4、enthugepagesince2.6.38,whichprovidesanalternatelargepagesize.Generally,hugepagedemonstratesbetterperformanceonaddresstranslationsandpagetablemodifications.Thispaperfirstanalyzestheimpactofhugepageonnativesystem,andthen,comparestheimpactofhugepageondifferentmemoryvirtualizationapproac
5、hes:hardware-assistedpaging(HAP),shadowpaging,andpara-virtualization.Weobservethatthecurrentimplementationoftransparenthugepageisinefficient.Itcannotexploitthefullperformanceadvantageofhugepages.Worseyet,theconservativestrategyoftransparenthugepagemayconflictwithexistingOSfunctions,w
6、hichcanleadtoperformancedegradation.So,weproposeanewmemoryallocationstrategy,alignment-basedhugepage(ABH)thatpromoteshugepageallocations.WeapplyABHtodifferentpagingmodesinvirtualizedsystems.TheresultsshowthatthenewallocationstrategycansignificantlyreduceTLBmissesandupto90%pagewalkcy
7、clesduetoTLBmissesandthusimprovetheperformanceinrealworldapplications.Keywordshugepage,memorymanagement,translationlookasidebuffer,virtualization,performanceCitationWangXL,LuoTW,HuJY,etal.Evaluatingtheimpactsofhugepageonvirtualmachines.SciChinaInfSci,2017,60(1):012103,doi:10.1007/s
8、11432-015-0764-71IntroductionVirt