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 ?
Los Angeles1Asked:
Who is Participating?
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Yes, your thinking if kind of correct, but why would you then use a Hypervisor with a single VM!

You might as well, install on the Bare Metal, and the OS, will have full use of ALL the resources, without the Hypervisor in between hardware and OS!
0
 
thomasdavisCommented:
If your asking if you can assign all the memory and cpu's to one vm on a vm host the answer is yes.
0
 
Alan_WhiteCommented:
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.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
its a complete waste or resources and your VM will not benefit, as previous discussions we have had on the subject.
0
 
Los Angeles1Author Commented:
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
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
It's the CPU Scheduler! (nothing to do with memory!).
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.