2026 Proxmox Virtual Machine Disk Cache: How to Choose?

A VM’s write workload looks slow, so changing its disk cache mode seems like the quickest fix.

Fastest safe decision: if there is no evidence that the current mode is the bottleneck, keep Proxmox’s default no cache (cache=none). Do not treat writeback as a universal speed setting, and do not use unsafe for production data.

This guide is for administrators creating or adjusting Proxmox VM disks who need to match a cache mode to their storage and data risks.
MSP operators can use it to define a consistent default and decide when a customer VM merits an exception.
Enterprise IT teams can use it to set validation and recovery requirements before deployment.

The default is a decision, not a performance verdict

The Proxmox virtual machine disk cache mode controls how QEMU handles disk I/O between a guest and the host storage stack. It does not change the physical drive model, controller cache, or underlying storage layout. A different option may alter the I/O path without addressing the cause of a slow VM.

First establish that there is a storage problem. Check the application’s own response times, guest I/O statistics, host disk latency and queue behavior, and relevant storage or kernel logs. Look for a repeatable pattern under the workload that matters. A cache option selected from its name alone is not diagnosis.

Proxmox’s current qm.conf documentation lists the disk cache setting and its available modes. The VM management guide describes the default as no cache. Check the documentation for the Proxmox version actually installed, rather than assuming a setting or description from an older guide still applies: Proxmox VM configuration options and the Proxmox VM administration guide.

A useful policy is straightforward:

  • Keep the documented default when measurements do not identify a cache-related issue.
  • Consider a different mode only when the storage path, flush behavior, workload, and recovery plan are understood.
  • Treat any change as a VM-specific exception until testing supports a broader policy.

That separates an operational decision from the assumption that one mode is always faster.

Flush handling is the main data-risk distinction

Guest operating systems can issue flush requests to ask that earlier writes be committed through the storage stack. Whether data is actually safe after a flush depends on how each layer handles that request, including the host, filesystem or volume manager, device, and any device-level cache.

Linux’s fsync documentation describes the role of synchronizing file data and metadata, while the kernel’s writeback-cache guidance explains how flushes and related requests are handled in block-device paths. These describe mechanisms, not a guarantee that every device or storage configuration will persist data correctly: Linux fsync documentation and Linux block writeback-cache control.

The key distinction is between writeback and unsafe:

  • writeback uses host caching but is intended to honor guest flush requests. That behavior does not make every layer infallible. A device that reports completion incorrectly, an unprotected volatile cache, or a failing host can still undermine durability.
  • unsafe can ignore guest flush requests. That removes a durability signal that software may rely on. It is unsuitable for data whose loss or inconsistency would affect production.
  • none avoids the host page cache for the disk I/O path described by QEMU and Proxmox. It does not turn off every cache in the guest or storage device, and it does not certify the physical device’s power-loss behavior.

Proxmox’s performance guidance and QEMU cache-mode documentation explain the relevant mode behavior. Read their descriptions as behavior summaries, not promises that a mode will protect data under every hardware failure.

Warning: Before changing a production VM’s disk setting, confirm a recent backup and test that it can be restored. Schedule a maintenance window, record the original configuration, and decide how to revert before applying the change.

Cache layers must be assessed separately

The phrase “disk cache” often hides several distinct layers. The guest operating system may cache file data. QEMU may interact with the host page cache depending on the selected mode. The host filesystem, volume manager, or storage system may have its own behavior. The physical device may also have a volatile or protected write cache.

Do not add these layers together as though they were one setting. For example, changing the QEMU mode does not directly tell you how much memory a guest will use, nor does it tell you whether a drive has power-loss protection.

ZFS makes the distinction especially important. It has its own caching mechanisms, including the Adaptive Replacement Cache (ARC), and Proxmox provides guidance specifically for QEMU disks on ZFS. Use that backend-specific guidance alongside the general cache-mode descriptions: OpenZFS ARC documentation and Proxmox ZFS tips.

