[pve-devel] qemu-server: cgroups && cpu.shares implementation

Alexandre DERUMIER aderumier at odiso.com
Thu May 28 13:07:05 CEST 2015


>>If you implement it inside qemu-server you have a race-condition, because 
>>you do it too late and qemu already started the threads? Or maybe only parts 
>>of necessary threads are already created? 

Yes maybe, I don't have see race when I have tested it.
new threads should go automatically to the same group than parent thread.

I see some fix in libvirt about this kind of race

https://www.redhat.com/archives/libvir-list/2013-May/msg01478.html

>>So wouldn't it be easier to do it inside qemu? 

Maybe for you ;) Can't help for this sorry.

----- Mail original -----
De: "dietmar" <dietmar at proxmox.com>
À: "aderumier" <aderumier at odiso.com>, "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Jeudi 28 Mai 2015 12:51:23
Objet: Re: [pve-devel] qemu-server: cgroups && cpu.shares implementation

> Here the patches serie for implemtation of cpuunits through cgroups 

If you implement it inside qemu-server you have a race-condition, because 
you do it too late and qemu already started the threads? Or maybe only parts 
of necessary threads are already created? 

So wouldn't it be easier to do it inside qemu? 



More information about the pve-devel mailing list