qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Performance Profiling 2 VMs
@ 2016-03-02  0:06 kalyan tata
  2016-03-02 11:28 ` Stefan Hajnoczi
  0 siblings, 1 reply; 4+ messages in thread
From: kalyan tata @ 2016-03-02  0:06 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 1649 bytes --]

Hi All,

I am new to qemu development.
Sorry If this is not the correct forum for this question, it would be great
if you could direct me to correct forum.

I am seeing very low virtio network throughput on an older (2.6.18) linux
guest  vs another newer guest (3.10) both running on the same host. (same
config 2 vcpus, no multi Q etc.)  I see very high CPU usage on the 2.6.18
guest at very low network throughput and want to profile to find
bottleneck.

I tried to use "perf kvm" but the analysis  shows overhead as  max .25 %
where as top in VM shows 100% cpu. (I used following as a guide
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html-single/Virtualization_Tuning_and_Optimization_Guide/index.html#sect-Virtualization_Tuning_Optimization_Guide-Monitoring_Tools-perf_kvm
)

     0.25%  :5235    [uhci_hcd]        [g] 0xffffffff80182236
     0.24%  :5235    [uhci_hcd]        [g] 0xffffffff8018226a
     0.23%  :5235    [virtio_ring]     [g] vring_new_virtqueue
     0.20%  :5236    [uhci_hcd]        [g] 0xffffffff80182236
     0.18%  :5236    [uhci_hcd]        [g] 0xffffffff8018226a
     0.18%  :5235    [uhci_hcd]        [g] 0xffffffff8016f385
     0.14%  :5236    [uhci_hcd]        [g] 0xffffffff802fbe0f
     0.14%  :5235    [uhci_hcd]        [g] 0xffffffff8001161a
     0.14%  :5235    [virtio_ring]     [g] virtqueue_is_broken


My basic question is - Is there a way I can profile the older version of
linux guest so i can see the bottleneck (where the guest is spending CPU
cycles) My aim is to see if i can patch the older version in the critical
path with improvements made in newer version

Thanks
Kal

[-- Attachment #2: Type: text/html, Size: 2275 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-03-09 16:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-02  0:06 [Qemu-devel] Performance Profiling 2 VMs kalyan tata
2016-03-02 11:28 ` Stefan Hajnoczi
2016-03-03  5:32   ` kalyan tata
2016-03-09 16:15     ` Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).