Writeback option - Ram inside VM or Host?

FcbInfo

Renowned Member
Dec 21, 2012
107
0
81
Hi there.

I tried to find some about where the "writeback" cache is write, then I have found something says that is write in Ram.

When you config some KVM VM with writeback option, this will use Ram inside this VM or will use Ram of the Host (main server)?

Thanks!
 
dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync

On Debian guest (VM),

If I use writeback unsafe: 1.5gbps
If I use writeback: 93mbps (the same of no cache).

I'm confused!
 
I've read that witeback is cache inside host, no-cache is cache inside guest. Unsafe writeback is just writeback without forwarding flushes from guest to host.
 
Well, but on Windows VMs, writeback and writeback unsafe, doesn't do too much difference. They have almost the same speed, but on Linux guest, from 93mbps to 1500mbps, does hard difference.
 

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!