Re: [kvm] Re: tcpdump locks up kvm host for a while.

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

 



On Wed, Oct 05, 2011 at 11:36:53AM -0700, Robin Lee Powell wrote:
> On Wed, Oct 05, 2011 at 08:21:53PM +0200, Avi Kivity wrote:
> > On 10/04/2011 09:40 PM, Robin Lee Powell wrote:
> > >>  >When I run tcpdump on a *guest*, the entire guest completely
> > >>  >freezes up; no response even to hitting enter on the console.
> > >>  >"virsh list" also locks up whenever it tries to print state
> > >>  >about that VM (but the others work fine), as does any other
> > >>  >operation that touches the state of that VM.  The VM takes up
> > >>  >100% of CPU on one core while this is happening.  Eventually
> > >>  >it gets better.
> > >>
> > >>  You can use 'perf kvm' to figure out where the guest is
> > >>  spinning.
> > >
> > >OK, gathered with:
> > >
> > >sudo  perf kvm --guest --host record -o /tmp/kvm_perf -a
> > >
> > >I don't know how to read it at all, so it's at
> > >http://users.digitalkingdom.org/~rlpowell/media/public/kvm_perf
> > >
> > 
> > Not accessible.
> 
> -_-  Fixed.
> 
> > Please post the output of 'perf kvm report > log'.
> 
> # Events: 42K
> #
> # Overhead   Command     Shared Object  Symbol
> # ........  ........  ................  ......
> #
>    100.00%  qemu-kvm  [unknown]         [g] 0xffffffff8111c7a5
> 
> 
> #
> # (For a higher level overview, try: perf report --sort comm,dso)
> #
> 
> How helpful is that?  -_-
> 
> I'm guessing I need --guestkallsyms= ; since they're all the same
> kernel I thought it'd figure it out.  I'll redo.

OK, here's a "better" version.

# Events: 46K cycles
#
# Overhead   Command            Shared Object                   Symbol
# ........  ........  .......................  .......................
#
    74.81%  qemu-kvm  [unknown]                [u] 0x7fbdffd4c18a
    25.14%  qemu-kvm  [guest.kernel.kallsyms]  [g] 0xffffffff811112f0
     0.03%  qemu-kvm  [virtio_net]             [g] 0x83e8
     0.01%  qemu-kvm  [virtio_balloon]         [g] 0x103b
     0.00%  qemu-kvm  [ip6_tables]             [g] compat_standard_to_user
     0.00%  qemu-kvm  [ipv6]                   [g] icmpv6_send
     0.00%  qemu-kvm  [virtio_blk]             [g] 0x7783
     0.00%  qemu-kvm  [ipv6]                   [g] raw6_seq_show
     0.00%  qemu-kvm  [ipv6]                   [g] icmpv6_rcv
     0.00%  qemu-kvm  [virtio_net]             [g] fini
     0.00%  qemu-kvm  [ip6table_filter]        [g] 0x9b5


#
# (For a higher level overview, try: perf report --sort comm,dso)
#

The file is also updated.

-Robin
--
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