qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-block] [PATCH] qcow2: Optimize L2 table cache size based on im


From: Alberto Garcia
Subject: Re: [Qemu-block] [PATCH] qcow2: Optimize L2 table cache size based on image and cluster sizes
Date: Tue, 04 Oct 2016 16:31:52 +0200
User-agent: Notmuch/0.18.2 (http://notmuchmail.org) Emacs/24.4.1 (i586-pc-linux-gnu)

On Tue 04 Oct 2016 03:39:52 PM CEST, Ed Swierk wrote:

> This change replaces the hardcoded default L2 table cache size with a
> value computed from the image size and cluster size. The resulting
> default cache size is just large enough to service random accesses in
> the entire image.

That might be a lot of memory if the image is big. 1 TB qcow2 image ==
128 MB L2 cache.

See https://bugzilla.redhat.com/show_bug.cgi?id=1377735#c2

If we want to add this feature, I think I'd rather make it explicit.

Berto



reply via email to

[Prev in Thread] Current Thread [Next in Thread]