From: "Brian J. Murrell" <brian@interlinx.bc.ca>
To: kvm@vger.kernel.org
Subject: Re: 5x slower guest disk performance with virtio disk
Date: Thu, 15 Dec 2011 11:55:31 -0500 [thread overview]
Message-ID: <4EEA2683.8080206@interlinx.bc.ca> (raw)
In-Reply-To: <20111215164434.IsVHDbflPT5f2Ac8ivIKgk@consulting.lsexperts.de>
[-- Attachment #1: Type: text/plain, Size: 1122 bytes --]
On 11-12-15 10:47 AM, Stefan Pietsch wrote:
>
> Did you try to set the cache of the virtio disk to "none"?
I didn't. It was set at "default" in virt-manager and I suppose I just
assumed that "default" would be reasonable.
Changing to "none" has had a good effect indeed:
host $ ssh guest dd of=/dev/vdb if=/dev/zero bs=1M oflag=direct count=10000
10000+0 records in
10000+0 records out
10485760000 bytes (10 GB) copied, 49.9241 s, 210 MB/s
host $ ssh guest dd of=/dev/vdb if=/dev/zero bs=1M oflag=direct count=10000
10000+0 records in
10000+0 records out
10485760000 bytes (10 GB) copied, 54.7737 s, 191 MB/s
host $ ssh guest dd of=/dev/vdb if=/dev/zero bs=1M oflag=direct count=10000
10000+0 records in
10000+0 records out
10485760000 bytes (10 GB) copied, 50.9851 s, 206 MB/s
host $ sudo dd of=/dev/datavol/disk1 if=/dev/zero bs=1M oflag=direct count=10000
10000+0 records in
10000+0 records out
10485760000 bytes (10 GB) copied, 31.0545 s, 338 MB/s
So, about 2/3 of host speed now -- which is much better. Is 2/3 about
normal or should I be looking for more?
Thanks much!
b.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]
next prev parent reply other threads:[~2011-12-15 16:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-15 14:28 5x slower guest disk performance with virtio disk Brian J. Murrell
2011-12-15 15:47 ` Stefan Pietsch
2011-12-15 16:55 ` Brian J. Murrell [this message]
2011-12-15 17:16 ` Sasha Levin
2011-12-15 17:27 ` Daniel P. Berrange
2011-12-15 19:43 ` Brian J. Murrell
2011-12-16 2:47 ` Simon Wilson
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=4EEA2683.8080206@interlinx.bc.ca \
--to=brian@interlinx.bc.ca \
--cc=kvm@vger.kernel.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 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.