[pve-devel] [PATCH] implement cpuunit with cgroups

Alexandre DERUMIER aderumier at odiso.com
Tue Jun 2 20:21:40 CEST 2015


>>I finally changed the type from integer to number, so we can now use 
>>
>>-cpulimit 0.5 
>>
>>to get 50% 
>>
>>and 
>>
>>-cpulimit 2 
>>
>>to use 200% 

Ok, perfect.  Thanks !


----- Mail original -----
De: "dietmar" <dietmar at proxmox.com>
À: "aderumier" <aderumier at odiso.com>
Cc: "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Mardi 2 Juin 2015 16:06:24
Objet: Re: [pve-devel] [PATCH] implement cpuunit with cgroups

On 06/02/2015 09:25 AM, Alexandre DERUMIER wrote: 
>>> So how do you specify 50% (Note: cpulimit is an integer value)? 
> We can't. 
> 
> Is the cpuunit value in vmid.conf in percent ? I never used it. 
> 
> 
I finally changed the type from integer to number, so we can now use 

-cpulimit 0.5 

to get 50% 

and 

-cpulimit 2 

to use 200% 




More information about the pve-devel mailing list