qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: Jes.Sorensen@redhat.com
Cc: hch@infradead.org, aliguori@us.ibm.com, qemu-devel@nongnu.org,
	crobinso@redhat.com
Subject: Re: [Qemu-devel] [PATCH] QEMU: change default disk cache behavior
Date: Thu, 20 May 2010 07:30:28 -0500	[thread overview]
Message-ID: <4BF52B64.1020903@codemonkey.ws> (raw)
In-Reply-To: <1274347924-9188-1-git-send-email-Jes.Sorensen@redhat.com>

On 05/20/2010 04:32 AM, Jes.Sorensen@redhat.com wrote:
> From: Jes Sorensen<Jes.Sorensen@redhat.com>
>
> We seem to get into the discussion of what is the correct default
> setting disk images in QEMU. The libvirt team is reluctant to change
> specified for newly created images without the default setting
> matching it, and everybody seems to agree that the current setting of
> WT is the worse possible option.
>
> 'nocache' seems to be the preferred option, but it doesn't work for
> all cases, like images on ramfs, NFS etc.
>
> Therefore, here is a patch that does two things:
>   - default to "nocache"
>   - in case of failure with nocache, retry with "write-back"
>    

This sort of change requires performance data in a variety of 
circumstances to justify.

And I strongly suspect that such a blanket change would be wrong but 
that a more targeted change like making cache=none default for physical 
devices would satisfy mostly everyone.

Regards,

Anthony Liguori

> Jes Sorensen (1):
>    QEMU: Change default disk caching to nocache
>
>   vl.c |   25 +++++++++++++++++++------
>   1 files changed, 19 insertions(+), 6 deletions(-)
>
>
>    

  parent reply	other threads:[~2010-05-20 12:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-20  9:32 [Qemu-devel] [PATCH] QEMU: change default disk cache behavior Jes.Sorensen
2010-05-20  9:32 ` [Qemu-devel] [PATCH] QEMU: Change default disk caching to nocache Jes.Sorensen
2010-05-20 15:24   ` [Qemu-devel] " Paolo Bonzini
2010-05-20 18:56     ` Anthony Liguori
2010-05-20 12:30 ` Anthony Liguori [this message]
2010-05-20 13:36   ` [Qemu-devel] [PATCH] QEMU: change default disk cache behavior Jes Sorensen
2010-05-20 13:40     ` Anthony Liguori
2010-05-20 13:49       ` Jes Sorensen
2010-05-20 14:05         ` Stefan Hajnoczi
2010-05-20 18:58         ` Anthony Liguori

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=4BF52B64.1020903@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=Jes.Sorensen@redhat.com \
    --cc=aliguori@us.ibm.com \
    --cc=crobinso@redhat.com \
    --cc=hch@infradead.org \
    --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).