[pve-devel] qemu-server : remove openvz fairscheduler cpuunits

Alexandre DERUMIER aderumier at odiso.com
Tue May 26 14:03:34 CEST 2015


>>seem also that cgroups are not working with lxc currently.

Seem that it's need a daemon called "cgmanager"  (systemctl start cgmanager)

https://linuxcontainers.org/cgmanager/introduction/


When the daemon is running, starting an lxc container create an

 /sys/fs/cgroup/systemd/lxc/vmid/  entry



----- Mail original -----
De: "aderumier" <aderumier at odiso.com>
À: "dietmar" <dietmar at proxmox.com>
Cc: "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Mardi 26 Mai 2015 08:00:52
Objet: Re: [pve-devel] qemu-server : remove openvz fairscheduler cpuunits

seem also that cgroups are not working with lxc currently. 

Trying to add 

lxc.cgroup.cpu.shares = 100 

in a lxc container config, 
I don't see any entry in /sys/fs/cgroup/ 


----- Mail original ----- 
De: "aderumier" <aderumier at odiso.com> 
À: "dietmar" <dietmar at proxmox.com> 
Cc: "pve-devel" <pve-devel at pve.proxmox.com> 
Envoyé: Mardi 26 Mai 2015 06:47:43 
Objet: Re: [pve-devel] qemu-server : remove openvz fairscheduler cpuunits 

>>Also, if we implement cgroups inside pve-qemu-kvm, we can keep this code. 
>>Or do you think it is easier to implement cgroups inside qemu-server? 

I think It should be easy to implement cgroups in qemu-server, like libvirt is doing 
https://libvirt.org/cgroups.html 

I think we use same code for lxc and qemu (I need to dig a little more) 

----- Mail original ----- 
De: "dietmar" <dietmar at proxmox.com> 
À: "pve-devel" <pve-devel at pve.proxmox.com> 
Envoyé: Mardi 26 Mai 2015 06:14:24 
Objet: Re: [pve-devel] qemu-server : remove openvz fairscheduler cpuunits 

first, we need -id for authentication (pve-auth.patch). 
Also, if we implement cgroups inside pve-qemu-kvm, we can keep this code. 
Or do you think it is easier to implement cgroups inside qemu-server? 

On 05/25/2015 01:48 PM, Alexandre Derumier wrote: 
> As we don't use openvz kernel anymore, 
> we can remove this code. 
> 
> We should implement cgroups to do the same thing 
> 


_______________________________________________ 
pve-devel mailing list 
pve-devel at pve.proxmox.com 
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 
_______________________________________________ 
pve-devel mailing list 
pve-devel at pve.proxmox.com 
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 
_______________________________________________ 
pve-devel mailing list 
pve-devel at pve.proxmox.com 
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 



More information about the pve-devel mailing list