I ran into a strange issue today, a host was consuming way to much of RAM while running a single VM running on it. And that single VM was only configured with half of the RAM of the host?!? After some basic troubleshooting a colleague (thanks Satish) pointed me to the KB article KB2113954 which explained the issue.

vSAN Memory

The host in question was configured with 128GB of RAM and had 4 disk groups with 7 large capacity disks. If you do the math it required 48GB of RAM to run this vSAN configuration. In other words, it explained what we saw! vSAN was gobbling up more RAM than was anticipated!

To calculate vSAN memory consumption you use this equation:

BaseConsumption + (NumDiskGroups * (DiskGroupBaseConsumption + (SSDMemOverheadPerGB * SSDSize))) + (NumCapacityDisks * CapacityDiskBaseConsumption)

Easy right? Well let me make it even easier for you:
 

vSAN Memory Consumption Calculator

form_structure_1=[[{"form_identifier":"","name":"fieldname5","shortlabel":"","index":0,"ftype":"fradio","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"vSAN Type","layout":"one_column","required":false,"toSubmit":"text","choiceSelected":"Hybrid - 8","showDep":false,"untickAccepted":true,"choices":["Hybrid","All Flash"],"choicesVal":["8","14"],"choicesDep":[[],[]],"fBuild":{},"parent":""},{"form_identifier":"","name":"fieldname2","shortlabel":"","index":1,"ftype":"fnumber","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"Number of Disk Groups","predefined":"1","predefinedClick":false,"required":false,"readonly":false,"size":"small","thousandSeparator":"","decimalSymbol":".","min":"1","max":"5","formatDynamically":false,"dformat":"digits","formats":["digits","number"],"fBuild":{},"parent":""},{"form_identifier":"","name":"fieldname4","shortlabel":"","index":2,"ftype":"fnumber","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"Size of SSD in GB (Note: The size of the SSD for all flash is capped at 600GB)","predefined":"600","predefinedClick":false,"required":false,"readonly":false,"size":"small","thousandSeparator":"","decimalSymbol":".","min":"1","max":"10000","formatDynamically":false,"dformat":"digits","formats":["digits","number"],"fBuild":{},"parent":""},{"form_identifier":"","name":"fieldname6","shortlabel":"","index":3,"ftype":"fnumber","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"Number of Capacity Disks per Disk Group","predefined":"3","predefinedClick":false,"required":false,"readonly":false,"size":"small","thousandSeparator":"","decimalSymbol":".","min":"1","max":"7","formatDynamically":false,"dformat":"digits","formats":["digits","number"],"fBuild":{},"parent":""},{"form_identifier":"","name":"fieldname7","shortlabel":"","index":4,"ftype":"fSectionBreak","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"","fBuild":{},"parent":""},{"dependencies":[{"rule":"","complex":false,"fields":[""]}],"form_identifier":"","name":"fieldname1","shortlabel":"","index":5,"ftype":"fCalculated","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"Required Memory for vSAN in MB","predefined":"","required":false,"size":"small","toolbar":"default|mathematical","eq":"5426+(fieldname2*(636+(fieldname5*fieldname4)))+((fieldname2*fieldname6)*70)","suffix":"","prefix":"","decimalsymbol":".","groupingsymbol":"","readonly":true,"hidefield":true,"fBuild":{},"parent":""},{"dependencies":[{"rule":"","complex":false,"fields":[""]}],"form_identifier":"","name":"fieldname8","shortlabel":"","index":6,"ftype":"fCalculated","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"Required Memory for vSAN in GB","predefined":"","required":false,"size":"small","toolbar":"default|mathematical","eq":"prec((5426+(fieldname2*(636+(fieldname5*fieldname4)))+((fieldname2*fieldname6)*70))/1024, 0)","suffix":"","prefix":"","decimalsymbol":".","groupingsymbol":"","readonly":true,"hidefield":false,"fBuild":{},"parent":""}],{"0":{"title":"","description":"","formlayout":"top_aligned","formtemplate":"","evalequations":1,"autocomplete":1,"persistence":0,"customstyles":"","evalequationsevent":2},"formid":"cp_calculatedfieldsf_pform_1"}];

Note: In the vSAN 6.2 and 6.6 releases, encryption and deduplication features have no impact on memory consumption.

The post vSAN Memory Consumption Calculator appeared first on vMBaggum.

The original article was posted on: www.vmbaggum.nl

Related articles

  • Cloud Native
  • Application Navigator
  • Kubernetes Platform
  • Digital Workspace
  • Cloud Infrastructure
  • ITTS (IT Transformation Services)
  • Managed Security Operations
  • Multi-Cloud Platform
  • Backup & Disaster Recovery
Visit our knowledge hub
Visit our knowledge hub
ITQ

Let's talk!

Knowledge is key for our existence. This knowledge we use for disruptive innovation and changing organizations. Are you ready for change?

"*" indicates required fields

First name*
Last name*
Hidden