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

Dietmar Maurer dietmar at proxmox.com
Fri May 29 12:51:00 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.

OK
 
> 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)

Sorry, I did not get what you mean? I simply translate

# cat /etc/pve/lxc/101/config
lxc.cgroup.cpu.cfs_period_us = 100000
lxc.cgroup.cpu.cfs_quota_us = 100000

# pct config 101
cpus: 1

You think I should call it 'cpulimit' instead of 'cpus'?


l




More information about the pve-devel mailing list