Link to home
Start Free TrialLog in
Avatar of Los Angeles1
Los Angeles1

asked on

VMWare, Performance (with only one VM on a machine)

In a situation where there is one, and only one VM on a machine, are you relieved from having to worry about assigning too many vCPUs to a VM

If I only have a single VM, can I simply assign all more cores to the VM and go, since the scheduler does not have to swap processors until they are available ?

Same with memory, if I only have a single VM, can I assign it all the memory, or evern half the memory, without worrying about swapping ?
Avatar of thomasdavis
thomasdavis
Flag of United States of America image

If your asking if you can assign all the memory and cpu's to one vm on a vm host the answer is yes.
Yes, but...

The hypervisor will need some processor and RAM too.  

So you can either accept that some scheduler swapping will occur or leave some processor and RAM asside for the hypervisor.
its a complete waste or resources and your VM will not benefit, as previous discussions we have had on the subject.
Avatar of Los Angeles1
Los Angeles1

ASKER

its a complete waste or resources and your VM will not benefit, as previous discussions we have had on the subject.

This is what I was getting at in the question.

In the previous discussion, it was correctly pointed out to me that the scheduler swapped CPU and Memory between the VM's, thus assigning lots of CPU and memory would probably slow it down

So what I was thinking was that if I only use a single VM on a host, the scheduler would not get involved swapping resources.

Why is my thinking wrong ?  Am I wrong about the scheduler not being active with only a single VM ?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
It's the CPU Scheduler! (nothing to do with memory!).