From: Kevin Wolf <kwolf@redhat.com>
To: ein <ein.net@gmail.com>
Cc: Fam Zheng <famz@redhat.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Very poor IO performance which looks like some design problem.
Date: Tue, 14 Apr 2015 12:31:39 +0200 [thread overview]
Message-ID: <20150414103139.GD4824@noname.redhat.com> (raw)
In-Reply-To: <552BB682.6070707@gmail.com>
Am 13.04.2015 um 14:28 hat ein geschrieben:
> Dear Fam,
>
> Check out my update please:
> http://lists.nongnu.org/archive/html/qemu-devel/2015-04/msg01318.html
>
> Using aio=native,cache=none results in 500%-2000% performance drop comparing to
> bare metal and 300%-1000% comparing to aio=threads,cache=unsafe.
cache=unsafe isn't really useful to compare against because it throws
all flush requests away. If your benchmark includes disk flushes, you're
only cheating yourself with this mode.
It's generally accepted that cache=none,aio=native is the best
configuration for such scenarios. Also make sure to use the right guest
configuration; for example, using the right I/O scheduler can make a
major difference for Linux guests. Not sure how to configure Windows for
best performance, maybe someone else can help with that.
If you insist on cheating and would like to combine both, you could give
'cache=none,cache.no-flush=on,aio=native' a try.
Kevin
prev parent reply other threads:[~2015-04-14 10:31 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-10 20:38 [Qemu-devel] Very poor IO performance which looks like some design problem ein
2015-04-11 13:09 ` Paolo Bonzini
2015-04-11 17:10 ` ein
2015-04-11 19:00 ` ein
2015-04-13 1:45 ` Fam Zheng
2015-04-13 12:28 ` ein
2015-04-13 13:53 ` Paolo Bonzini
2015-04-14 10:31 ` Kevin Wolf [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=20150414103139.GD4824@noname.redhat.com \
--to=kwolf@redhat.com \
--cc=ein.net@gmail.com \
--cc=famz@redhat.com \
--cc=qemu-devel@nongnu.org \
/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;
as well as URLs for NNTP newsgroup(s).