From: Alex Williamson <alex.williamson@hp.com>
To: Marcelo Tosatti <mtosatti@redhat.com>
Cc: kvm-devel <kvm@vger.kernel.org>
Subject: Re: does anyone run guests for more than 5 minutes? (virtio-net perf anomaly)
Date: Fri, 06 Mar 2009 10:25:19 -0700 [thread overview]
Message-ID: <1236360319.7276.209.camel@lappy> (raw)
In-Reply-To: <20090306171740.GA14077@amt.cnet>
On Fri, 2009-03-06 at 14:17 -0300, Marcelo Tosatti wrote:
> On Fri, Mar 06, 2009 at 08:26:33AM -0700, Alex Williamson wrote:
> > On Thu, 2009-03-05 at 21:25 -0700, Alex Williamson wrote:
> > > On Thu, 2009-03-05 at 21:04 -0300, Marcelo Tosatti wrote:
> > > > On Tue, Mar 03, 2009 at 01:13:41PM -0700, Alex Williamson wrote:
> > > > > Any guesses as to what might be going on? Can anyone reproduce? I'm
> > > > > hoping that I'm doing something dumb, but can't figure out what it is.
> > > > > The system is running v2.6.29-rc6-121-g64e7130 in the guest,
> > > > > v2.6.29-rc6-123-gbd7b3b4 on the host, kvm module kvm-84-620-g5bffffc and
> > > > > userspace kvm-84-95-gea1b668. Thanks,
> > > >
> > > > Nope. Collect kvm_stat -l before/after the slowdown?
> > >
> > > Attached. This shows about 1 minute of data before the slowdown and a
> > > dramatic change starting around the 80th row. Thanks,
> >
> > For a bit easier consumption, here's a google spreadsheet and chart of
> > what appear to be the interesting columns:
> >
> > http://spreadsheets.google.com/pub?key=pdwpc4VwMbjWxyQfvw8AEYg
> >
> > Alex
>
> irq_injection goes up significantly. Is it virtio_net generating more
> interrupts? Check the rate of irq's generated by hw/virtio-net.c and
> compare that with rate seen in /proc/interrupts inside the guest?
The rate inside the guest more than doubles when things slow down, ~2k/s
-> ~4.5k/s. Also interesting, the soft interrupt time reported by top
in the guest goes from ~65% to zero. I haven't checked what
hw/virtio-net.c is generating. FWIW, it's not processor specific, I see
the same thing on an AMD based system, as shown in the updated
spreadsheet. Thanks,
Alex
prev parent reply other threads:[~2009-03-06 17:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-03 20:13 does anyone run guests for more than 5 minutes? (virtio-net perf anomaly) Alex Williamson
2009-03-06 0:04 ` Marcelo Tosatti
2009-03-06 4:13 ` Alex Williamson
2009-03-06 15:26 ` Alex Williamson
2009-03-06 17:17 ` Marcelo Tosatti
2009-03-06 17:25 ` Alex Williamson [this message]
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=1236360319.7276.209.camel@lappy \
--to=alex.williamson@hp.com \
--cc=kvm@vger.kernel.org \
--cc=mtosatti@redhat.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox