RE: Q: Stopped VM still using host cpu CPU ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > > so, setup with
> > > 	opcontrol --deinit; modprobe oprofile timer=1; opcontrol --start
> > >
> 
> > Use 'opreport -l'.  Make sure your qemu isn't stripped.

Build kvm-86 with "./configure ... --disable-strip"
and paused vm, now I got:

opreport -l

CPU: CPU with timer interrupt, speed 0 MHz (estimated)
Profiling through timer interrupt
samples  %        image name               app name
symbol name
112184   99.1919  no-vmlinux               no-vmlinux               (no
symbols)
266       0.2352  qemu-system-x86_64       qemu-system-x86_64       (no
symbols)
94        0.0831  libpthread-2.8.so        libpthread-2.8.so
__read_nocancel
72        0.0637  opreport                 opreport                 (no
symbols)
63        0.0557  libc-2.8.so              libc-2.8.so
__select_nocancel
55        0.0486  libpthread-2.8.so        libpthread-2.8.so
__write_nocancel
37        0.0327  libpthread-2.8.so        libpthread-2.8.so
__pthread_enable_asynccancel
29        0.0256  libpthread-2.8.so        libpthread-2.8.so
__pthread_disable_asynccancel
28        0.0248  libpthread-2.8.so        libpthread-2.8.so
__libc_sigaction
28        0.0248  libpthread-2.8.so        libpthread-2.8.so
pthread_mutex_lock
21        0.0186  librt-2.8.so             librt-2.8.so
clock_gettime
20        0.0177  bash                     bash                     (no
symbols)
19        0.0168  [vdso] (tgid:4783 range:0x7ffffb3ff000-0x7ffffb400000)
qemu-system-x86_64       (no symbols)
19        0.0168  libc-2.8.so              libc-2.8.so
__libc_disable_asynccancel
17        0.0150  librt-2.8.so             librt-2.8.so
timer_settime@@GLIBC_2.3.3
15        0.0133  libpthread-2.8.so        libpthread-2.8.so
__pthread_mutex_unlock_usercnt
15        0.0133  librt-2.8.so             librt-2.8.so
timer_gettime@@GLIBC_2.3.3
13        0.0115  oprofiled                oprofiled                (no
symbols)
12        0.0106  libc-2.8.so              libc-2.8.so
__libc_enable_asynccancel
12        0.0106  libstdc++.so.6.0.10      libstdc++.so.6.0.10      (no
symbols)
10        0.0088  libc-2.8.so              libc-2.8.so
_int_malloc
6 ...

And top tell me

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 4783 root      20   0  631m 536m 1956 S  7.0  6.7   0:22.94
qemu-system-x86

But the VM is paused - definitely ..

Danny



--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux