From: Dominik Csapak <d.csapak@proxmox.com>
To: Erik Fastermann <e.fastermann@proxmox.com>, pve-devel@lists.proxmox.com
Subject: Re: [PATCH pve-docs 3/3] partially fix #1989: qm: document qcow2 cache size config
Date: Thu, 16 Jul 2026 10:25:16 +0200 [thread overview]
Message-ID: <4fd61349-cf66-4769-bd1f-98e0e095866d@proxmox.com> (raw)
In-Reply-To: <20260605153512.265703-4-e.fastermann@proxmox.com>
On 6/5/26 5:35 PM, Erik Fastermann wrote:
> Add a new subsection to document the new qcow2 cache config options.
>
> Signed-off-by: Erik Fastermann <e.fastermann@proxmox.com>
> ---
> qm.adoc | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/qm.adoc b/qm.adoc
> index e6b7918..2f1e7d4 100644
> --- a/qm.adoc
> +++ b/qm.adoc
> @@ -341,6 +341,16 @@ underlying storage. Another benefit is reduced latency (hangs) in the guest for
> very I/O-intensive host workloads, since neither the main thread nor a vCPU
> thread can be blocked by disk I/O.
>
> +[[qm_hard_disk_qcow2_cache]]
> +Cache Size (qcow2)
> +^^^^^^^^^^^^^^^^^^
> +Fine-tuning the qcow2 L2/refcount cache behavior can provide significant
> +performance gains. See the
> +https://gitlab.com/qemu-project/qemu/-/blob/master/docs/qcow2-cache.txt[QEMU documentation]
> +for a detailed explanation of these options. You can either configure the cache
> +size directly or let Proxmox VE automatically choose a cache size based on the
> +disk image size. All other options can be managed with the API.
> +
i would have liked a short explanation how the auto-sizing algorithm
works. I guess as an admin this would be the first thing i'd ask
if i see an 'auto' option (e.g. to gauge the memory requirements
for my vms).
> [[qm_cpu]]
> CPU
> ~~~
prev parent reply other threads:[~2026-07-16 8:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-05 15:35 [PATCH docs/manager/qemu-server 0/3] partially fix #1989: add QEMU qcow2 cache options Erik Fastermann
2026-06-05 15:35 ` [PATCH qemu-server 1/3] partially fix #1989: disk: add " Erik Fastermann
2026-07-16 8:25 ` Dominik Csapak
2026-06-05 15:35 ` [PATCH pve-manager 2/3] partially fix #1989: ui: qemu: disk: add qcow2 cache size config Erik Fastermann
2026-07-16 8:25 ` Dominik Csapak
2026-06-05 15:35 ` [PATCH pve-docs 3/3] partially fix #1989: qm: document " Erik Fastermann
2026-07-16 8:25 ` Dominik Csapak [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4fd61349-cf66-4769-bd1f-98e0e095866d@proxmox.com \
--to=d.csapak@proxmox.com \
--cc=e.fastermann@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox