All of lore.kernel.org
 help / color / mirror / Atom feed
* tcpdump locks up kvm host for a while.
@ 2011-09-28  2:01 Robin Lee Powell
  2011-09-29 19:07 ` Robin Lee Powell
  0 siblings, 1 reply; 20+ messages in thread
From: Robin Lee Powell @ 2011-09-28  2:01 UTC (permalink / raw)
  To: kvm


I can essentially test this at will, so feel free to ask for
debugging steps.

My host and VMs are all Fedora 15.

Every time I run tcpdump on a VM, it hangs for a while.  It uses all
available CPU, "virsh list" hangs trying to show it, and I can't
shut it down except by killing the qemu-kvm process.

After a few minutes, which amount of time seems to be proportionate
to how long it's been since I last ran tcpdump (the longer it's
been, the longer I have to wait) everything goes back to normal if I
don't kill the VM.

Any idea what's going on there?

-Robin


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

* Re: tcpdump locks up kvm host for a while.
  2011-09-28  2:01 tcpdump locks up kvm host for a while Robin Lee Powell
@ 2011-09-29 19:07 ` Robin Lee Powell
  2011-09-30 19:03   ` Nikola Ciprich
  0 siblings, 1 reply; 20+ messages in thread
From: Robin Lee Powell @ 2011-09-29 19:07 UTC (permalink / raw)
  To: kvm

On Tue, Sep 27, 2011 at 07:01:37PM -0700, Robin Lee Powell wrote:
> 
> I can essentially test this at will, so feel free to ask for
> debugging steps.
> 
> My host and VMs are all Fedora 15.
> 
> Every time I run tcpdump on a VM, it hangs for a while.  It uses
> all available CPU, "virsh list" hangs trying to show it, and I
> can't shut it down except by killing the qemu-kvm process.
> 
> After a few minutes, which amount of time seems to be
> proportionate to how long it's been since I last ran tcpdump (the
> longer it's been, the longer I have to wait) everything goes back
> to normal if I don't kill the VM.
> 
> Any idea what's going on there?

Nobody else has this problem?  How odd.

-Robin

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

* Re: tcpdump locks up kvm host for a while.
  2011-09-29 19:07 ` Robin Lee Powell
@ 2011-09-30 19:03   ` Nikola Ciprich
  2011-09-30 22:19     ` Robin Lee Powell
  0 siblings, 1 reply; 20+ messages in thread
From: Nikola Ciprich @ 2011-09-30 19:03 UTC (permalink / raw)
  To: Robin Lee Powell; +Cc: kvm

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

Hello Robin,

actually I'm stil hitting problems with tcpdump in KVM virtuals..
what is the content of /sys/devices/system/clocksource/clocksource0/current_clocksource?
I guess it'll be kvm-clock, try using clocksource=tsc or hpet kernel parameter.
does it help?
n.


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

-- 
-------------------------------------
Ing. Nikola CIPRICH
LinuxBox.cz, s.r.o.
28. rijna 168, 709 01 Ostrava

tel.:   +420 596 603 142
fax:    +420 596 621 273
mobil:  +420 777 093 799

www.linuxbox.cz

mobil servis: +420 737 238 656
email servis: servis@linuxbox.cz
-------------------------------------

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: Re: tcpdump locks up kvm host for a while.
  2011-09-30 19:03   ` Nikola Ciprich
@ 2011-09-30 22:19     ` Robin Lee Powell
  2011-10-01  7:36       ` Nikola Ciprich
  0 siblings, 1 reply; 20+ messages in thread
From: Robin Lee Powell @ 2011-09-30 22:19 UTC (permalink / raw)
  To: Nikola Ciprich; +Cc: kvm

On Fri, Sep 30, 2011 at 09:03:21PM +0200, Nikola Ciprich wrote:
> Hello Robin,
> 
> actually I'm stil hitting problems with tcpdump in KVM virtuals..
> what is the content of /sys/devices/system/clocksource/clocksource0/current_clocksource?
> I guess it'll be kvm-clock, try using clocksource=tsc or hpet kernel parameter.
> does it help?

[    1.911056] Override clocksource tsc is not HRT compatible. Cannot switch while in HRT/NOHZ mode

Will hpet do any better?

-Robin

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

* Re: Re: tcpdump locks up kvm host for a while.
  2011-09-30 22:19     ` Robin Lee Powell
@ 2011-10-01  7:36       ` Nikola Ciprich
  2011-10-02  0:45         ` Re: [kvm] " Robin Lee Powell
  0 siblings, 1 reply; 20+ messages in thread
From: Nikola Ciprich @ 2011-10-01  7:36 UTC (permalink / raw)
  To: Robin Lee Powell; +Cc: kvm

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

well, give it a try ;)
I still haven't fully resolved this, but I'm sure it has to do something with
the timesource - with kvm-clock, it got much worse...
n.

> [    1.911056] Override clocksource tsc is not HRT compatible. Cannot switch while in HRT/NOHZ mode
> 
> Will hpet do any better?
> 
> -Robin
> 

-- 
-------------------------------------
Ing. Nikola CIPRICH
LinuxBox.cz, s.r.o.
28. rijna 168, 709 01 Ostrava

tel.:   +420 596 603 142
fax:    +420 596 621 273
mobil:  +420 777 093 799

www.linuxbox.cz

mobil servis: +420 737 238 656
email servis: servis@linuxbox.cz
-------------------------------------

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: Re: [kvm]  Re: tcpdump locks up kvm host for a while.
  2011-10-01  7:36       ` Nikola Ciprich
@ 2011-10-02  0:45         ` Robin Lee Powell
  2011-10-02 17:06           ` Avi Kivity
  0 siblings, 1 reply; 20+ messages in thread
From: Robin Lee Powell @ 2011-10-02  0:45 UTC (permalink / raw)
  To: Nikola Ciprich; +Cc: kvm

I'm afraid clocksource=hpet didn't help much; after about 24 hours
up, tcpdump hung the machine for for about 10 seconds.  That may or
may not be better than usual; I haven't been timing things
precisely.  My suspicion is that it's slightly better, but it's
still not great.

Also:

rlpowell@vrici> dmesg | grep -i clock
[    0.000000] Command line: ro root=/dev/vda2 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us console=ttyS0,115200 clocksource=hpet
[    0.000000] kvm-clock: Using msrs 12 and 11
[    0.000000] kvm-clock: cpu 0, msr 0:1b567c1, boot clock
[    0.000000] kvm-clock: cpu 0, msr 0:5fc137c1, primary cpu clock
[    0.000000] Kernel command line: ro root=/dev/vda2 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us console=ttyS0,115200 clocksource=hpet
[    0.000000] hpet clockevent registered
[    0.260136] Switching to clocksource hpet
[    1.009393] rtc_cmos 00:01: setting system clock to 2011-10-01 07:49:50 UTC (1317455390)
[    1.821905] Refined TSC clocksource calibration: 2394.030 MHz.
[60555.473797] Clocksource tsc unstable (delta = -42950328292 ns)

(note the last line)

-Robin


On Sat, Oct 01, 2011 at 09:36:43AM +0200, Nikola Ciprich wrote:
> well, give it a try ;)
> I still haven't fully resolved this, but I'm sure it has to do something with
> the timesource - with kvm-clock, it got much worse...
> n.
> 
> > [    1.911056] Override clocksource tsc is not HRT compatible. Cannot switch while in HRT/NOHZ mode
> > 
> > Will hpet do any better?
> > 
> > -Robin
> > 
> 
> -- 
> -------------------------------------
> Ing. Nikola CIPRICH
> LinuxBox.cz, s.r.o.
> 28. rijna 168, 709 01 Ostrava
> 
> tel.:   +420 596 603 142
> fax:    +420 596 621 273
> mobil:  +420 777 093 799
> 
> www.linuxbox.cz
> 
> mobil servis: +420 737 238 656
> email servis: servis@linuxbox.cz
> -------------------------------------



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

* Re: Re: [kvm]  Re: tcpdump locks up kvm host for a while.
  2011-10-02  0:45         ` Re: [kvm] " Robin Lee Powell
@ 2011-10-02 17:06           ` Avi Kivity
  2011-10-02 17:07             ` Re: [kvm] " Robin Lee Powell
  0 siblings, 1 reply; 20+ messages in thread
From: Avi Kivity @ 2011-10-02 17:06 UTC (permalink / raw)
  To: Robin Lee Powell; +Cc: Nikola Ciprich, kvm

On 10/02/2011 02:45 AM, Robin Lee Powell wrote:
> I'm afraid clocksource=hpet didn't help much; after about 24 hours
> up, tcpdump hung the machine for for about 10 seconds.  That may or
> may not be better than usual; I haven't been timing things
> precisely.  My suspicion is that it's slightly better, but it's
> still not great.
>
> Also:
>
> rlpowell@vrici>  dmesg | grep -i clock
> [    0.000000] Command line: ro root=/dev/vda2 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us console=ttyS0,115200 clocksource=hpet
> [    0.000000] kvm-clock: Using msrs 12 and 11
> [    0.000000] kvm-clock: cpu 0, msr 0:1b567c1, boot clock
> [    0.000000] kvm-clock: cpu 0, msr 0:5fc137c1, primary cpu clock
> [    0.000000] Kernel command line: ro root=/dev/vda2 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us console=ttyS0,115200 clocksource=hpet
> [    0.000000] hpet clockevent registered
> [    0.260136] Switching to clocksource hpet
> [    1.009393] rtc_cmos 00:01: setting system clock to 2011-10-01 07:49:50 UTC (1317455390)
> [    1.821905] Refined TSC clocksource calibration: 2394.030 MHz.
> [60555.473797] Clocksource tsc unstable (delta = -42950328292 ns)
>
> (note the last line)
>

Do you get a similar error with kvmclock?

-- 
error compiling committee.c: too many arguments to function


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

* Re: Re: [kvm]  Re: [kvm]  Re: tcpdump locks up kvm host for a while.
  2011-10-02 17:06           ` Avi Kivity
@ 2011-10-02 17:07             ` Robin Lee Powell
  2011-10-02 17:12               ` Avi Kivity
  0 siblings, 1 reply; 20+ messages in thread
From: Robin Lee Powell @ 2011-10-02 17:07 UTC (permalink / raw)
  To: Avi Kivity; +Cc: Nikola Ciprich, kvm

On Sun, Oct 02, 2011 at 07:06:35PM +0200, Avi Kivity wrote:
> On 10/02/2011 02:45 AM, Robin Lee Powell wrote:
> >I'm afraid clocksource=hpet didn't help much; after about 24 hours
> >up, tcpdump hung the machine for for about 10 seconds.  That may or
> >may not be better than usual; I haven't been timing things
> >precisely.  My suspicion is that it's slightly better, but it's
> >still not great.
> >
> >Also:
> >
> >rlpowell@vrici>  dmesg | grep -i clock
> >[    0.000000] Command line: ro root=/dev/vda2 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us console=ttyS0,115200 clocksource=hpet
> >[    0.000000] kvm-clock: Using msrs 12 and 11
> >[    0.000000] kvm-clock: cpu 0, msr 0:1b567c1, boot clock
> >[    0.000000] kvm-clock: cpu 0, msr 0:5fc137c1, primary cpu clock
> >[    0.000000] Kernel command line: ro root=/dev/vda2 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us console=ttyS0,115200 clocksource=hpet
> >[    0.000000] hpet clockevent registered
> >[    0.260136] Switching to clocksource hpet
> >[    1.009393] rtc_cmos 00:01: setting system clock to 2011-10-01 07:49:50 UTC (1317455390)
> >[    1.821905] Refined TSC clocksource calibration: 2394.030 MHz.
> >[60555.473797] Clocksource tsc unstable (delta = -42950328292 ns)
> >
> >(note the last line)
> >
> 
> Do you get a similar error with kvmclock?

I don't think I did, no.  I'm not completely certain, but pretty
sure.

-Robin

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

* Re: Re: [kvm]  Re: [kvm]  Re: tcpdump locks up kvm host for a while.
  2011-10-02 17:07             ` Re: [kvm] " Robin Lee Powell
@ 2011-10-02 17:12               ` Avi Kivity
  2011-10-02 17:13                 ` Re: [kvm] " Robin Lee Powell
  0 siblings, 1 reply; 20+ messages in thread
From: Avi Kivity @ 2011-10-02 17:12 UTC (permalink / raw)
  To: Robin Lee Powell; +Cc: Nikola Ciprich, kvm

On 10/02/2011 07:07 PM, Robin Lee Powell wrote:
> On Sun, Oct 02, 2011 at 07:06:35PM +0200, Avi Kivity wrote:
> >  On 10/02/2011 02:45 AM, Robin Lee Powell wrote:
> >  >I'm afraid clocksource=hpet didn't help much; after about 24 hours
> >  >up, tcpdump hung the machine for for about 10 seconds.  That may or
> >  >may not be better than usual; I haven't been timing things
> >  >precisely.  My suspicion is that it's slightly better, but it's
> >  >still not great.
> >  >
> >  >Also:
> >  >
> >  >rlpowell@vrici>   dmesg | grep -i clock
> >  >[    0.000000] Command line: ro root=/dev/vda2 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us console=ttyS0,115200 clocksource=hpet
> >  >[    0.000000] kvm-clock: Using msrs 12 and 11
> >  >[    0.000000] kvm-clock: cpu 0, msr 0:1b567c1, boot clock
> >  >[    0.000000] kvm-clock: cpu 0, msr 0:5fc137c1, primary cpu clock
> >  >[    0.000000] Kernel command line: ro root=/dev/vda2 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us console=ttyS0,115200 clocksource=hpet
> >  >[    0.000000] hpet clockevent registered
> >  >[    0.260136] Switching to clocksource hpet
> >  >[    1.009393] rtc_cmos 00:01: setting system clock to 2011-10-01 07:49:50 UTC (1317455390)
> >  >[    1.821905] Refined TSC clocksource calibration: 2394.030 MHz.
> >  >[60555.473797] Clocksource tsc unstable (delta = -42950328292 ns)
> >  >
> >  >(note the last line)
> >  >
> >
> >  Do you get a similar error with kvmclock?
>
> I don't think I did, no.  I'm not completely certain, but pretty
> sure.
>

Then let's try to understand why it doesn't work with kvmclock.

-- 
error compiling committee.c: too many arguments to function


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

* Re: Re: [kvm]  Re: [kvm]  Re: [kvm]  Re: tcpdump locks up kvm host for  a while.
  2011-10-02 17:12               ` Avi Kivity
@ 2011-10-02 17:13                 ` Robin Lee Powell
  2011-10-02 17:21                   ` Avi Kivity
  0 siblings, 1 reply; 20+ messages in thread
From: Robin Lee Powell @ 2011-10-02 17:13 UTC (permalink / raw)
  To: Avi Kivity; +Cc: Nikola Ciprich, kvm

On Sun, Oct 02, 2011 at 07:12:42PM +0200, Avi Kivity wrote:
> On 10/02/2011 07:07 PM, Robin Lee Powell wrote:
> >On Sun, Oct 02, 2011 at 07:06:35PM +0200, Avi Kivity wrote:
> >>  On 10/02/2011 02:45 AM, Robin Lee Powell wrote:
> >>  >I'm afraid clocksource=hpet didn't help much; after about 24 hours
> >>  >up, tcpdump hung the machine for for about 10 seconds.  That may or
> >>  >may not be better than usual; I haven't been timing things
> >>  >precisely.  My suspicion is that it's slightly better, but it's
> >>  >still not great.
> >>  >
> >>  >Also:
> >>  >
> >>  >rlpowell@vrici>   dmesg | grep -i clock
> >>  >[    0.000000] Command line: ro root=/dev/vda2 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us console=ttyS0,115200 clocksource=hpet
> >>  >[    0.000000] kvm-clock: Using msrs 12 and 11
> >>  >[    0.000000] kvm-clock: cpu 0, msr 0:1b567c1, boot clock
> >>  >[    0.000000] kvm-clock: cpu 0, msr 0:5fc137c1, primary cpu clock
> >>  >[    0.000000] Kernel command line: ro root=/dev/vda2 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us console=ttyS0,115200 clocksource=hpet
> >>  >[    0.000000] hpet clockevent registered
> >>  >[    0.260136] Switching to clocksource hpet
> >>  >[    1.009393] rtc_cmos 00:01: setting system clock to 2011-10-01 07:49:50 UTC (1317455390)
> >>  >[    1.821905] Refined TSC clocksource calibration: 2394.030 MHz.
> >>  >[60555.473797] Clocksource tsc unstable (delta = -42950328292 ns)
> >>  >
> >>  >(note the last line)
> >>  >
> >>
> >>  Do you get a similar error with kvmclock?
> >
> >I don't think I did, no.  I'm not completely certain, but pretty
> >sure.
> >
> 
> Then let's try to understand why it doesn't work with kvmclock.

I'd love to.  Suggestions?

-Robin

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

* Re: Re: [kvm]  Re: [kvm]  Re: [kvm]  Re: tcpdump locks up kvm host for  a while.
  2011-10-02 17:13                 ` Re: [kvm] " Robin Lee Powell
@ 2011-10-02 17:21                   ` Avi Kivity
  2011-10-02 17:37                     ` Re: [kvm] " Robin Lee Powell
  0 siblings, 1 reply; 20+ messages in thread
From: Avi Kivity @ 2011-10-02 17:21 UTC (permalink / raw)
  To: Robin Lee Powell; +Cc: Nikola Ciprich, kvm

On 10/02/2011 07:13 PM, Robin Lee Powell wrote:
> On Sun, Oct 02, 2011 at 07:12:42PM +0200, Avi Kivity wrote:
> >  On 10/02/2011 07:07 PM, Robin Lee Powell wrote:
> >  >On Sun, Oct 02, 2011 at 07:06:35PM +0200, Avi Kivity wrote:
> >  >>   On 10/02/2011 02:45 AM, Robin Lee Powell wrote:
> >  >>   >I'm afraid clocksource=hpet didn't help much; after about 24 hours
> >  >>   >up, tcpdump hung the machine for for about 10 seconds.  That may or
> >  >>   >may not be better than usual; I haven't been timing things
> >  >>   >precisely.  My suspicion is that it's slightly better, but it's
> >  >>   >still not great.
> >  >>   >
> >  >>   >Also:
> >  >>   >
> >  >>   >rlpowell@vrici>    dmesg | grep -i clock
> >  >>   >[    0.000000] Command line: ro root=/dev/vda2 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us console=ttyS0,115200 clocksource=hpet
> >  >>   >[    0.000000] kvm-clock: Using msrs 12 and 11
> >  >>   >[    0.000000] kvm-clock: cpu 0, msr 0:1b567c1, boot clock
> >  >>   >[    0.000000] kvm-clock: cpu 0, msr 0:5fc137c1, primary cpu clock
> >  >>   >[    0.000000] Kernel command line: ro root=/dev/vda2 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us console=ttyS0,115200 clocksource=hpet
> >  >>   >[    0.000000] hpet clockevent registered
> >  >>   >[    0.260136] Switching to clocksource hpet
> >  >>   >[    1.009393] rtc_cmos 00:01: setting system clock to 2011-10-01 07:49:50 UTC (1317455390)
> >  >>   >[    1.821905] Refined TSC clocksource calibration: 2394.030 MHz.
> >  >>   >[60555.473797] Clocksource tsc unstable (delta = -42950328292 ns)
> >  >>   >
> >  >>   >(note the last line)
> >  >>   >
> >  >>
> >  >>   Do you get a similar error with kvmclock?
> >  >
> >  >I don't think I did, no.  I'm not completely certain, but pretty
> >  >sure.
> >  >
> >
> >  Then let's try to understand why it doesn't work with kvmclock.
>
> I'd love to.  Suggestions?
>

Well, any messages?  Alternatively, detailed instructions to reproduce?

-- 
error compiling committee.c: too many arguments to function


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

