[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH v3 2/5] qcow2: Make the default L2 cache suffici
From: |
Alberto Garcia |
Subject: |
Re: [Qemu-block] [PATCH v3 2/5] qcow2: Make the default L2 cache sufficient to cover the entire image |
Date: |
Wed, 08 Aug 2018 17:37:23 +0200 |
User-agent: |
Notmuch/0.18.2 (http://notmuchmail.org) Emacs/24.4.1 (i586-pc-linux-gnu) |
On Wed 08 Aug 2018 03:58:02 PM CEST, Alberto Garcia wrote:
> 1) If l2-cache-size > l2_metadata_size, then make l2-cache-size =
> l2_metadata_size. This is already useful on its own, even with the
> current default of 1MB.
>
> 2) Increase the default to 32MB. This won't waste additional memory for
> small images because of the previous patch, and will cover images up
> to 256GB. If you have larger images you would need to increase
> l2-cache-size manually if you want to cache all the L2 metadata.
Let's try this way: we had many users requesting us to add a new option
to set l2-cache-size=100%, but we never agreed on a good API. Patch (1)
would do precisely that (l2-cache-size=1T). Patch (2) changes the
default, which may be better and probably enough for many users, but
it's not what solves the problem.
Berto
- [Qemu-block] [PATCH v3 0/5] qcow2: Make the L2 cache cover the whole image by default, Leonid Bloch, 2018/08/08
- [Qemu-block] [PATCH v3 1/5] qcow2: Options' documentation fixes, Leonid Bloch, 2018/08/08
- [Qemu-block] [PATCH v3 2/5] qcow2: Make the default L2 cache sufficient to cover the entire image, Leonid Bloch, 2018/08/08
- Re: [Qemu-block] [PATCH v3 2/5] qcow2: Make the default L2 cache sufficient to cover the entire image, Alberto Garcia, 2018/08/08
- Re: [Qemu-block] [PATCH v3 2/5] qcow2: Make the default L2 cache sufficient to cover the entire image, Leonid Bloch, 2018/08/08
- Re: [Qemu-block] [PATCH v3 2/5] qcow2: Make the default L2 cache sufficient to cover the entire image, Alberto Garcia, 2018/08/08
- Re: [Qemu-block] [PATCH v3 2/5] qcow2: Make the default L2 cache sufficient to cover the entire image, Leonid Bloch, 2018/08/08
- Re: [Qemu-block] [PATCH v3 2/5] qcow2: Make the default L2 cache sufficient to cover the entire image, Alberto Garcia, 2018/08/08
- Re: [Qemu-block] [PATCH v3 2/5] qcow2: Make the default L2 cache sufficient to cover the entire image, Leonid Bloch, 2018/08/08
- Re: [Qemu-block] [PATCH v3 2/5] qcow2: Make the default L2 cache sufficient to cover the entire image,
Alberto Garcia <=
[Qemu-block] [PATCH v3 4/5] qcow2: Set the default cache-clean-interval to 30 seconds, Leonid Bloch, 2018/08/08
[Qemu-block] [PATCH v3 3/5] qcow2: Resize the cache upon image resizing, Leonid Bloch, 2018/08/08
[Qemu-block] [PATCH v3 5/5] qcow2: Explicit number replaced by a constant, Leonid Bloch, 2018/08/08