VMware Communities
melissa7
Contributor
Contributor

Maximum VM on one PC

It is extremelly hard to get any support here.

Long and complicated registering and so on.

And nobody can answer my qustion.

What is the maximum number of VM's which I can run on one PC ?

It is limited by CPU or RAM or HDD?

I have 2Ghz 3core CPU with 3GB of rams and one HDD, but I am unable to run more than 3 Vm's as then the whole workstation crashes, why is that?

THANKS

Reply
0 Kudos
14 Replies
AndreTheGiant
Immortal
Immortal

The number is limited by:

- the total number of core (and type of CPU usage of the VM)

- the RAM (and type of RAM usage of the VM, but also on virtualization layer features)

- the storage (number of datastore, type of RAID, type of disk, ... and type of I/O usage of the VM)

- in same cases also the number of NIC (but depends of type of I/O usage of the VM)

Just to make some examples, I assume to use ESX and have "normal" VM:

- CPU: with 8 core we can run about 32 VM with 1 each vCPU

- RAM: with 16 GB RAM we can run about 32 VM with each 1 GB vRAM

- Storage: on one VMFS datastore we can have 10 - 20 VM

Note that there could also be some hardcode limit. for example in vSphere:

http://www.vmware.com/pdf/vsphere4/r40/vsp_40_config_max.pdf

Andre

Andre | http://about.me/amauro | http://vinfrastructure.it/ | @Andrea_Mauro
Reply
0 Kudos
LucasAlbers
Expert
Expert

It depends on what is the limiting factor on the vms, it depends on the configuration for the vms and there workload.

I would guess your ram.

to start with set your ram allocation ram usage to be = Ram used by OS + RAM used by VMs < ram in the system.

so for starters set your ram to 512 on each vm or less.

Reply
0 Kudos
LucasAlbers
Expert
Expert

i assumed workstation with a windows os host.

Reply
0 Kudos
melissa7
Contributor
Contributor

Thanks so much for reply.

I use 512MB of RAM on hosts, with WIN XP Pro.

3000/500 should be more than 3 😕

Reply
0 Kudos
Ken_Cline
Champion
Champion

First, which VMware product are you using? Since you have XP as your host, I'm assuming either Player, Server or Workstation. Which one and which version?

Ken Cline

VMware vExpert 2009

VMware Communities User Moderator

Blogging at: http://KensVirtualReality.wordpress.com/

Ken Cline VMware vExpert 2009 VMware Communities User Moderator Blogging at: http://KensVirtualReality.wordpress.com/
Reply
0 Kudos
melissa7
Contributor
Contributor

It is Workstation 6.5.2-build 156735

Reply
0 Kudos
Eku2
Contributor
Contributor

Maximum number of VM Workstation is as follows:

1) Do you want the VMs to run as fast as possible. I do, so I set the VMs to run in memory. In addition, I disable memory trimming for the same reason. I especially do not want long delays when I switch between VMs.

2) For the same reason, and for security reasons, I am not using a page file. In addition, the computer I am using has 4GB ram, and PAE has had limited success, so I effectively get 3.5GB.

3) Most of the VMs now have 520MB ram allocated. 256MB is insufficient to run Win XP + firefox + Java. (Yup, we are not even talking about going to a web page; not my idea of progress). Likewise Office 2007 cannot run reliably in 256MB. I also turn off page files within the VMs. This is to control the size of snapshots and also prevent random long delays when switching applications.

So, given the above, how many VMs?

Well, a lot less than you would expect, 4 in this case.

Here is why;

First VM is split into 2 programs, one than provides all the menus for VM (vmware.exe) and one that runs the guest (vmware-vms.exe). Just providing the window and menus takes 124MB to 175MB. The actual guest then needs about 1.5 x the ram allocaed to the guest. I generally run each guest in a seperate session; again, partly for security, and party for ease of switching between applications:

520 MB guest requires 805 MB in the host

400 MB guest requires 673 MB in the hos

352 MB requires 515 MB

256 MB requires 405 MB

This suprised me, I was not expecting VM ware to allocate much more than the guest requires. I have to say I'm disapointed. Also, the excessive memory requirements of modern programs seems a step in the wrong direction.

Reply
0 Kudos
melissa7
Contributor
Contributor

So the problem is low RAM in my PC?

It is actually 4GB, but 32bit WIN is limiting it to 3.2GB or so (not sure)

I would be happy for 4 VMs at one time, all I need is a winxpjavafirefox too Smiley Happy

Reply
0 Kudos
Ken_Cline
Champion
Champion

Moved to VMware Workstation forum where you'll get a much broader audience for your question.

Ken Cline

VMware vExpert 2009

VMware Communities User Moderator

Blogging at: http://KensVirtualReality.wordpress.com/

Ken Cline VMware vExpert 2009 VMware Communities User Moderator Blogging at: http://KensVirtualReality.wordpress.com/
Reply
0 Kudos
Eku2
Contributor
Contributor

So to rephrase what I said above:

Without paging, and other tricks such as trimming, the maximum number of VMs that could definitely be run is:

Total system RAM >

I would really like to know why the first multiplier is 1.7. Also, the vmware.exe application that provides the menus for a running VM seems a little excessive at 160MB.

Eku2.

Reply
0 Kudos
dkelloway
Contributor
Contributor

I learned the hard way that on a system with 8GB of memory running a Quad Core CPU, there's a limit to the number of VM's you may run. In fact, on a Windows host, it's 24 vm's and on a Linux Host, it's 64.

Reply
0 Kudos
newbie93
Hot Shot
Hot Shot

I learned the "hard" way when Workstation moved from version 6.0.x to 6.5.x that when running Windows vms, if DirectX support is enabled for that vm, add 128MB of overhead per each vm. So I effectively lost the ability to run an entire vm on my machine just by moving to version 6.5.x. I used to run (5) 512MB vms with version 6.0.x. With 6.5.x, I can only run a total of 4 now in 3.25 GB of available ram. On the positive side, I've gotten used to it. For the most part, if you can live with the increased ram overhead and the lower network performance of 6.5.x, the bug fixes and additional support work. I can live with the ram overhead, but the network I/O performance decrease is disappointing. Note: I have not checked this in the latest 6.5.3 so it may not apply.

Reply
0 Kudos
RDPetruska
Leadership
Leadership

@newbie: You can disable the 3d graphics for your virtual machines and regain that 128MB (well, 124 of it as I believe the default video ram size is 4 MB) from each VM, even running under 6.5.x

Reply
0 Kudos
mbeierl
Enthusiast
Enthusiast

Smiley Happy

But that still does not explain why VMware appears to need nearly double the amount of memory (multiplier of 1.7). I had posted about this some time back too, and never did receive an answer...

Reply
0 Kudos