CPU speed limit to VM

LkS45

Well-Known Member
May 9, 2017
66
1
48
38
Hey!

Can i limit the cpu speed to the VM? My server cpu's run ate 3000mhz per core, but i want to limit the vms to run at max of 2500mhz.

Thank you!
 
not directly no, but you can go to the hardware tab, click on "CPU options" and set a lower value for "CPU limit"
e.g. in your example you have cores*0.833 to get ~2500mhz per core, just notice that a single thread can still use 3000mhz, but the overall cpu consumption will be limited
 
  • Like
Reactions: LkS45
not directly no, but you can go to the hardware tab, click on "CPU options" and set a lower value for "CPU limit"
e.g. in your example you have cores*0.833 to get ~2500mhz per core, just notice that a single thread can still use 3000mhz, but the overall cpu consumption will be limited

Thank you!!! The fact that I can not properly limit cores speed is a limitation of KVM/64?
 
Thank you!!! The fact that I can not properly limit cores speed is a limitation of KVM/64?
yes this is because a virtual core runs basically as a process/thread on the host

may i ask why you would need that? i do not think you would notice the difference between 3000mhz and 2500mhz at all (except in benchmarks of course)
 
yes this is because a virtual core runs basically as a process/thread on the host

may i ask why you would need that? i do not think you would notice the difference between 3000mhz and 2500mhz at all (except in benchmarks of course)
Hey! I'm using proxmox to provide cloud computing for my clients. The plans I offer have vcpu speed of 1.5 and 2.5 ghz with different prices. However the server CPU native speed is 3.0ghz, so if I can not limit the cores speed I will have to change the plans.
I am a former user of vmware where it would be simple to limit the speed of the vcpus, so I asked if it would be possible in Proxmox.

Thanks!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!