Dynamic Memory shows wrong numbers and as such doesn't work...
hello all,
have quite lot performance issues on hyper-v 2012 cluster. have enabled dynic memory vm's, have idea not working, or maybe contra-productive.
see following: when copying large file network "local" disk of vm (disk running on iscsi volume attached hosts), first couple of gb's going fine. @ once, memory filled (the memory graph in taskmgr increases liniar 100% usage. vm becomes unresponsive , copy slows down 115 mb/s 100 kb/s.
dynamic memory comes in: amount of memory see in host startup memory (in case 6 gb). not increase, though there enough mem free on host , max memory set to, let's show values:
ps c:\users\superadmin> get-vm sp0002-003 | refresh-vm | ft name,vmaddition,memory,memoryassignedmb,dynamicmemorybu
fferpercentage,dynamicmemorydemandmb,dynamicmemoryenabled,dynamicmemorymaximummb,dynamicmemoryminimummb,dynamicmemorysta
tus
name vmaddition memory memoryassig dynamicmemo dynamicmemo dynamicmemo dynamicmemo dynamicmemo dynamicmemo
nedmb rybufferper rydemandmb ryenabled rymaximummb ryminimummb rystatus
centage
---- ---------- ------ ----------- ----------- ----------- ----------- ----------- ----------- -----------
sp0002-0... 6.2.9200... 6144 3238 200 1133 true 40960 2048 ok
see dynamicmemorydemand 1133. in vm, memory usage 98% of 6gb!
why not matching? please me troubleshoot this.
regards,
stephan van der plas
host:
ps c:\users\superadmin> get-vmhost iict-srv008
runasaccount : superadmin
mostrecenttaskid : 4248ffc7-f65a-4308-95b1-00b44a25afeb
mostrecenttaskuistate : completed
mostrecenttask : refresh virtual machine properties
overallstatestring : ok
overallstate : ok
communicationstatestring : responding
communicationstate : responding
name : iict-srv008.contoso.local
fullyqualifieddomainname : iict-srv008.contoso.local
computername : iict-srv008
domainname : contoso.local
description :
remoteusername :
overridehostgroupreserves : false
cpupercentagereserve : 10
networkpercentagereserve : 0
diskspacereservemb : 10240
maxdiskioreservation : 10000
memoryreservemb : 2048
vmpaths : {\\?\volume{f614820c-f7f5-11e1-b1cb-90e6ba0d09c5}\, c:\clusterstorage\volume1,
c:\clusterstorage\volume2, c:\clusterstorage\volume3}
proenabled : false
maintenancehost : false
availableforplacement : true
isembedded : false
credentialsneeded : false
logicalprocessorcount : 8
physicalcpucount : 1
corespercpu : 8
l2cachesize : 0
l3cachesize : 0
busspeed : 133
processorspeed : 2533
processormodel : xeon
processormanufacturer : intel
processorarchitecture : 9
processorfamily : 179
cpuutilization : 7
totalmemory : 51530297344
availablememory : 20069
operatingsystem : microsoft hyper-v server 2012
operatingsystemversion : 6.2.9200
dvddrives :
dvddrivelist : {}
virtualizationplatformstring : microsoft hyper-v
virtualizationplatform : hyperv
virtualizationplatformdetail : microsoft hyper-v
isvirtualizationsoftwaredetailunknown : false
isviridianhost : true
supportslivemigration : true
floppydrives :
floppydrivelist : {}
vmhostgroup : hosts\iict\ddc
hostcluster : iict-hyp-001.contoso.local
remoteconnectenabled : true
remoteconnectport : 2179
secureremoteconnectenabled : false
vmrccertificateavailable : false
enablelivemigration : true
livemigrationmaximum : 2
livestoragemigrationmaximum : 2
useanymigrationsubnet : false
migrationsubnet : {fe80::34c1:597c:f7ec:5ff/128, 10.100.0.201/32, 10.127.0.23/32, 10.128.0.18/32.
..}
migrationauthprotocol : credssp
ssltcpport : 5985
sslcertificatehash :
sshtcpport : 0
sshpublickeyhash :
sshpublickey :
isremotefxroleinstalled : false
iscpuslat : true
isnumaspanningenabled : true
gpumemorytotalmb :
gpumemoryavailablemb :
clusternodestatus : running
timezone : 60
hypervstate : running
hypervstatestring : running
hypervversion : 6.2.9200.16384
hypervversionstate : uptodate
perimeternetworkhost : false
nontrusteddomainhost : false
maximummemorypervm : 1048576
minimummemorypervm : 8
suggestedmaximummemorypervm : 512
modifiedtime : 27-2-2013 11:01:09
agent : iict-srv008.contoso.local
managedcomputer : iict-srv008.contoso.local
vms : {iict-srvp00-005, iict-srvp00-010, iict-srvp00-015, iict-sp0002-005...}
disks : {\\.\physicaldrive2, \\.\physicaldrive0, \\.\physicaldrive1, \\.\physicaldrive4
...}
gpus : {}
installedvirtualswitchextensions : {microsoft vmm dhcpv4 server switch extension, microsoft windows filtering plat
form, microsoft virtual ethernet switch native extension, microsoft ndis captur
e}
diskvolumes : {c:\clusterstorage\volume1, \\?\volume{7a6a8259-07d2-11e2-b1c9-806e6f6e6963}\,
c:\clusterstorage\volume3, c:\...}
registeredstoragefileshares : {}
fibrechannelhbas : {}
sashbas : {}
internetscsihbas : {root\iscsiprt\0000_0}
vmwareresourcepool :
isconfiguredforoutofbandmanagement : false
physicalmachine : f43ba4b0-d804-11dd-937e-53d2c25da7bf
healthmonitors : {network, hyper-v role overall, wmi performance counter, overall...}
remotestoragetotalcapacity : 33223197026304
remotestorageavailablecapacity : 31444639604736
localstoragetotalcapacity : 0
localstorageavailablecapacity : 0
totalstoragecapacity : 33223197026304
availablestoragecapacity : 31444639604736
usedstoragecapacity : 1778557421568
custom1 :
custom2 :
custom3 :
custom4 :
custom5 :
custom6 :
custom7 :
custom8 :
custom9 :
custom10 :
customproperty : {}
fibrechannelsanstatus : deploytargetdoesnothavehba (1204)
iscsisanstatus : deployhostdoesnothavempio (1253)
npivfibrechannelsanstatus : deployhostisnotnpivcapable (1252)
certificaterequest :
computerstate : responding
virtualizationmanager :
serverconnection : microsoft.systemcenter.virtualmachinemanager.remoting.serverconnection
id : fc26e436-bd3d-444d-a412-5f91636f8e23
isviewonly : false
objecttype : vmhost
markedfordeletion : false
isfullycached : true
mostrecenttaskiflocal : refresh virtual machine properties
fqdn : iict-srv008.contoso.local
logicalcpucount : 8
cpuspeed : 2533
cpumodel : xeon
cpumanufacturer : intel
cpuarchitecture : 9
cpufamily : 179
vmrcenabled : true
vmrcport : 2179
securevmrcenabled : false
virtualserverstate : running
virtualserverstatestring : running
virtualserverversion : 6.2.9200.16384
virtualserverversionstate : uptodate
servicingwindows :
vm:
ps c:\users\superadmin> get-vm iict-sp0002-003
vmcpath : c:\clusterstorage\volume1\sp0002-003\sp0002-003\virtual machines\4dbff8
da-0b44-40ba-993a-e4b5317181d0.xml
markedastemplate : false
owneridentifier :
vmid : 4dbff8da-0b44-40ba-993a-e4b5317181d0
vmresourcegroup : sp0002-003
vmconfigresource : virtual machine configuration sp0002-003
vmconfigresourcestatus : clusterresourceonline
vmresource : virtual machine sp0002-003
vmresourcestatus : clusterresourceonline
diskresources : {}
unsupportedreason : success (0)
refreshererrors : {}
virtualmachinestate : running
hostgrouppath : hosts\iict\ddc\sp0002-003
totalsize : 222316801024
memoryassignedmb : 3044
memoryavailablepercentage : 66
dynamicmemorydemandmb : 1034
dynamicmemorystatus : ok
allocatedgpu :
haspassthroughdisk : false
status : running
isorphaned : false
hassavedstate : false
statusstring : running
startaction : neverautoturnonvm
stopaction : savevm
runguestaccount :
delaystart : 0
cpuutilization : 0
perfcpuutilization : 0
perfmemory : 3044
perfdiskbytesread : 376305
perfdiskbyteswrite : 4362892
perfnetworkbytesread : 749261
perfnetworkbyteswrite : 17945
virtualizationplatform : hyperv
computernamestring : sp0002-003.child.contoso.local
creationsource : unknown source object
isundergoinglivemigration : false
sourceobjecttype : unknown source object
operatingsystemshutdownenabled : true
timesynchronizationenabled : true
dataexchangeenabled : true
heartbeatenabled : true
backupenabled : true
excludefrompro : false
failedjobid :
checkpointlocation : c:\clusterstorage\volume1\sp0002-003\sp0002-003
selfserviceuserrole :
passthroughdisks : {}
computertier :
upgradedomain :
scapplications : {}
lastrestoredcheckpointid : 4dbff8da-0b44-40ba-993a-e4b5317181d0
lastrestoredvmcheckpoint :
compliancestatus :
isfaulttolerant : false
deploymenterrorinfo :
servicedeploymenterrormessage :
deploymentstate : undeployed
tieredperfdata : 14a76033-38ea-4c56-938e-9224db0a6854
replicationsetting :
replicationstatus :
isrecoveryvm : false
isprimaryvm : false
istestreplicavm : false
isdrenabled : false
drstate : disabled
drerrors : {}
hasdrerror : false
clusternonpossibleowner : {}
clusterpreferredowner : {}
availabilitysetnames :
mostrecenttaskid : b944b719-8d49-40c2-abc9-2d9a7412bcee
mostrecenttaskuistate : completed
mostrecenttask : refresh virtual machine
location : c:\clusterstorage\volume1\sp0002-003\sp0002-003
creationtime : 25-2-2013 17:22:07
operatingsystem : 64-bit edition of windows server 2008 r2 standard
hasvmadditions : true
vmaddition : detected
numlockenabled : false
cpucount : 4
ishighlyavailable : true
havmpriority : 2000
isdrprotectionrequired : false
limitcpufunctionality : false
limitcpuformigration : true
memory : 6144
dynamicmemoryenabled : true
dynamicmemorymaximummb : 40960
dynamicmemorybufferpercentage : 200
memoryweight : 5000
virtualvideoadapterenabled : false
monitormaximumcount :
monitorresolutionmaximum :
bootorder : {cd, ideharddrive, pxeboot, floppy}
computername : sp0002-003.child.contoso.local
usehardwareassistedvirtualization : true
sanstatus : {deployvmonclustersharedvolume (1291)}
costcenter :
quotapoint : 1
istagempty : false
tag : (none)
customproperties : {, , , ...}
customproperty : {}
undodisksenabled : false
cputype : 3.60 ghz xeon (2 mb l2 cache)
expectedcpuutilization : 20
diskio : 0
networkutilization : 0
relativeweight : 100
cpureserve : 0
cpumax : 100
cpupervirtualnumanodemaximum : 8
memorypervirtualnumanodemaximummb : 45550
virtualnumanodespersocketmaximum : 1
dynamicmemoryminimummb : 2048
numaisolationrequired : false
virtualdvddrives : {sp0002-003}
virtualharddisks : {2008 r2 standard sp1_disk_1, sp0002-003_disk_1}
virtualdiskdrives : {sp0002-003, sp0002-003}
sharescsibus : false
virtualnetworkadapters : {sp0002-003}
virtualfloppydrive : sp0002-003
virtualcomports : {com1, com2}
virtualscsiadapters : {sp0002-003}
capabilityprofile :
capabilityprofilecompatibilitystate : compatible
vmcheckpoints : {}
hostid : fc26e436-bd3d-444d-a412-5f91636f8e23
hosttype : vmhost
hostname : srv008.contoso.local
vmhost : srv008.contoso.local
libraryserver :
cloudid :
cloud :
librarygroup :
grantedtolist : {}
userroleid : 00000000-0000-0000-0000-000000000000
userrole :
owner :
objecttype : vm
accessibility : public
name : sp0002-003
isviewonly : false
description :
addedtime : 25-2-2013 17:22:07
modifiedtime : 27-2-2013 10:52:39
enabled : true
serverconnection : microsoft.systemcenter.virtualmachinemanager.remoting.serverconnection
id : 14a76066-38ea-4c56-938e-9224db0a6854
markedfordeletion : false
isfullycached : false
mostrecenttaskiflocal : refresh virtual machine
servicingwindows :
you know you're engineer when have no life , can prove mathematically
not sure, sounds issue occurs when using dynamic memory sql (http://technet.microsoft.com/en-us/library/hh372970.aspx). bottom line solution sql limit maximum amount of ram used sql within sql instead of letting sql grab thought could. files copies similar. automatically use 'excess' memory buffer/cache space.
have tried setting maximum amount of ram vm lower value, value of maximum size want vm ever grow? i'm not clear explanation, sounds said host has 6 gb of memory, yet have virtual machine set expand 40gb. possibly happening that, since vm thinks has 40 gb, keeps grabbing memory buffer space. reaches limit of host , sorts of memory management kicks in, system working on memory management tasks instead of want do. i'm not saying happening, first step lower maximum size of vm.
.:|:.:|:. tim
Windows Server > Hyper-V
Comments
Post a Comment