Jean-Pierre Ribeauville
2015-Jul-08 09:11 UTC
[libvirt-users] cpuacct and emulator/cpuacct
Hello, Does it exist some documentation concerning following topic ? What's difference between following perf counters : /cgroup/cpuacct/libvirt/qemu/test/cpuacct.usage and /cgroup/cpuacct/libvirt/qemu/test/emulator/cpuacct.usage Thx . Regards, J.P. Ribeauville P: +33.(0).1.47.17.27.78 Puteaux 3 Etage 5 Bureau 4 jpribeauville@axway.com<mailto:jpribeauville@axway.com> http://www.axway.com<http://www.axway.com/> P Pensez à l'environnement avant d'imprimer.
On Wed, Jul 08, 2015 at 09:11:11AM +0000, Jean-Pierre Ribeauville wrote:>Hello, > >Does it exist some documentation concerning following topic ? > >What's difference between following perf counters : > >/cgroup/cpuacct/libvirt/qemu/test/cpuacct.usage >and >/cgroup/cpuacct/libvirt/qemu/test/emulator/cpuacct.usage >I don't know from the top of my head whether the accounting is effective for all tasks in the current group (i.e. /test/cpuacct.usage only accounts for /test/tasks) or also subgroups. Anyway, if the second is true (which I think it is), then /test/emulator is only accounting for the emulator thread and the upper one is for emulator, all vCPU threads and I/O threads. Martin
Jean-Pierre Ribeauville
2015-Jul-09 13:01 UTC
Re: [libvirt-users] cpuacct and emulator/cpuacct
Hi, Thanks for your prompt answer. Regards. J.P. -----Message d'origine----- De : Martin Kletzander [mailto:mkletzan@redhat.com] Envoyé : jeudi 9 juillet 2015 14:46 À : Jean-Pierre Ribeauville Cc : libvirt-users@redhat.com Objet : Re: [libvirt-users] cpuacct and emulator/cpuacct On Wed, Jul 08, 2015 at 09:11:11AM +0000, Jean-Pierre Ribeauville wrote:>Hello, > >Does it exist some documentation concerning following topic ? > >What's difference between following perf counters : > >/cgroup/cpuacct/libvirt/qemu/test/cpuacct.usage >and >/cgroup/cpuacct/libvirt/qemu/test/emulator/cpuacct.usage >I don't know from the top of my head whether the accounting is effective for all tasks in the current group (i.e. /test/cpuacct.usage only accounts for /test/tasks) or also subgroups. Anyway, if the second is true (which I think it is), then /test/emulator is only accounting for the emulator thread and the upper one is for emulator, all vCPU threads and I/O threads. Martin
Apparently Analagous Threads
- cpuacct and emulator/cpuacct
- Guest cpuacct counters and others location
- Re: Redhat 7: cgroup CPUACCT controller is not mounted
- Redhat 7: cgroup CPUACCT controller is not mounted
- getCPUStats of a domain by a non-root user - libvirtError: Requested operation is not valid: cgroup CPUACCT controller is not mounted