Hi i have centOS dedicated server and installing vmware server how i can limit cpu/resource usage for each vm ? its very big problem my XEON server are overload..
|
feedback
|
|
A Simple Way: You can change the priority of a process with the renice command. -20 is the highest priority, 20 is the lowest priority:
To increase the priority, The command may need to be run as the superuser. Memory: Disk:
A Little More Complicated: | |||
feedback
|
|
For a very simple solution, take a look at cpulimit, which lets you set a CPU usage limit per process, expressed in percentage. | |||
|
feedback
|
|
I'm not sure if vmware server can do it, but if you install ESXi (free) then you can limit the CPU usage per vm. Note, this will overwrite the entire system, effectively giving you a dedicated vmware device. | |||
|
feedback
|
|
There is no way that I know of, aside form limiting each VM to one vCPU which is the default, of throttling CPU use per VM in VMWare Server. You might find such features in the "bare metal" VM solution (ESX) or its free equivalent ESXi. | |||
|
feedback
|
|
I'm 99% sure there is no resource control in regular Server, there's loads in ESX though but that's no use to you. | |||
|
feedback
|