KVM disk io caching for LVM over iSCSI (cache=writethrough!)

adis

New Member
Jan 25, 2009
16
0
1
Just a quick remark for LVM over iSCSI setup, as suggested by wiki article:

http://pve.proxmox.com/wiki/Storage_Model#LVM_Groups_with_Network_Backing


The problem is that Proxmox creates virtual disks with cache=none, but iSCSI works much better with cache=writethrough
This can easily be checked by running bonnie+ or similar concurrent disk benchmark.

With cache=none CPU load on both, hypervisor and guest, is very high. Performance is reasonable.
WIth cache=writethrough, CPU load is pretty high (but within expectations, and much lower compared to cache=none), and performace is excellent.
 
Last edited:

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!