qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Eric Blake <eblake@redhat.com>
To: Leonid Bloch <lbloch@janustech.com>, qemu-devel@nongnu.org
Cc: Kevin Wolf <kwolf@redhat.com>,
	qemu-block@nongnu.org, Max Reitz <mreitz@redhat.com>
Subject: Re: [Qemu-devel] [PATCH 2/4 for-3.0] docs: Fix an inaccuracy due to recent changes
Date: Tue, 24 Jul 2018 10:22:27 -0500	[thread overview]
Message-ID: <ca726bf0-2ae9-ab90-5b42-61a9637ed1e5@redhat.com> (raw)
In-Reply-To: <20180724121753.5753-3-lbloch@janustech.com>

On 07/24/2018 07:17 AM, Leonid Bloch wrote:
> Signed-off-by: Leonid Bloch <lbloch@janustech.com>
> ---
>   docs/qcow2-cache.txt | 6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)

Updating the subject line, since this doc fix is appropriate for 3.0, if 
it is correct.

> 
> diff --git a/docs/qcow2-cache.txt b/docs/qcow2-cache.txt
> index 8a09a5cc5f..a0a1267482 100644
> --- a/docs/qcow2-cache.txt
> +++ b/docs/qcow2-cache.txt
> @@ -97,9 +97,9 @@ need:
>      l2_cache_size = disk_size_GB * 131072
>      refcount_cache_size = disk_size_GB * 32768
>   
> -QEMU has a default L2 cache of 1MB (1048576 bytes) and a refcount
> -cache of 256KB (262144 bytes), so using the formulas we've just seen
> -we have
> +QEMU has a default L2 cache of 1MB (1048576 bytes) or 8 clusters (whichever
> +is larger) and a refcount cache of 256KB (262144 bytes), so using the
> +formulas we've just seen we have (assuming the L2 cache is 1MB):
>   
>      1048576 / 131072 = 8 GB of virtual disk covered by that cache
>       262144 /  32768 = 8 GB
> 

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

  parent reply	other threads:[~2018-07-24 15:22 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-24 12:17 [Qemu-devel] [PATCH 0/4] Introduction of l2-cache-full option for qcow2 images Leonid Bloch
2018-07-24 12:17 ` [Qemu-devel] [PATCH 1/4] qcow2: Introduce an option for sufficient L2 cache for the entire image Leonid Bloch
2018-07-24 14:52   ` Eric Blake
2018-08-03  9:27     ` Alberto Garcia
2018-07-24 12:17 ` [Qemu-devel] [PATCH 2/4] docs: Fix an inaccuracy due to recent changes Leonid Bloch
2018-07-24 15:20   ` Eric Blake
2018-07-24 16:25     ` Leonid Bloch
2018-07-24 15:22   ` Eric Blake [this message]
2018-07-24 12:17 ` [Qemu-devel] [PATCH 3/4] docs: Document the l2-cache-full option Leonid Bloch
2018-07-24 15:21   ` Eric Blake
2018-07-24 16:28     ` Leonid Bloch
2018-07-24 12:17 ` [Qemu-devel] [PATCH 4/4] iotests: Add tests for the new " Leonid Bloch
2018-07-24 15:24   ` Eric Blake
2018-07-24 14:49 ` [Qemu-devel] [PATCH 0/4] Introduction of l2-cache-full option for qcow2 images Eric Blake
2018-07-24 15:19   ` Leonid Bloch

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=ca726bf0-2ae9-ab90-5b42-61a9637ed1e5@redhat.com \
    --to=eblake@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=lbloch@janustech.com \
    --cc=mreitz@redhat.com \
    --cc=qemu-block@nongnu.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).