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 ?
VMware

Avatar of undefined
Last Comment
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

8/22/2022 - Mon
thomasdavis

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

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.
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

its a complete waste or resources and your VM will not benefit, as previous discussions we have had on the subject.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
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
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

It's the CPU Scheduler! (nothing to do with memory!).