The decision should follow the actual path: identify whether the VM disk is backed by ZFS, an ordinary local file, a block volume, or shared storage. Then check the applicable documentation for that path. A recommendation based on one user’s storage layout is not a universal ZFS or Proxmox rule.

Compare modes by the workload and failure you can accept

Use this comparison as a policy aid, not as a benchmark. The ratings describe operational fit; they do not predict performance.

Mode Flush behavior and host caching Operational rating Typical decision
none / no cache Bypasses the host page cache in the documented I/O path; verify behavior for the selected backend. Strong default fit Keep it when there is no measured reason to change the setting.
writeback Uses host caching and is intended to honor guest flush requests. Conditional Consider only after checking the complete storage path and validating a representative workload.
unsafe Can ignore guest flush requests. Avoid for production At most, consider for disposable data where loss is accepted and the workload can be rebuilt.
Other documented modes Behavior differs by option; consult the installed version’s documentation rather than inferring from the name. Case-specific Evaluate only when the setting addresses a diagnosed requirement.

Match that policy to the value of the data:

  • Production database: prioritize recoverability and correct flush behavior. Do not trade them for a short benchmark run.
  • General service VM: use the default unless evidence points to a cache-related bottleneck. Validate with the service’s real workload and normal operating conditions.
  • Rebuildable test VM: a more aggressive experiment may be acceptable if the owner explicitly accepts data loss and the VM is isolated from important workloads.

A lower application latency reading is not sufficient by itself. If a test skips work that production software normally performs, or does not exercise the same sync behavior, it may not represent the real workload. A mode that appears favorable on one backend may behave differently on another.

A controlled validation process keeps exceptions small

Before a change, define what would count as an improvement and what evidence would make you revert. Keep the test focused on one VM and one storage path. Do not infer that other VMs, disk formats, or backends will show the same result.

Warning: A cache-mode test is not a backup or a durability test. Confirm the backup and restore path first, and do not run a potentially disruptive test against the only copy of production data.

  1. Record the current state. Save the VM’s disk configuration, the Proxmox version, storage identifier, disk format, and current cache option. Record the guest and application versions relevant to the test.
  2. Confirm recovery. Verify that a recent backup exists and that the team knows how to restore it. If the recovery path has not been tested, stop before changing a production VM.
  3. Describe the storage path. Establish whether the disk is on ZFS, a local filesystem, a block volume, or shared storage. Check the documented behavior for that backend and determine what is known about device flush handling and power-loss protection.
  4. Choose a representative workload. Use an application task that reflects normal reads, writes, and sync behavior. A synthetic result alone should not decide a production configuration.
  5. Change one variable. During an approved maintenance window, change only the VM’s cache setting. Keep the guest, test data, storage path, and workload conditions consistent with the baseline.
  6. Compare evidence. Review application behavior, guest and host I/O observations, resource pressure, and relevant logs. Record both the result and any warnings or errors.
  7. Keep or revert deliberately. Retain the change only if the evidence is repeatable, the durability trade-off is understood, and the recovery plan remains acceptable. Otherwise restore the recorded setting and document why the experiment was rejected.

For host maintenance around a test, use a version-appropriate package preflight rather than combining unrelated upgrades with a storage experiment. The dedicated-server package-upgrade preflight guide can help separate host maintenance risks from the VM cache change.

Configuration evidence comes before a fleet-wide policy

For a multi-tenant platform, a consistent default reduces accidental variation, but it should not become a reason to ignore meaningful differences between storage backends or workload classes. Document the default, the conditions that allow an exception, the evidence required to approve it, and who owns the data-loss decision.

For each VM, keep a short change record with:

  • The original and selected cache mode.
  • The reason for considering a change.
  • The storage backend and the documentation checked.
  • The workload and observations used for comparison.
  • The backup and restore path, plus the rollback decision.

This record is particularly useful when a VM moves between storage types or when an administrator inherits a configuration without knowing why it was selected. Reassess the setting when the underlying path changes; do not assume an old test still describes a new backend.

If the issue is unresolved, investigate the path before changing the cache mode. Check whether the application is waiting on storage, whether the host or guest is under resource pressure, and whether the backend reports errors. Cache settings should not be used to conceal an unexplained storage fault.

Frequently asked questions

Should you use no cache or writeback for a Proxmox VM disk?

Keep no cache unless repeatable measurements show a real bottleneck and you have verified how the storage stack handles flushes. Writeback can involve the host page cache, but it is not a general-purpose speed switch. Before using it, test a representative workload, preserve a recovery path, and compare application behavior as well as host and storage evidence.

What is the practical difference between cache=none and cache=writeback?

With cache=none, QEMU bypasses the host page cache for the disk I/O path described in its documentation; the guest still has its own caching behavior. Writeback uses host caching while honoring guest flush requests. The distinction matters when you assess memory use and write durability, but neither option alone proves that a physical device has safely persisted data.

Do Proxmox VMs on ZFS need a different cache mode?

Not automatically. ZFS has its own caching and write-handling behavior, so a rule written for ordinary files or block devices may not transfer directly. Check the Proxmox guidance for QEMU disks on ZFS, identify the actual dataset or zvol path, and validate the complete guest-to-device path before changing a VM setting.

Is cache=unsafe suitable for a production Proxmox VM?

Avoid it for production data. Unsafe mode can ignore guest flush requests, removing a signal that helps coordinate write persistence through the storage stack. A successful benchmark does not establish crash safety. Restrict it, if at all, to disposable workloads whose data can be recreated and whose loss has been explicitly accepted.

Check the actual server storage before changing the VM

A shared VM can limit visibility into the host’s cache path, device behavior, and storage controls. CPU contention or an opaque backend can also make it harder to tell whether a cache change caused a difference. An independent server gives the operator direct control over the Proxmox host and its VM storage layout, though it also makes the operator responsible for configuration, backup, and recovery.

NodeAMD lists Proxmox VE 8 and 9 as install options, with direct-attached NVMe choices and server memory options shown on its server product page. Those details can help when planning a storage layout, but they are not evidence that a particular cache mode improves performance, and no cache-mode benchmark is claimed here.

Before changing a production VM, check the actual disk and system options available for the server, confirm the backend-specific guidance, and test against a recoverable workload. If the storage path or flush behavior remains uncertain, retaining the default is the safer decision than applying a speculative change.

Frequently asked questions

Should I use no cache or writeback for a Proxmox VM disk?

Keep no cache unless repeatable measurements show a real bottleneck and you have verified how the storage stack handles flushes. Writeback can involve the host page cache, but it is not a general-purpose speed switch. Before using it, test a representative workload, preserve a recovery path, and compare application behavior as well as host and storage evidence.

What is the practical difference between cache=none and cache=writeback?

With cache=none, QEMU bypasses the host page cache for the disk I/O path described in its documentation; the guest still has its own caching behavior. Writeback uses host caching while honoring guest flush requests. The distinction matters when you assess memory use and write durability, but neither option alone proves that a physical device has safely persisted data.

Do Proxmox VMs on ZFS need a different cache mode?

Not automatically. ZFS has its own caching and write-handling behavior, so a rule written for ordinary files or block devices may not transfer directly. Check the Proxmox guidance for QEMU disks on ZFS, identify the actual dataset or zvol path, and validate the complete guest-to-device path before changing a VM setting.

Is cache=unsafe suitable for a production Proxmox VM?

Avoid it for production data. Unsafe mode can ignore guest flush requests, removing a signal that helps coordinate write persistence through the storage stack. A successful benchmark does not establish crash safety. Restrict it, if at all, to disposable workloads whose data can be recreated and whose loss has been explicitly accepted.

NodeAMD EPYC 7543P dedicated server, from $439/month

Configure a dedicated server with NodeAMD View NodeAMD rental pricing

From reading to server planning

Compare configurations, options, and billing to choose the right host for self-managed services.