From: Avi Kivity <avi@redhat.com>
To: Michael Tokarev <mjt@tls.msk.ru>
Cc: KVM list <kvm@vger.kernel.org>, Svante Signell <srs@kth.se>,
Gleb Natapov <gleb@redhat.com>
Subject: Re: major slowdown in i/o (due to high CPU usage) from 2.6.32 to current
Date: Tue, 19 Jul 2011 12:14:36 +0300 [thread overview]
Message-ID: <4E254AFC.8040405@redhat.com> (raw)
In-Reply-To: <4E249499.4050502@msgid.tls.msk.ru>
On 07/18/2011 11:16 PM, Michael Tokarev wrote:
> It all started by Svante Signell on IRC, see
> http://bugs.debian.org/634149 . The short story:
> running hurd guest image (on ide drive); when changing
> only host kernel from 2.6.32 to (in my case) 3.0.0-rc7,
> the i/o (especially write) speed of the guest reduces
> dramatically, as is host CPU usage. I used a cd-1.iso
> install image from the URL provided in the bugreport,
> http://people.debian.org/~sthibault/hurd-i386/installer/cdimage/ --
> even installing packages is very significantly slower
> in current kernels than it was in 2.6.32.
>
> Typical kvm_stats output on 3.0.0 host kernel:
>
> kvm-18166 [001] 47471.398406: kvm_emulate_insn: 80000000:160750: f3 66 6f
> kvm-18166 [001] 47471.398406: kvm_pio: pio_write at 0x1f0 size 2 count 1
> kvm-18166 [001] 47471.398407: kvm_userspace_exit: reason KVM_EXIT_IO (2)
> kvm-18166 [001] 47471.398408: kvm_entry: vcpu 0
> kvm-18166 [001] 47471.398409: kvm_exit: reason EXIT_IOIO rip 0x160750 info 1f0012c 0
>
>
> Gleb, Avi -- what we're missing here?
>
> It does not look like the problem we have with FreeBSD,
> this is apparently something different...
Looks like hurd doesn't use DMA. Instead it uses rep/outsw, which
indeed has a performance regression - it now exits on every word instead
of on every sector.
Gleb?
--
error compiling committee.c: too many arguments to function
next prev parent reply other threads:[~2011-07-19 9:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-18 20:16 major slowdown in i/o (due to high CPU usage) from 2.6.32 to current Michael Tokarev
2011-07-19 9:14 ` Avi Kivity [this message]
2011-07-19 9:16 ` Gleb Natapov
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=4E254AFC.8040405@redhat.com \
--to=avi@redhat.com \
--cc=gleb@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=mjt@tls.msk.ru \
--cc=srs@kth.se \
/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