* Re: Re: [kvm]  Re: [kvm]  Re: [kvm]  Re: [kvm]  Re: tcpdump locks up  kvm host for  a while.
  2011-10-02 17:21                   ` Avi Kivity
@ 2011-10-02 17:37                     ` Robin Lee Powell
  2011-10-02 19:38                       ` Avi Kivity
  0 siblings, 1 reply; 20+ messages in thread
From: Robin Lee Powell @ 2011-10-02 17:37 UTC (permalink / raw)
  To: Avi Kivity; +Cc: Nikola Ciprich, kvm

On Sun, Oct 02, 2011 at 07:21:08PM +0200, Avi Kivity wrote:
> On 10/02/2011 07:13 PM, Robin Lee Powell wrote:
> >On Sun, Oct 02, 2011 at 07:12:42PM +0200, Avi Kivity wrote:
> >>  On 10/02/2011 07:07 PM, Robin Lee Powell wrote:
> >>  >On Sun, Oct 02, 2011 at 07:06:35PM +0200, Avi Kivity wrote:
> >>  >>   On 10/02/2011 02:45 AM, Robin Lee Powell wrote:
> >>  >>   >I'm afraid clocksource=hpet didn't help much; after about 24 hours
> >>  >>   >up, tcpdump hung the machine for for about 10 seconds.  That may or
> >>  >>   >may not be better than usual; I haven't been timing things
> >>  >>   >precisely.  My suspicion is that it's slightly better, but it's
> >>  >>   >still not great.
> >>  >>   >
> >>  >>   >Also:
> >>  >>   >
> >>  >>   >rlpowell@vrici>    dmesg | grep -i clock
> >>  >>   >[    0.000000] Command line: ro root=/dev/vda2 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us console=ttyS0,115200 clocksource=hpet
> >>  >>   >[    0.000000] kvm-clock: Using msrs 12 and 11
> >>  >>   >[    0.000000] kvm-clock: cpu 0, msr 0:1b567c1, boot clock
> >>  >>   >[    0.000000] kvm-clock: cpu 0, msr 0:5fc137c1, primary cpu clock
> >>  >>   >[    0.000000] Kernel command line: ro root=/dev/vda2 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us console=ttyS0,115200 clocksource=hpet
> >>  >>   >[    0.000000] hpet clockevent registered
> >>  >>   >[    0.260136] Switching to clocksource hpet
> >>  >>   >[    1.009393] rtc_cmos 00:01: setting system clock to 2011-10-01 07:49:50 UTC (1317455390)
> >>  >>   >[    1.821905] Refined TSC clocksource calibration: 2394.030 MHz.
> >>  >>   >[60555.473797] Clocksource tsc unstable (delta = -42950328292 ns)
> >>  >>   >
> >>  >>   >(note the last line)
> >>  >>   >
> >>  >>
> >>  >>   Do you get a similar error with kvmclock?
> >>  >
> >>  >I don't think I did, no.  I'm not completely certain, but pretty
> >>  >sure.
> >>  >
> >>
> >>  Then let's try to understand why it doesn't work with kvmclock.
> >
> >I'd love to.  Suggestions?
> >
> 
> Well, any messages?  

None I can find.  I'll try again later today and double check.

> Alternatively, detailed instructions to reproduce?

Start a VM.  Wait a few days.  Run tcpdump.  The system locks up for
30+ seconds.

That's all I have.  There are, of course, any number of details that
make my VMs different from yours, but they're basically straight
Fedora 15.  I could give arbitrary amounts of detail, but I've no
idea what to concentrate on.

-Robin

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

* Re: Re: [kvm]  Re: [kvm]  Re: [kvm]  Re: [kvm]  Re: tcpdump locks up  kvm host for  a while.
  2011-10-02 17:37                     ` Re: [kvm] " Robin Lee Powell
@ 2011-10-02 19:38                       ` Avi Kivity
  2011-10-03  3:03                         ` Re: [kvm] " Robin Lee Powell
  0 siblings, 1 reply; 20+ messages in thread
From: Avi Kivity @ 2011-10-02 19:38 UTC (permalink / raw)
  To: Robin Lee Powell; +Cc: Nikola Ciprich, kvm


> > 
> > Well, any messages?
> 
> None I can find.  I'll try again later today and double check.


Please do.


> 
> > Alternatively, detailed instructions to reproduce?
> 
> Start a VM.  Wait a few days.  Run tcpdump.  The system locks up for
> 30+ seconds.

How do you detect the lockup?  Are you at the console when this happens and everything just freezes?  The entire host, right, not guests?

Is the lockup immediate after starting tcpdump?


> 
> That's all I have.  There are, of course, any number of details that
> make my VMs different from yours, but they're basically straight
> Fedora 15.  I could give arbitrary amounts of detail, but I've no
> idea what to concentrate on.
> 

host /proc/cpuinfo
qemu command line

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

* Re: Re: [kvm]  Re: [kvm]  Re: [kvm]  Re: [kvm]  Re: [kvm] Re: tcpdump locks up  kvm host for  a while.
  2011-10-02 19:38                       ` Avi Kivity
@ 2011-10-03  3:03                         ` Robin Lee Powell
  2011-10-03  5:41                           ` Nikola Ciprich
  2011-10-04 18:15                           ` Avi Kivity
  0 siblings, 2 replies; 20+ messages in thread
