public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Virtbie <virtbie@shiftmail.org>
To: "'KVM-ML (kvm@vger.kernel.org)'" <kvm@vger.kernel.org>
Subject: Re: Virtual drives performance
Date: Wed, 07 Sep 2011 16:38:44 +0200	[thread overview]
Message-ID: <4E6781F4.7060807@shiftmail.org> (raw)
In-Reply-To: <4E669DD6.5010805@o2.pl>

On 09/07/11 00:25, TooMeeK wrote:
>
> Next, I've tried following combinations with virt-manager 0.8.4 (from
> XML of VM):
> 1.on Debian VM with virtio drivers for both storage and NIC:
> <disk type='block' device='disk'>
> <source dev='/dev/md3'/>
> <target dev='vdb' bus='virtio'/>
> partition type used in guest: EXT4
> result: poor performance, 9-10MB/s sequentional copy via SMB
> 2.on Debian VM with virtio drivers:
> <disk type='block' device='disk' cache='writeback'>
> <source dev='/dev/md3'/>
> <target dev='vdb' bus='virtio'/>
> partition type used: EXT4
> result: poor performance, 10-15MB/s sequentional copy via SMB
> 3.Direct attached partition to FreeBSD VM without virtio support
> (e1000 NIC and SCSI disk):
> <disk type='block' device='disk' cache='writeback'>

Shouldn't have you used cache=none when using virtio?
http://www.linux-kvm.org/page/Tuning_KVM
how is that performance with cache none?

Also note that when you don't specify it, I think the default is not 
none. Maybe it is writethrough, I don't remember.


      parent reply	other threads:[~2011-09-08  0:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-06 22:25 Virtual drives performance TooMeeK
2011-09-07  5:50 ` martin f krafft
2011-09-07  7:52 ` Stefan Hajnoczi
2011-09-07  9:46 ` Asdo
2011-09-07 14:38 ` Virtbie [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=4E6781F4.7060807@shiftmail.org \
    --to=virtbie@shiftmail.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox