VMware Cloud Community
brettcw23
Contributor
Contributor
Jump to solution

VMs per host and physical RAM?

I'm a little confused on the topic of host physical memory and how many guest OS's you can run based on the hosts physical memory. If I have 16GB installed on my ESX server, how much can I allocate total to my virtual machines? What does ESX use? I also understand that the more "like"guests (all windows or all UNIX) that you have, the better memory utilization. Can anyone explain that concept? Not trying to be lazy, so if there's a document I miseed, please shoot me a link! Thanks all.

0 Kudos
1 Solution

Accepted Solutions
alanrenouf
VMware Employee
VMware Employee
Jump to solution

The basics of it are that ESX needs a little amountof memory for the service console and then all other memory is free for your machines, the VM's will only use the amount of memory that they are actually using rather than say the 2gb that you give it.

Vmware also uses memory sharing in that common memory instructions will be shared by hosts so as you say all the common memory instructions for all windows machines will be shared, making more ram available.

Thats the very basics of it, im sure someone will add all the bells and whistles!

If you found this information useful, please consider awarding points for Correct or Helpful.

Alan Renouf

VMware, Citrix, Microsoft Consultant

UK

Blog: http://virtu-al.net Twitter: http://twitter.com/alanrenouf Co-author of the PowerCLI Book: http://powerclibook.com

View solution in original post

0 Kudos
5 Replies
alanrenouf
VMware Employee
VMware Employee
Jump to solution

The basics of it are that ESX needs a little amountof memory for the service console and then all other memory is free for your machines, the VM's will only use the amount of memory that they are actually using rather than say the 2gb that you give it.

Vmware also uses memory sharing in that common memory instructions will be shared by hosts so as you say all the common memory instructions for all windows machines will be shared, making more ram available.

Thats the very basics of it, im sure someone will add all the bells and whistles!

If you found this information useful, please consider awarding points for Correct or Helpful.

Alan Renouf

VMware, Citrix, Microsoft Consultant

UK

Blog: http://virtu-al.net Twitter: http://twitter.com/alanrenouf Co-author of the PowerCLI Book: http://powerclibook.com
0 Kudos
mike_laspina
Champion
Champion
Jump to solution

Hi,

I found this article to be helpful.

http://blog.laspina.ca/ vExpert 2009
alanrenouf
VMware Employee
VMware Employee
Jump to solution

And another...

http://www.vmware.com/pdf/esx3_memory.pdf

If you found this information useful, please consider awarding points for Correct or Helpful.

Alan Renouf

VMware, Citrix, Microsoft Consultant

UK

Blog: http://virtu-al.net Twitter: http://twitter.com/alanrenouf Co-author of the PowerCLI Book: http://powerclibook.com
0 Kudos
jayolsen
Expert
Expert
Jump to solution

Might want to give this a read.

0 Kudos
weinstein5
Immortal
Immortal
Jump to solution

alan pretty much hit on the head - the total count of vm per host is going to depend on what physical resources are consuming - typically as part of migrating from physical to virtual you measure how much memory, cpu, network and disk the machines use in the physical world - you than translate that to the resource for the vmkernel - remebering that there is transparent page sharing going on you and alan describe that will economize on memory -

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful