[Top][All Lists]

[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: Frank Myhr
Subject: Re: [Qemu-block] [PATCH] qcow2: Optimize L2 table cache size based on image and cluster sizes
Date: Fri, 7 Oct 2016 09:46:31 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0

On 10/07/2016 06:56 AM, Alberto Garcia wrote:
I would like to know what's the use case you (Frank, Ed)
are thinking about:

- Are we talking about command-line options, QMP, or both?

Command-line options alone are sufficient for my use case, which is configuring and starting VMs using libvirt.

- Do you know the size of the disk image or you want to be able to set
  the cache size without having access to that information? In other
  words, what's preventing you from calculating the cache size that you

I know the disk image size, and can set cache size in bytes. l2-cache-size=max would be a convenience feature, *especially if it could become the default*. Then I could forget thinking about whether the image is larger than the current 8GB fully-cached threshold, and only have to calculate cache size in bytes in case of very large images, multiple backing files, or very tight memory.


reply via email to

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