[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 0/4] Introduction of l2-cache-full option for qc
From: |
Leonid Bloch |
Subject: |
Re: [Qemu-devel] [PATCH 0/4] Introduction of l2-cache-full option for qcow2 images |
Date: |
Tue, 24 Jul 2018 18:19:37 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
On 07/24/2018 05:49 PM, Eric Blake wrote:
On 07/24/2018 07:17 AM, Leonid Bloch wrote:
This series introduces an option to calculate and allocate
automatically enough qcow2 L2 cache to cover the entire image.
Using cache that covers the entire image can benefit performance,
while having only a small memory overhead (just 1 MB for every 8 GB
of virtual image size with the default cluster size).
Is this still needed after Berto's work on commit 603790e and
related, that maximizes the l2 cache by minimizing the refcount
cache?
Yes. In the commits you refer to, the L2 cache was set to cover all the
image size only in the case that the combined cache size is set, and is
larger than max_l2_cache+min_refcount_cache. This series adds an option
to set the L2 cache to cover the entire image without the need to
calculate the required size externally, and without dependency on the
combined cache size setting.
- [Qemu-devel] [PATCH 2/4] docs: Fix an inaccuracy due to recent changes, (continued)