Solved

VMWare, number of vCPU

Posted on 2012-03-17
3
496 Views
Last Modified: 2012-03-18
I know I am a little slow about this, but I have been experimenting, and yes, my VM's perform better with less vCPU, instead of more, especially when they are not running at a high CPU utilization

So from reading the posts and the documentation, what I am gleaning is that the scheduler is swapping the vCPU'sfrequently, and with less vCPU it basically swaps less often,a nd can obtain a higher performance.

Is this correct.  Can anyone enlighten me as to the 'core' reasons less vCPU seems to improve performance.
0
Comment
Question by:Los Angeles1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 121

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 37733774
You server applications need to take advantage of vSMP.

How are you testing, are you using Exchange, SQL that can take advantagebof multiprocessors?

Your findings are correct. This is how vSMP works.

Only allocate more CPUs if your servers applications can take advantage.
0
 
LVL 121
ID: 37733775
less time spent waiting for cpu states.
0
 
LVL 39

Expert Comment

by:Aaron Tomosky
ID: 37734011
If you are over allocated more vcpu just makes it worse
Only add vcpu not counting hyperthreading.
It really depends on your boxes and vms how to best set this up. For example, I have a osx vm for Xcode compiling runnin on an Xserve. I gave it 4 vcpu because it can compile multithreaded.
I also have a mailserver that would run at 90% inside the vm with one vcpu which was basically maxing one core of the real CPU. So I gave it two vcpu and now it's running at 30%. Whatever, it's happy. The general rule is as few as possible. Most of my vms are 1vcpu.
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

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 …
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
Teach the user how to delpoy the vCenter Server Appliance and how to configure its network settings Deploy OVF: Open VM console and configure networking:
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

696 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