All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Tomasz Chmielewski <mangoo@wpkg.org>
Cc: Felix Leimbach <felix.leimbach@gmx.net>,
	kvm@vger.kernel.org, Rusty Russell <rusty@rustcorp.com.au>,
	Anthony Liguori <anthony@codemonkey.ws>
Subject: Re: strange guest slowness after some time
Date: Wed, 18 Mar 2009 08:29:36 +0200	[thread overview]
Message-ID: <49C094D0.2070905@redhat.com> (raw)
In-Reply-To: <49BFF8D2.5080000@wpkg.org>

Tomasz Chmielewski wrote:
> Felix Leimbach schrieb:
>
>>> OK, another bug found.
>>>
>>> Set your MTU to 100.
>>>
>>> On two hosts, do:
>>>
>>> HOST1_MTU1500# dd if=/dev/zero | ssh manager@HOST2 dd of=/dev/null
>>> HOST2_MTU100# dd if=/dev/zero | ssh manager@HOST1 dd of=/dev/null
>>>
>>> HOST2 with MTU 100 will crash after 10-15 minutes (with packet count 
>>> still not overflown).
>>>
>> Intersting. What are the packet counter at crash time (roughly)?
>>
>> My - currently running - test is:
>>
>> Guest 1 (Linux):
>> MTU 150
>> # cat /dev/zero | nc <guest2ip> 7777
>>
>> Guest 2 (Windows 2003 Server):
>> MTU: 1500
>> # nc -l -p 7777 > NUL
>>
>> My packet are currently at 63 million without a problem - yet.
>
> I have it running with MTU 1500. And one of the guests (the one which 
> was crashing with MTU=100) froze.
>
> On a VNC console I can see:
>
> virtio_net virtio0: id 64 is not a head!
> BUG: soft lockup - CPU#0 stuck for 61s! [ssh:2265]
>
> And "soft lockup" is being printed periodically. VNC and serial 
> console do not react to any key press. Guest do not react on ACPI 
> events (shutdown).
> kvm/qemu process is using 100% CPU.
>
> See this screenshot:
>
> http://www1.wpkg.org/lockup.png
>
>
> Guest that locks up is running Debian Lenny with 2.6.26 kernel.
> Guest that does not lock up runs Mandriva 2009.0 with 2.6.27.x kernel.
> (data being transferred both side to/from each of these hosts).

Copying the virtio folks... something is wrong.

You can obtain a stack trace of the locked up guest by doing

  (qemu) gdbserver 1234

  $ gdb /path/to/guest/vmlinux
  (gdb) target remote localhost:1234
  (gdb) backtrace

I don't know host you obtain the guest vmlinux on debian; on Fedora it 
is contained in kernel-debuginfo.

-- 
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.


  parent reply	other threads:[~2009-03-18  6:29 UTC|newest]

Thread overview: 70+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-07 15:47 strange guest slowness after some time Tomasz Chmielewski
2009-03-07 16:41 ` Johannes Baumann
2009-03-07 16:54   ` Tomasz Chmielewski
2009-03-09  9:18 ` Tomasz Chmielewski
2009-03-09  9:28   ` Tomasz Chmielewski
2009-03-19 13:03     ` Tomasz Chmielewski
2009-03-09  9:55 ` Avi Kivity
2009-03-09 10:22   ` Tomasz Chmielewski
2009-03-09 10:25     ` Avi Kivity
2009-03-09 10:31       ` Tomasz Chmielewski
2009-03-09 10:37         ` Avi Kivity
2009-03-09 10:54           ` Tomasz Chmielewski
2009-03-09 11:37             ` Tomasz Chmielewski
2009-03-09 12:14               ` Avi Kivity
2009-03-09 12:52                 ` Tomasz Chmielewski
2009-03-15 15:41                   ` Avi Kivity
2009-03-15 16:14                     ` Avi Kivity
2009-03-15 13:19       ` Tomasz Chmielewski
2009-03-17 10:47         ` Tomasz Chmielewski
2009-03-17 11:16           ` Avi Kivity
2009-03-17 11:25             ` Tomasz Chmielewski
2009-03-17 15:32               ` Felix Leimbach
2009-03-17 15:43                 ` Tomasz Chmielewski
2009-03-17 17:01                   ` Felix Leimbach
2009-03-17 17:05                     ` Avi Kivity
2009-03-17 18:49                       ` Felix Leimbach
2009-03-18  6:36                         ` Avi Kivity
2009-03-18  7:57                           ` Felix Leimbach
2009-03-18  8:48                             ` Avi Kivity
2009-03-18  9:08                               ` Felix Leimbach
2009-03-17 17:38                     ` Tomasz Chmielewski
2009-06-08 11:02                       ` Felix Leimbach
2009-06-16 14:26                         ` Tomasz Chmielewski
2009-03-31  8:50                     ` Tomasz Chmielewski
2009-04-01  4:22                       ` David S. Ahern
2009-04-01  6:21                         ` Tomasz Chmielewski
2009-04-06 15:19                           ` Tomasz Chmielewski
2009-04-08  0:49                             ` Rusty Russell
2009-04-08  5:45                               ` Tomasz Chmielewski
2009-05-26 11:49                               ` Tomasz Chmielewski
2009-05-26 11:55                                 ` Avi Kivity
2009-05-26 12:05                                   ` Tomasz Chmielewski
2009-05-26 12:10                                     ` Avi Kivity
2009-05-26 14:07                                       ` Tomasz Chmielewski
2009-05-26 14:35                                         ` Avi Kivity
2009-05-28 14:58                                           ` Tomasz Chmielewski
2009-05-31  8:43                                             ` Avi Kivity
2009-03-17 15:52                 ` Avi Kivity
2009-03-17 16:12                   ` Tomasz Chmielewski
2009-03-17 17:05                     ` Felix Leimbach
2009-03-17 17:10                       ` Avi Kivity
2009-03-17 17:43                         ` Tomasz Chmielewski
2009-03-17 18:55                           ` Tomasz Chmielewski
2009-03-17 19:04                             ` Felix Leimbach
2009-03-17 19:24                               ` Tomasz Chmielewski
2009-03-17 20:14                                 ` Tomasz Chmielewski
2009-03-17 22:34                                   ` Tomasz Chmielewski
2009-03-17 23:02                                     ` Tomasz Chmielewski
2009-03-18  6:29                                 ` Avi Kivity [this message]
2009-03-19  4:59                                   ` Rusty Russell
2009-03-19  5:22                                     ` David S. Ahern
2009-03-19  6:08                                       ` David S. Ahern
2009-03-19  8:03                                         ` Tomasz Chmielewski
2009-03-19 14:11                                           ` David S. Ahern
2009-03-17 18:57                         ` Felix Leimbach
2009-03-18  5:54                         ` Felix Leimbach
2009-03-17 16:27                 ` Tomasz Chmielewski
2009-03-17 17:14                   ` Felix Leimbach
2009-03-17 17:19                     ` Avi Kivity
2009-03-17 17:34                     ` Tomasz Chmielewski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49C094D0.2070905@redhat.com \
    --to=avi@redhat.com \
    --cc=anthony@codemonkey.ws \
    --cc=felix.leimbach@gmx.net \
    --cc=kvm@vger.kernel.org \
    --cc=mangoo@wpkg.org \
    --cc=rusty@rustcorp.com.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.