Solved

How do we limit VM CPU speed into certain MHz ?

Posted on 2010-09-12
10
3,758 Views
Last Modified: 2012-05-10
Hi All,

In VMware ESXi, how can we limit a certain VM cpu to be just exactly 1.6 GHz for example if we host that VM on 2.66 GHz server ?

Thanks
0
Comment
Question by:jjoz
10 Comments
 
LVL 40

Expert Comment

by:coolsport00
ID: 33658757
There is no way to config CPU GHz for a VM.

~coolsport00
0
 
LVL 94

Expert Comment

by:John Hurst
ID: 33658802
What you can do, however, is manage the CPU resources a VM uses. That does not manage speed, but it controls how much CPU can be used, which is more important. ... Thinkpads_User
0
 
LVL 1

Author Comment

by:jjoz
ID: 33658804
oh ?

That's why, eventhough i set the option in Resources | CPU | Limit: to be max. 1.6 GHz but in the VM it still runs at 2.66 GHz ?

do i have to put that into the resource pool ?
0
Save the day with this special offer from ATEN!

Save 30% on the CV211 using promo code EXPERTS30 now through April 30th. 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.

 
LVL 94

Expert Comment

by:John Hurst
ID: 33658815
Take a look at this article on limiting CPU resources

http://www.vmware.com/pdf/ESX2_CPU_Performance.pdf

... Thinkpads_User
0
 
LVL 94

Expert Comment

by:John Hurst
ID: 33658855
Also, I see you are using the free version, and there may be limitations in the free version. I am not sure about that.
... Thinkpads_User
0
 
LVL 1

Author Comment

by:jjoz
ID: 33658871
actually no, this is paid ESXi in VSphere Essentials
0
 
LVL 94

Expert Comment

by:John Hurst
ID: 33658912
You can take a look at this article:

http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=1004060&sliceId=1&docTypeID=DT_KB_1_1&dialogID=114546247&stateId=0 0 114544471

But it says you must be using ESX to do this. I don't know about ESXi. .... Thinkpads_User
0
 
LVL 94

Expert Comment

by:John Hurst
ID: 33658916
If the link above does not work (too long), the section I read was:

Quote from VMware site "You can only increase the assigned CPU cycles on an ESX Server virtual machine. If this is a virtual machine running under any other product, there is no direct way of increasing its assigned CPU cycles."

... Thinkpads_User
 
0
 
LVL 1

Accepted Solution

by:
jjoz earned 0 total points
ID: 33659558
ah yes, it seems that from my understanding, by setting the upper limit, eg. 1.6 GHz that will be granted to the VM as maximum speed, simple no needto create resource pool since this is only for one single VM.

but Windows will still see and detect the CPU type directly from the hypervisor Info.
0
 
LVL 4

Expert Comment

by:mail2vijay1982
ID: 33661750
Hi Could you please go through following URL, I hope it will clear your doubts.

http://www.yellow-bricks.com/2010/05/18/limiting-your-vcpu/
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
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.

685 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