qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@gmail.com>
To: xuanmao_001 <xuanmao_001@163.com>
Cc: Kevin Wolf <kwolf@redhat.com>, qemu-devel <qemu-devel@nongnu.org>,
	qemu-discuss <qemu-discuss@nongnu.org>
Subject: Re: [Qemu-devel] question about qemu disk cache mode
Date: Wed, 4 Sep 2013 12:03:21 +0200	[thread overview]
Message-ID: <20130904100321.GE9654@stefanha-thinkpad.redhat.com> (raw)
In-Reply-To: <2013090411470490667813@163.com>

On Wed, Sep 04, 2013 at 11:47:04AM +0800, xuanmao_001 wrote:
> my qemu-kvm version is 1.0.1
> I would like to figure out the qemu disk cache mode. I have visited the qemu-options.hx
> there is two cache that I didn't understand: the host cache page and the qemu disk write cache.
> 
> Is "host page cache" only used for read. and "qemu disk write cache" used for writing.
> 
> which cache the data reached first? host page cache or qemu disk write cache?

The following slides might be helpful in explaining the caching modes:
https://events.linuxfoundation.org/slides/2011/linuxcon-japan/lcj2011_hajnoczi.pdf

Stefan

      parent reply	other threads:[~2013-09-04 10:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-04  3:47 [Qemu-devel] question about qemu disk cache mode xuanmao_001
2013-09-04  8:00 ` Kevin Wolf
2013-09-04  9:07   ` xuanmao_001
2013-09-04  9:45     ` Kevin Wolf
2013-09-04 10:18       ` xuanmao_001
2013-09-04 10:03 ` Stefan Hajnoczi [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=20130904100321.GE9654@stefanha-thinkpad.redhat.com \
    --to=stefanha@gmail.com \
    --cc=kwolf@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-discuss@nongnu.org \
    --cc=xuanmao_001@163.com \
    /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).