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.
WordPress经典外贸企业建站主题,经典配色扁平化简约设计+跨屏自适应移动端设备,特色外贸企业建站功能模块+在线Inquiry询单功能,更有利于Google等英文搜索优化和站点收录。采用标准的HTML5+CSS3语言开发,兼容当下的各种主流浏览器: IE 6+(以及类似360、遨游等基于IE内核的)、Firefox、Google Chrome、Safari、Opera等;同时支持移动终端的常用...
国外商家提供Windows系统的并不常见,CheapWindowsVPS 此次提供的 2 款 VPS 促销套餐,提供 5 折永久优惠码,优惠后月付 4.5 美元起,价格还是挺诱人的,VPS 不限流量,接入 1Gbps 带宽,8 个机房皆可选,其中洛杉矶机房还提供亚洲优化网络供选择,操作系统有 Windows 10 专业版、2012 R2、2016、Linux等。Cheap Windows VPS是...
对于如今的云服务商的竞争着实很激烈,我们可以看到国内国外服务商的各种内卷,使得我们很多个人服务商压力还是比较大的。我们看到这几年的服务商变动还是比较大的,很多新服务商坚持不超过三个月,有的是多个品牌同步进行然后分别的跑路赚一波走人。对于我们用户来说,便宜的服务商固然可以试试,但是如果是不确定的,建议月付或者主力业务尽量的还是注意备份。HostYun 最近几个月还是比较活跃的,在前面也有多次介绍到商...
hyper-v为你推荐
刘祚天DJ这个职业怎么样?www.zjs.com.cn怎么查询我的平安信用卡寄送情况www.hhh258comwww.tx88d.com 有这个网站吗?m88.comwww.m88.com现在的官方网址是哪个啊 ?www.m88.com怎么样?www.1diaocha.com请问网络上可以做兼职赚钱吗?现在骗子比较多,不敢盲目相信。请大家推荐下www.diediao.com这是什么电影www.xvideos.com请问www.****.com.hk 和www.****.com.cn一样吗?222cc.com怎样开通网站啊www.28.cn351234网址导航好不好?猴山条约游猴山,观猴子
cc域名 winhost mediafire下载 godaddy支付宝 网通服务器ip 国外在线代理 徐正曦 爱奇艺vip免费试用7天 美国免费空间 息壤代理 爱奇艺vip免费领取 中国电信宽带测速器 河南移动梦网 上海电信测速 域名转入 supercache 腾讯数据库 什么是dns 建站行业 美国vpn服务器 更多