All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Mueller <thomas@chaschperli.ch>
To: kvm@vger.kernel.org
Subject: Re: Shouldn't cache=none be the default for drives?
Date: Thu, 8 Apr 2010 05:07:02 +0000 (UTC)	[thread overview]
Message-ID: <hpjo9m$tv8$1@dough.gmane.org> (raw)
In-Reply-To: 4BBC992D.3050905@gmail.com

Am Wed, 07 Apr 2010 16:39:41 +0200 schrieb Troels Arvin:

> Hello,
> 
> I'm conducting some performancetests with KVM-virtualized CentOSes. One
> thing I noticed is that guest I/O performance seems to be significantly
> better for virtio-based block devices ("drive"s) if the cache=none
> argument is used. (This was with a rather powerful storage system
> backend which is hard to saturate.)
> 
> So: Why isn't cache=none be the default for drives?

while ago i suffered poor performance of virtio and win2008. 

This helped alot:

I enabled "deadline" block scheduler instead of the default "cfq" on the 
host system. tested with: Host Debian with scheduler deadline, Guest 
Win2008 with Virtio and cache=none. (26MB/s to 50MB/s boost measured) 
Maybe this is also true for Linux/Linux.

I expect that scheduler "noop" for linux guests would be good.

- Thomas



  parent reply	other threads:[~2010-04-08  5:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-07 14:39 Shouldn't cache=none be the default for drives? Troels Arvin
2010-04-07 15:17 ` Gordan Bobic
2010-04-08  5:07 ` Thomas Mueller [this message]
2010-04-08  6:05   ` Michael Tokarev
2010-04-08  6:09     ` Thomas Mueller
2010-04-08  6:23       ` Thomas Mueller
2010-04-08 10:08     ` Christoph Hellwig

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='hpjo9m$tv8$1@dough.gmane.org' \
    --to=thomas@chaschperli.ch \
    --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.