From: Robin Lee Powell @ 2011-10-03  3:03 UTC (permalink / raw)
  To: Avi Kivity; +Cc: Nikola Ciprich, kvm

On Sun, Oct 02, 2011 at 03:38:29PM -0400, Avi Kivity wrote:
> 
> > > 
> > > Well, any messages?
> > 
> > None I can find.  I'll try again later today and double check.
> 
> 
> Please do.

Oct  2 19:53:01 vrici dbus: [system] Activating service name='net.reactivated.Fprint' (using servicehelper)
Oct  2 19:53:01 vrici dbus: [system] Successfully activated service 'net.reactivated.Fprint'
Oct  2 19:53:55 vrici kernel: [155001.460802] device eth0 entered promiscuous mode
Oct  2 19:53:56 vrici kernel: [155002.367313] device eth0 left promiscuous mode

type=SYSCALL msg=audit(10/02/2011 19:53:14.731:48050) : arch=x86_64 syscall=execve success=yes exit=0 a0=7fff41959fd0 a1=7fc2f48d5150 a2=1474800 a3=6a6222 items=3 ppid=18453 pid=18456 auid=rlpowell uid=rlpowell gid=rlpowell euid=rlpowell suid=rlpowell fsuid=rlpowell egid=rlpowell sgid=rlpowell fsgid=rlpowell tty=pts0 ses=4 comm=date exe=/bin/date subj=staff_u:staff_r:staff_t:s0 key=64bit_execs
----
type=SYSCALL msg=audit(10/02/2011 19:53:56.454:48059) : arch=x86_64 syscall=close success=yes exit=0 a0=3 a1=0 a2=1c11220 a3=7fff2eb675b0 items=0 ppid=18457 pid=18458 auid=rlpowell uid=tcpdump gid=tcpdump euid=tcpdump suid=tcpdump fsuid=tcpdump egid=tcpdump sgid=tcpdump fsgid=tcpdump tty=pts0 ses=4 comm=tcpdump exe=/usr/sbin/tcpdump subj=staff_u:unconfined_r:unconfined_t:s0 key=(null)
type=ANOM_PROMISCUOUS msg=audit(10/02/2011 19:53:56.454:48059) : dev=eth0 prom=no old_prom=yes auid=rlpowell uid=tcpdump gid=tcpdump ses=4

That's all I could find that's even remotely interesting.

> > > Alternatively, detailed instructions to reproduce?
> > 
> > Start a VM.  Wait a few days.  Run tcpdump.  The system locks up
> > for 30+ seconds.
> 
> How do you detect the lockup?  Are you at the console when this
> happens and everything just freezes?  The entire host, right, not
> guests?
> 
> Is the lockup immediate after starting tcpdump?

Ooooh.  Oh, we're on the wrong page entirely.  This *only* happens
on the guests.  tcpdump on the master host causes no trouble of any
kind whatsoever.

I guess I never specified that, maybe?  Shame on me, if so.

If it was the *host*, I wouldn't be complaining on the KVM list,
though, I'd be complaining on the main kernel list.  :)

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.

> > That's all I have.  There are, of course, any number of details that
> > make my VMs different from yours, but they're basically straight
> > Fedora 15.  I could give arbitrary amounts of detail, but I've no
> > idea what to concentrate on.
> > 
> 
> host /proc/cpuinfo

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz
stepping        : 6
cpu MHz         : 2393.999
cache size      : 4096 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm dts tpr_shadow
bogomips        : 4787.99
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz
stepping        : 6
cpu MHz         : 2393.999
cache size      : 4096 KB
physical id     : 0
siblings        : 2
core id         : 1
cpu cores       : 2
apicid          : 1
initial apicid  : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm dts tpr_shadow
bogomips        : 4787.78
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:


> qemu command line

qemu     11811     1  1 Oct01 ?        00:42:13 /usr/bin/qemu-kvm -S -M pc-0.14 -enable-kvm -m 1536 -smp 1,sockets=1,cores=1,threads=1 -name vrici -uuid 20fc34fc-438e-3f51-d53e-406a68f96cbc -nodefconfig -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/vrici.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -boot c -drive file=/dev/mapper/local-vrici_root,if=none,id=drive-virtio-disk0,boot=on,format=raw,cache=none -device virtio-blk-pci,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0 -drive file=/dev/mapper/local-vrici_srv,if=none,id=drive-virtio-disk1,format=raw,cache=none -device virtio-blk-pci,bus=pci.0,addr=0x5,drive=drive-virtio-disk1,id=virtio-disk1 -drive file=/dev/mapper/local-vrici_swap,if=none,id=drive-virtio-disk
 2,format=raw,cache=none -device virtio-blk-pci,bus=pci.0,addr=0x6,drive=drive-virtio-disk2,id=virtio-disk2 -drive file=/dev/mapper/local-vrici_home,if=none,id=drive-virtio-disk3,format=raw,cache=none -device virtio-blk-pci,bus=pci.0,addr=0x8,drive=drive-virtio-disk3,id=virtio-disk3 -netdev tap,fd=32,id=hostnet0 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:34:91:67,bus=pci.0,addr=0x3 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -usb -device usb-tablet,id=input0 -vnc 0.0.0.0:1 -vga cirrus -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7

-Robin

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

* Re: Re: [kvm]  Re: [kvm]  Re: [kvm]  Re: [kvm]  Re: [kvm] Re: tcpdump locks up  kvm host for  a while.
  2011-10-03  3:03                         ` Re: [kvm] " Robin Lee Powell
@ 2011-10-03  5:41                           ` Nikola Ciprich
  2011-10-04 18:15                           ` Avi Kivity
  1 sibling, 0 replies; 20+ messages in thread
From: Nikola Ciprich @ 2011-10-03  5:41 UTC (permalink / raw)
  To: Robin Lee Powell; +Cc: Avi Kivity, kvm

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

> 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.
> 
exactly the same I was describing here some time ago, with the difference
I get a lot of ugly backtraces and sometimes the guest doesn't get to usable state
at all (filesystems switches to read only due to errors or the whole guest locks up)

n.

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: Re: [kvm]  Re: [kvm]  Re: [kvm]  Re: [kvm]  Re: [kvm] Re: tcpdump locks up  kvm host for  a while.
  2011-10-03  3:03                         ` Re: [kvm] " Robin Lee Powell
  2011-10-03  5:41                           ` Nikola Ciprich
@ 2011-10-04 18:15                           ` Avi Kivity
  2011-10-04 19:40                             ` Robin Lee Powell
  1 sibling, 1 reply; 20+ messages in thread
From: Avi Kivity @ 2011-10-04 18:15 UTC (permalink / raw)
  To: Robin Lee Powell; +Cc: Nikola Ciprich, kvm

On 10/03/2011 05:03 AM, Robin Lee Powell wrote:
> >  >  >  Alternatively, detailed instructions to reproduce?
> >  >
> >  >  Start a VM.  Wait a few days.  Run tcpdump.  The system locks up
> >  >  for 30+ seconds.
> >
> >  How do you detect the lockup?  Are you at the console when this
> >  happens and everything just freezes?  The entire host, right, not
> >  guests?
> >
> >  Is the lockup immediate after starting tcpdump?
>
> Ooooh.  Oh, we're on the wrong page entirely.  This *only* happens
> on the guests.  tcpdump on the master host causes no trouble of any
> kind whatsoever.
>
> I guess I never specified that, maybe?  Shame on me, if so.

Well, the subject line does say "kvm host".

> If it was the *host*, I wouldn't be complaining on the KVM list,
> though, I'd be complaining on the main kernel list.  :)

Be sure to copy kvm@ too if it happens - certainly kvm bugs can affect 
the host.

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

>
> >  >  That's all I have.  There are, of course, any number of details that
> >  >  make my VMs different from yours, but they're basically straight
> >  >  Fedora 15.  I could give arbitrary amounts of detail, but I've no
> >  >  idea what to concentrate on.
> >  >
> >
> >  host /proc/cpuinfo
>
> model name      : Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz
> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm dts tpr_shadow

constant_tsc indicates tsc should be good.


>
> >  qemu command line
>
> qemu     11811     1  1 Oct01 ?        00:42:13 /usr/bin/qemu-kvm -S -M pc-0.14 -enable-kvm -m 1536 -smp 1,sockets=1,cores=1,threads=1 -name vrici -uuid 20fc34fc-438e-3f51-d53e-406a68f96cbc -nodefconfig -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/vrici.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -boot c -drive file=/dev/mapper/local-vrici_root,if=none,id=drive-virtio-disk0,boot=on,format=raw,cache=none -device virtio-blk-pci,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0 -drive file=/dev/mapper/local-vrici_srv,if=none,id=drive-virtio-disk1,format=raw,cache=none -device virtio-blk-pci,bus=pci.0,addr=0x5,drive=drive-virtio-disk1,id=virtio-disk1 -drive file=/dev/mapper/local-vrici_swap,if=none,id=drive-virtio-di
 sk2,format=raw,cache=none -device virtio-blk-pci,bus=pci.0,addr=0x6,drive=drive-virtio-disk2,id=virtio-disk2 -drive file=/dev/mapper/local-vrici_home,if=none,id=drive-virtio-disk3,format=raw,cache=none -device virtio-blk-pci,bus=pci.0,addr=0x8,drive=drive-virtio-disk3,id=virtio-disk3 -netdev tap,fd=32,id=hostnet0 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:34:91:67,bus=pci.0,addr=0x3 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -usb -device usb-tablet,id=input0 -vnc 0.0.0.0:1 -vga cirrus -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7
>

Nothing suspicious here.

-- 
error compiling committee.c: too many arguments to function



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

* Re: tcpdump locks up  kvm host for  a while.
  2011-10-04 18:15                           ` Avi Kivity
@ 2011-10-04 19:40                             ` Robin Lee Powell
  2011-10-05 18:21                               ` Avi Kivity
  0 siblings, 1 reply; 20+ messages in thread
From: Robin Lee Powell @ 2011-10-04 19:40 UTC (permalink / raw)
  To: Avi Kivity; +Cc: Nikola Ciprich, kvm

On Tue, Oct 04, 2011 at 08:15:12PM +0200, Avi Kivity wrote:
> On 10/03/2011 05:03 AM, Robin Lee Powell wrote:
> >>  >  >  Alternatively, detailed instructions to reproduce?
> >>  >
> >>  >  Start a VM.  Wait a few days.  Run tcpdump.  The system
> >>  >  locks up for 30+ seconds.
> >>
> >>  How do you detect the lockup?  Are you at the console when
> >>  this happens and everything just freezes?  The entire host,
> >>  right, not guests?
> >>
> >>  Is the lockup immediate after starting tcpdump?
> >
> >Ooooh.  Oh, we're on the wrong page entirely.  This *only*
> >happens on the guests.  tcpdump on the master host causes no
> >trouble of any kind whatsoever.
> >
> >I guess I never specified that, maybe?  Shame on me, if so.
> 
> Well, the subject line does say "kvm host".

*mega-face-palm*

(the subject line is also filled with crap of my own devising; I
think I've fixed the script in question)

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

> >>  >  That's all I have.  There are, of course, any number of details that
> >>  >  make my VMs different from yours, but they're basically straight
> >>  >  Fedora 15.  I could give arbitrary amounts of detail, but I've no
> >>  >  idea what to concentrate on.
> >>  >
> >>
> >>  host /proc/cpuinfo
> >
> >model name      : Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz
> >flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm dts tpr_shadow
> 
> constant_tsc indicates tsc should be good.

Yeah, that's what hte host is on.

-Robin

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

* Re: tcpdump locks up  kvm host for  a while.
  2011-10-04 19:40                             ` Robin Lee Powell
@ 2011-10-05 18:21                               ` Avi Kivity
       [not found]                                 ` <20111005183653.GF3023@stodi.digitalkingdom.org>
  0 siblings, 1 reply; 20+ messages in thread
From: Avi Kivity @ 2011-10-05 18:21 UTC (permalink / raw)
  To: Robin Lee Powell; +Cc: Nikola Ciprich, kvm

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.

Please post the output of 'perf kvm report > log'.

-- 
error compiling committee.c: too many arguments to function


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

* Re: Re: tcpdump locks up  kvm host for  a while.
       [not found]                                 ` <20111005183653.GF3023@stodi.digitalkingdom.org>
@ 2011-10-05 20:29                                   ` Robin Lee Powell
  2011-10-10 13:08                                     ` Avi Kivity
  0 siblings, 1 reply; 20+ messages in thread
From: Robin Lee Powell @ 2011-10-05 20:29 UTC (permalink / raw)
  To: kvm

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

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

* Re: Re: tcpdump locks up  kvm host for  a while.
  2011-10-05 20:29                                   ` Robin Lee Powell
@ 2011-10-10 13:08                                     ` Avi Kivity
  0 siblings, 0 replies; 20+ messages in thread
From: Avi Kivity @ 2011-10-10 13:08 UTC (permalink / raw)
  To: Robin Lee Powell; +Cc: kvm

On 10/05/2011 10:29 PM, Robin Lee Powell wrote:
> >
> >  #
> >  # (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

This is in userspace, so it seems the guest wasn't completely stuck.

Try 'top -b' inside the guest to record what happens, let's see what 
processes this is and go from there.

>      25.14%  qemu-kvm  [guest.kernel.kallsyms]  [g] 0xffffffff811112f0

This doesn't resolve, please make sure the kernel-debuginfo package is 
installed in the guest and use the guestmount option.  (or you can 
install it in the host, I think)


-- 
error compiling committee.c: too many arguments to function


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

end of thread, other threads:[~2011-10-10 13:08 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-28  2:01 tcpdump locks up kvm host for a while Robin Lee Powell
2011-09-29 19:07 ` Robin Lee Powell
2011-09-30 19:03   ` Nikola Ciprich
2011-09-30 22:19     ` Robin Lee Powell
2011-10-01  7:36       ` Nikola Ciprich
2011-10-02  0:45         ` Re: [kvm] " Robin Lee Powell
2011-10-02 17:06           ` Avi Kivity
2011-10-02 17:07             ` Re: [kvm] " Robin Lee Powell
2011-10-02 17:12               ` Avi Kivity
2011-10-02 17:13                 ` Re: [kvm] " Robin Lee Powell
2011-10-02 17:21                   ` Avi Kivity
2011-10-02 17:37                     ` Re: [kvm] " Robin Lee Powell
2011-10-02 19:38                       ` Avi Kivity
2011-10-03  3:03                         ` Re: [kvm] " Robin Lee Powell
2011-10-03  5:41                           ` Nikola Ciprich
2011-10-04 18:15                           ` Avi Kivity
2011-10-04 19:40                             ` Robin Lee Powell
2011-10-05 18:21                               ` Avi Kivity
     [not found]                                 ` <20111005183653.GF3023@stodi.digitalkingdom.org>
2011-10-05 20:29                                   ` Robin Lee Powell
2011-10-10 13:08                                     ` Avi Kivity

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.