Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2012-03-15
6
Medium Priority
?
322 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 124
ID: 37725923
its a complete waste or resources and your VM will not benefit, as previous discussions we have had on the subject.
0
Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

 

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 124

Accepted Solution

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

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
Ransomware is a malware that is again in the list of security  concerns. Not only for companies, but also for Government security and  even at personal use. IT departments should be aware and have the right  knowledge to how to fight it.
Teach the user how to install ESXi 5.5 and configure the management network System Requirements: ESXi Installation:  Management Network Configuration: Management Network Testing:
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…

783 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