[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-block] [PATCH v3 5/5] docs: Document the l2-cache-full option
From: |
Leonid Bloch |
Subject: |
[Qemu-block] [PATCH v3 5/5] docs: Document the l2-cache-full option |
Date: |
Tue, 24 Jul 2018 23:03:43 +0300 |
Signed-off-by: Leonid Bloch <address@hidden>
---
docs/qcow2-cache.txt | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/docs/qcow2-cache.txt b/docs/qcow2-cache.txt
index 9d261b7da9..ea61585a4b 100644
--- a/docs/qcow2-cache.txt
+++ b/docs/qcow2-cache.txt
@@ -110,11 +110,12 @@ How to configure the cache sizes
Cache sizes can be configured using the -drive option in the
command-line, or the 'blockdev-add' QMP command.
-There are three options available, and all of them take bytes:
+There are four options available:
-"l2-cache-size": maximum size of the L2 table cache
-"refcount-cache-size": maximum size of the refcount block cache
-"cache-size": maximum size of both caches combined
+"l2-cache-size": maximum size of the L2 table cache (bytes, K, M)
+"refcount-cache-size": maximum size of the refcount block cache (bytes, K, M)
+"cache-size": maximum size of both caches combined (bytes, K, M)
+"l2-cache-full": make the L2 cache cover the full image (boolean)
There are a few things that need to be taken into account:
@@ -130,6 +131,12 @@ There are a few things that need to be taken into account:
memory as possible to the L2 cache before increasing the refcount
cache size.
+- If "l2-cache-full" is specified, QEMU will assign enough memory
+ to the L2 cache to cover the entire size of the image.
+
+- "l2-cache-size" and "l2-cache-full" can not be set simultaneously, as
+ setting "l2-cache-full" already implies a specific size for the L2 cache.
+
- All three "l2-cache-size", "refcount-cache-size", and "cache-size" options
can not be set simultaneously.
--
2.14.1
- Re: [Qemu-block] [PATCH v3 2/5 for-3.0] qcow2: Options' documentation fixes, (continued)
- [Qemu-block] [PATCH v3 4/5] iotests: Add tests for the new l2-cache-full option, Leonid Bloch, 2018/07/24
- [Qemu-block] [PATCH v3 3/5] qcow2: Introduce an option for sufficient L2 cache for the entire image, Leonid Bloch, 2018/07/24
- Re: [Qemu-block] [PATCH v3 3/5] qcow2: Introduce an option for sufficient L2 cache for the entire image, Kevin Wolf, 2018/07/25
- Re: [Qemu-block] [PATCH v3 3/5] qcow2: Introduce an option for sufficient L2 cache for the entire image, Eric Blake, 2018/07/25
- Re: [Qemu-block] [PATCH v3 3/5] qcow2: Introduce an option for sufficient L2 cache for the entire image, Leonid Bloch, 2018/07/25
- Re: [Qemu-block] [PATCH v3 3/5] qcow2: Introduce an option for sufficient L2 cache for the entire image, Kevin Wolf, 2018/07/25
- Re: [Qemu-block] [PATCH v3 3/5] qcow2: Introduce an option for sufficient L2 cache for the entire image, Leonid Bloch, 2018/07/25
- Re: [Qemu-block] [PATCH v3 3/5] qcow2: Introduce an option for sufficient L2 cache for the entire image, Kevin Wolf, 2018/07/25
- Re: [Qemu-block] [Qemu-devel] [PATCH v3 3/5] qcow2: Introduce an option for sufficient L2 cache for the entire image, Daniel P . Berrangé, 2018/07/25
[Qemu-block] [PATCH v3 5/5] docs: Document the l2-cache-full option,
Leonid Bloch <=