slowhyper-v
hyper-v 时间:2021-03-28 阅读:(
)
HyperV_MonAFreeToolFromTMurgentTechnologiesVersion1.
6IntroductionHyperV_MonisaGUItoolforviewingCPUperformanceofasystemrunningHyper-VfromMicrosoft.
VirtualizationaddsalayerofcomplexitytounderstandingtrueCPUusageofavirtualmachine.
Thistoolprovidesasimpletoviewsetofgraphstodepictactualprocessorutilization,including"overhead"processingduetotheuseoftheHypervisor.
HyperV_Monisnotintendedtobearegularmonitoringtoolthatyouuseeveryday.
Thistoolisdesignedtohelpyouunderstandwhatisgoingonwhenyouneedtoknowit.
Thetoolrequiresthatyouhave.
theNET3.
5FrameworkinstalledonthemachinethatyouwishtoruntheGUIon.
Ifyoudidn'tinstallServerCore,youcanplaceitontherootpartitionmachine,buttypicallyyouwanttoplacethisonadesktopthatisnotontheHyper-Vservertominimizeimpactontheserveritself.
ThetoolleveragestheRootPartitionWMIprovider–thesameinterfaceasisusedbySCVMMandthirdpartytools.
SoaslongastheremoteGUIuserhasWMIaccesstotheRootPartitionServeryouaregoodtogo.
SomeofthenewfeaturesinHyperV_MonalsoneedWMIaccesstotheVMsthemselves,butwillreasonablyoperateifaccesstotheVMsarenotavailable.
Thetoolhasnoinstaller.
Justanexewithaconfigurebutton.
Theterm"Overhead"isusedinthisdocumentandintheproductasashorthandtocapturetheconceptofprocessingthatisbeingperformedbytheHypervisoritself.
Technically,thisisnot"overhead"inthesenseofprocessingthatwouldnotbeoccurringifyoudidn'tvirtualize.
Whilesomeofthisprocessingtrulyrepresentsoverhead,someofitrepresentsprocessingthatwouldhaveoccurredindriversofthenon-virtualizedsystem.
SettingUpTheToolAftercopyingtheexeontoasystem,startitandmouseclickthe"Configure"button.
TheConfiguredialogisshowninFigure1.
Youmustenteraqualifiednameforthehostintherootpartitionoftheservertobemonitored.
Anyresolvablenamemaybeused.
TheDebugleveldefaultsto0–meaningnodebugging.
Youcanmovetheslidertotherighttoenabledebuggingandconfigurehowmuchinformationtolog.
Level1providesforerrorsonly.
Thelogfilewillbeappendedtointhecurrentworkingfolder.
Thepollingintervaldefaultsto1second.
Movetheslidertotherighttoslowdownpoling.
ThethreeConfigurationitemsarewrittentotheHKEY_CURRENT_USERhive.
Figure1-ConfigureScreenHyperV_MonrequiresaccesstotheWMIprovidersoftherootpartitionofthetargetmachine.
Thiscanprovetobeaproblemunlessthemachine(anduseraccountyouarerunningunder)thattheGUIisonisinthesamedomainastheRootPartition.
SeetheblogofMicrosoft'sJohnHowardhttp://blogs.
technet.
com/jhoward/default.
aspx(especiallyHyper-VRemoteManagementParts1-5)ifyouarehavingdifficulty.
Basically,ifyoucanrunwbemtestonyourclientmachineandconnecttotherootpartitionmachineyouwillbegoodtogo.
UsingTheToolFigure2showsanexampleoftheGUIinaction.
Atthebottomlayerofthedisplayisthehardware.
Notmuchtotalkaboutthere.
Itdoesn'tmatterwhatyourhardwarelookslike,thegraphicwilllooklikea1Urackserverfrommylab.
Someinformationisdisplayedidentifyingthehardware.
ThenextlayerupistheHypervisor.
OnlyMicrosoftHyper-V,andHyper-VR2aresupported.
Thenumberof"LogicalCPU"physicallyinstalledisdetectedanddepicted.
ActualCPUusageatthephysicallayerisreported.
Inourcase,thiswasasinglequad-coreprocessor.
Intheexample,almostalloftheCPUisrelatedtoGuestusageandisshowninalightershadeofgreen.
CPUusagetiedtoHypervisorFigure2-ASampleoftheGUIinAction!
callsisshownattheloweredgeinadarkergreencolor.
ItiseasiesttothinkoftheHypervisorcallsas"hypervisoroverhead",althoughtechnicallysomeofthat"overhead"isprocessingthatwouldhavebeenperformedtheguestwasonrawmetalhardware.
Thelast60intervalmeasurementsaredisplayed(1secondeach,bydefault)withthemostrecentintervaldisplayedontherightofthegraph.
Thebluespline(curvyline)representsarunninglongertermaverage(eachdotdepictsthemostrecent60-intervalaveragetotalCPUatthetimeoftheinterval)fortrending.
AbovetheHypervisorlayerthedisplayhastwomajorparts,situatedleftandright.
OntheleftistheRootPartitionOS.
ThisistypicallywhereyourServerCoreisrunning.
Intheexamplethiswasafullblown2008withAD,DNS,IIS,TerminalServices,andahostofotherthingstobeinteresting.
TheRootPartitionhas"VirtualProcessors",andHyper-Vwillsupplyoneforoneforeach"LogicalProcessor"intheHypervisor.
TheHypervisorwillscheduletheRootPartitionvirtualprocessors(alongwithguestvirtualprocessors)intologicalprocessorsasitseesfit.
Thinkofthisasround-robinscheduling.
IfranasinglethreadedappontherootpartitionandusedprocessoraffinitywithintheRootpartitionOS,youwouldseealloftheCPUforthatapprunninginoneoftherootpartitionvirtualprocessors–justasyouwouldseefromthetaskmanagerinsidetherootpartition.
ButlookingattheHypervisorlayeryouwillseethattheloadwasactuallyspreadoutamongthelogicalprocessors!
Figure3-ExampleshowingHypervisorcallsOntheright,intheyellowarea,aretheactiveGuestVirtualMachines.
ThesealsohaveVirtualProcessors.
BoththeRootPartitionandGuestVMsvirtualprocessordisplaysshowCPUusagebrokenbetweenappropriateOSandHypervisorusage.
SeeFigure3foranexampleofthisYoushouldnotethatthetaskmanagerinsideguestOSmachineslies.
Thisisn'tthetaskmanager'sfault.
IntheexampleshowninFigure3,theWindowsTaskManagerwithintheguestoswouldbeshowing100%CPUutilizationwhereoursnapshotshowsonly90%.
Microsoftreferstothisasclockslew,butbasicallytheHypervisorispullingtherugoutfromundertheOS'snose(de-schedulingthevirtualprocessor)andtheOSdoesn'tknowit.
Thisiswhywemustpullinformationoutofthehypervisortoknowwhatisreallygoingon.
AlsonotehowtheheavyprocessinginsideofoneVMisbeingspreadbetweenmultiplevirtualprocessors.
ThiswilloccurevenifprocessoraffinityisusedintheVM,asisintheexampleFigure4.
Inthiscase,afullyconsumingsinglethreadedprocessstartedintheVMw7Beta-9-1,adual-processorVM.
Afterrunningforabout10seconds,weappliedprocessoraffinitytothesingle-threadedprocessFigure4-ExamplewithProcessorAffinityinsidetheVM,assigningitto(virtual)processor0.
AscanbeseenintheVMgraphs,theloadchangesfrombeingsplitbetweentheVMsvirtualprocessorstoconsumingonlyvirtualprocessor0,andyetatthehypervisorlevelweseenoeffectontheloadingofphysical(logical)processors.
ThishasimplicationsonrunningHyper-VonaNUMA(Non-UniformMemoryAccess)system.
IfyouareusingaNUMAhardwareplatformyoumightwanttoconsiderreadinguponappropriatetechniquestoassociateVMsandVMmemorytospecificNUMAgroups(c.
f.
"WindowsServer2008Hyper-VResourceKit",MicrosoftPress).
Withthistool,itiseasytounderstandwhyWindowsXPandearlierOSssignificantlyunderperformsonHyper-VincomparisontoWindowsServer2003,orVista,orabove.
Youwillseesignificantlymorehypervisor"overhead"processingwiththeolderoperatingsystemsbecauseMicrosoftmademodificationstotheneweroperatingsystemstobehypervisor(andprocessorVT)aware.
ThosenewerOSsdonotdisplaysuchbehavior.
Itisallintheenlightenments!
Inmysetup,itiscommontoseeheavyhypercallCPUusagewithheavyIOusageintheXPVMsasisseeninFigure5.
TheamountofoverheadyouseewithWindowsXPisnotlikelytobeashighasisshowninthisexample.
Thisisunderinvestigation(theremaybeaCPU/chiprevisionlevelinvolvedinmysetup),andiswhyImadethistoolinthefirstplace!
Figure5-WindowsXPHypervisorLoadExampleNewStuffInadditiontomakingthegraphsshowhistoricalinformationandtherollingaverageblueline,youcannowhoverthemouseoverbothgraphsandthemanytextsectionstoseemoredetailinformationin"tooltips".
Memoryrelatedinformationhasbeenadded,bothfortherootpartitionandtheVMs(whenWMI/RPCaccessisallowed).
ThisinformationisfocusedonthreekeyvaluestohelpyoudecideifyouhavetoomuchortoolittlememoryinstalledintheVM.
InstallindicatesthenumberofMegabytesphysicallyinstalledinthecaseoftherootpartition,orallocatedtotheVMinthecaseofVMs.
Availablememoryistheportionoftheinstalledmemoryconsidered"available"bytheOS(thetechnicaldefinitionofavailablememoryvariesinsomeOSs,butconsideritasmemoryavailabletoanapplicationondemandwithoutrequiringexistingmemorytobepagedout).
NotethatMemoryallocatedtorunningVMsarealsoshownasconsumedmemoryinthehostpartitionOS.
ThehostandVMpartitionsalsoshowthekeystatistic"PgIn/S".
Thisrepresentsthenumberofbytespersecondreadinfromthediskduetohardpagefaults.
Heavypagingactivityinthiscounterindicatestheneedformorememory.
Finally,someFileandTCPI/Ocountershavebeenaddedtotherootpartitiondisplay.
FileandnetworkI/Otogetherrepresentthethirdmajorperformanceconcernfortheserver(afterCPUandMemory).
LegaleseTheproductisfree;hasnosupport;isnotwarrantedforanyuse.
Feedbackisencouraged.
Giftsacceptedgratefully.
搬瓦工最新优惠码优惠码:BWH3HYATVBJW,节约6.58%,全场通用!搬瓦工关闭香港 PCCW 机房通知下面提炼一下邮件的关键信息,原文在最后面。香港 CN2 GIA 机房自从 2020 年上线以来,网络性能大幅提升,所有新订单都默认部署在香港 CN2 GIA 机房;目前可以免费迁移到香港 CN2 GIA 机房,在 KiwiVM 控制面板选择 HKHK_8 机房进行迁移即可,迁移会改变 IP...
触碰云怎么样?触碰云是一家成立于2019年的商家。触碰云主营香港/美国 VPS服务器、独立服务器以及免备案CDN。采用的是kvm虚拟构架,硬盘Raid10,Cn2线路,去程电信CN2、移动联通直连,回程三网CN2。最低1核1G带宽1M仅20.8元/月,不过这里推荐香港4核4G15M,香港cn2 gia线路云服务器,仅115.2元/月起,性价比还是不错的。点击进入:触碰云官方网站地址触碰云优惠码:优...
提速啦(www.tisula.com)是赣州王成璟网络科技有限公司旗下云服务器品牌,目前拥有在籍员工40人左右,社保在籍员工30人+,是正规的国内拥有IDC ICP ISP CDN 云牌照资质商家,2018-2021年连续4年获得CTG机房顶级金牌代理商荣誉 2021年赣州市于都县创业大赛三等奖,2020年于都电子商务示范企业,2021年于都县电子商务融合推广大使。资源优势介绍:Ceranetwo...
hyper-v为你推荐
老虎数码1200万相素的数码相机都有哪些款?大概价钱是多少?罗伦佐娜罗拉芳娜 (西班牙小姐)谁可以简单的介绍以下777k7.comwww 地址 777rv怎么打不开了,还有好看的吗>com51sese.com谁有免费电影网站51sese.com谁有免费看电影的网站?www.kanav001.com长虹V001手机小游戏下载的网址是什么www.zjs.com.cn我的信用卡已经申请成功了,显示正在寄卡,怎么查询寄卡信息?www.vtigu.com如图,已知四边形ABCD是平行四边形,下列条件:①AC=BD,②AB=AD,③∠1=∠2④AB⊥BC中,能说明平行四边形baqizi.cc誰知道,最近有什麼好看的電視劇www.97yes.comwww.moyigui88.com是不是一个好网站呢
网站域名空间 重庆服务器租用 2019年感恩节 fastdomain 美国翻墙 linode suspended 鲜果阅读 淘宝双十一2018 圣诞节促销 hnyd cdn联盟 lol台服官网 qq云端 中国电信测速网 绍兴电信 台湾google 东莞主机托管 永久免费空间 双线空间 更多