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.

[黑五]ProfitServer新加坡/德国/荷兰/西班牙VPS五折,不限流量KVM月付2.88美元起

ProfitServer已开启了黑色星期五的促销活动,一直到本月底,商家新加坡、荷兰、德国和西班牙机房VPS直接5折,无码直购最低每月2.88美元起,不限制流量,提供IPv4+IPv6。这是一家始于2003年的俄罗斯主机商,提供虚拟主机、VPS、独立服务器、SSL证书、域名等产品,可选数据中心包括俄罗斯、法国、荷兰、美国、新加坡、拉脱维亚、捷克、保加利亚等多个国家和地区。我们随便以一个数据中心为例...

buyvm迈阿密机房VPS国内首发测评,高性能平台:AMD Ryzen 9 3900x+DDR4+NVMe+1Gbps带宽不限流量

buyvm的第四个数据中心上线了,位于美国东南沿海的迈阿密市。迈阿密的VPS依旧和buyvm其他机房的一样,KVM虚拟,Ryzen 9 3900x、DDR4、NVMe、1Gbps带宽、不限流量。目前还没有看见buyvm上架迈阿密的block storage,估计不久也会有的。 官方网站:https://my.frantech.ca/cart.php?gid=48 加密货币、信用卡、PayPal、...

ZoeCloud:香港BGP云服务器,1GB内存/20GB SSD空间/2TB流量/500Mbps/KVM,32元/月

zoecloud怎么样?zoecloud是一家国人商家,5月成立,暂时主要提供香港BGP KVM VPS,线路为AS41378,并有首发永久8折优惠:HKBGP20OFF。目前,解锁香港区 Netflix、Youtube Premium ,但不保证一直解锁,谢绝以不是原生 IP 理由退款。不保证中国大陆连接速度,建议移动中转使用,配合广州移动食用效果更佳。点击进入:zoecloud官方网站地址zo...

hyper-v为你推荐
网红名字被抢注球星名字被抢注合法合理吗?硬盘工作原理硬盘是如何工作的嘉兴商标注册怎么查商标注册日期原代码什么叫源代码,源代码有什么作用www.jjwxc.net有那个网站可以看书?百度关键词工具百度有关键字分析工具吗?Google AdWords有的8090lu.com8090看看电影网怎么打不开了www.7788dy.comwww.tom365.com这个免费的电影网站有毒吗?5xoy.comhttp://www.5yau.com (舞与伦比),以前是这个地址,后来更新了,很长时间没玩了,谁知道现在的地址? 谢谢,125xx.comwww.free.com 是官方网站吗?
域名邮箱 万网域名查询 提供香港vps 域名备案收费吗 photonvps justhost Vultr java主机 godaddy域名转出 ca4249 e蜗 hostker cdn加速是什么 鲁诺 中国电信宽带测速器 架设邮件服务器 英雄联盟台服官网 沈阳idc japanese50m咸熟 accountsuspended 更多