Solved

How do we limit VM CPU speed into certain MHz ?

Posted on 2010-09-12
10
3,666 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 93

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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 93

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 93

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 93

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 93

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Why does Hype-V Initial Replication Fail? 2 32
how to mount a NTFS USB drive to ESX 5.5 2 79
Site replication storage recommendations. 8 46
Vcenter 8 50
HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:

860 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