Guest disk cache policy

smalltimemsp

New Member
Jan 25, 2024
6
0
1
I'm testing disk performance in Windows and after reading the Windows best practices and performance tweaks articles, I didn't find much said about how disk cache setting inside the guest relates to the vm settings in Proxmox.

If running a production workload inside the vm it feels wise to set the disk removal policy to 'quick removal' for data integrity. Especially if running any kind of database application. This also seems to have the most performance impact compared to any disk cache setting in the vm configuration. There isn't much difference between 'none' and 'directsync' or even 'writeback' when using 'quick removal' policy in Windows. This is with ZFS backed SSD storage.

What settings are people using? The default 'better performance' with 'directsync' gives much better performance but feels quite unsafe and probably shouldn't be used.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!