Solved

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

Posted on 2012-03-15
6
290 Views
Last Modified: 2012-03-15
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 ?
0
Comment
Question by:Los Angeles1
6 Comments
 
LVL 8

Expert Comment

by:thomasdavis
ID: 37725875
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
 
LVL 10

Expert Comment

by:Alan_White
ID: 37725913
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
 
LVL 119
ID: 37725923
its a complete waste or resources and your VM will not benefit, as previous discussions we have had on the subject.
0
Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

 

Author Comment

by:Los Angeles1
ID: 37725996
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
 
LVL 119

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 37726230
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
 
LVL 119
ID: 37726232
It's the CPU Scheduler! (nothing to do with memory!).
0

Featured Post

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question