docs: document how to configure the qcow2 L2/refcount caches
commit7f65ce834accce0b7e4bc79313bacf229b957783
authorAlberto Garcia <berto@igalia.com>
Tue, 4 Aug 2015 12:14:41 +0000 (4 15:14 +0300)
committerMax Reitz <mreitz@redhat.com>
Fri, 4 Sep 2015 19:00:32 +0000 (4 21:00 +0200)
tree6d94ab06cb14d088b7565f97299fd2324ab8b9c6
parent279621c046ce57de0af9e3c00663b48d3a7835ae
docs: document how to configure the qcow2 L2/refcount caches

QEMU has options to configure the size of the L2 and refcount
caches for the qcow2 format. However, choosing the right sizes for
a particular disk image is not a straightforward operation since
the ratio between the cache size and the allocated disk space is
not obvious and depends on the size of the cluster and the refcount
entries.

This document attempts to give an overview of both caches and how to
configure their sizes.

Signed-off-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-id: 55de928e139b1ba3f3d40fe9c6c88f30b1f36410.1438690126.git.berto@igalia.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
docs/qcow2-cache.txt [new file with mode: 0644]