> So it's like a temp service management from systemd.
>
> Also as advantage, is it also possible to catch qemu crash with journalctl ?
What do you want to do? Restart if crached?
___
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.
.
"
So it's like a temp service management from systemd.
Also as advantage, is it also possible to catch qemu crash with journalctl ?
- Mail original -
De: "dietmar"
À: "aderumier"
Cc: "pve-devel"
Envoyé: Jeudi 28 Mai 2015 17:31:34
Objet: Re: [pve
> systemd-run --scope --slice=qemu --unit 100 -p CPUShares=499 /usr/bin/kvm -id
> 100 ...
>
>
> like this, cgroup is autoremoved on process stop.
Interesting. I need toö take a look at the code in 'systemd-run' to see how
complex that
is. Are there any disadvantages?
___
> Another way could be use launch qemu with systemd-run, I think we can specify
> cgroup (slice in systemd) directly.
What would be the advantage? Fr me that just makes things more complex?
___
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve
ares=499
/usr/bin/kvm -id 100
Seem better than hacking qemu ?
- Mail original -
De: "aderumier"
À: "Stefan Priebe"
Cc: "pve-devel"
Envoyé: Jeudi 28 Mai 2015 15:02:36
Objet: Re: [pve-devel] qemu-server: cgroups && cpu.shares implem
ail original -
De: "aderumier"
À: "Stefan Priebe"
Cc: "pve-devel"
Envoyé: Jeudi 28 Mai 2015 15:02:36
Objet: Re: [pve-devel] qemu-server: cgroups && cpu.shares implementation
Another way could be use launch qemu with systemd-run, I think we can specify
cgroup (
ould go automaticaly to the parent cgroup.
I have done tests with hotplug virtio-net with vhost threads, or iothread
drive,
and their threads pid go to the cgroup.
- Mail original -
De: "Stefan Priebe"
À: "dietmar" , "aderumier" ,
"pve-devel"
e done tests with hotplug virtio-net with vhost threads, or iothread
drive,
and their threads pid go to the cgroup.
- Mail original -
De: "Stefan Priebe"
À: "dietmar" , "aderumier" ,
"pve-devel"
Envoyé: Jeudi 28 Mai 2015 12:55:29
Objet: Re: [pve-d
-- Mail original -
De: "dietmar"
À: "aderumier" , "pve-devel"
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
Am 28.05.2015 um 12:51 schrieb Dietmar Maurer:
>> 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
> 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
Hi,
Here the patches serie for implemtation of cpuunits through cgroups
___
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
12 matches
Mail list logo