[pve-devel] qemu-server : cgroups implementation through systemd-run

Alexandre DERUMIER aderumier at odiso.com
Fri May 29 12:36:49 CEST 2015


>>Great. I guess we can also hotplug that? 

Yes sure. it's just a write in /sys/fs/cgroups.

This could be done online too in lxc.

BTW, I see that in lxc gui, the cpus number field = lxc.cgroup.cpu.cfs_quota_us, so it's more cpulimit.
(all cores are present in container)


----- Mail original -----
De: "dietmar" <dietmar at proxmox.com>
À: "aderumier" <aderumier at odiso.com>
Cc: "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Vendredi 29 Mai 2015 11:36:50
Objet: Re: [pve-devel] qemu-server : cgroups implementation through systemd-run

> >>Answering myself, I found we can set this with 
> >> 
> >>CPUQuota=XX% 
> >> 
> >>So we can directly map this to the 'cpulimit' parameter? 
> 
> yes indeed. I'll send a patch monday for this. 

Great. I guess we can also hotplug that? 



More information about the pve-devel mailing list