Insane write speeds on Ceph/krbd windows client with virtio.

Hans van den Bogert

New Member
Sep 26, 2016
7
0
1
37
I've been running some benchmarks on Windows whose virtio disks are on Ceph. All is well. At one point I enabled the "krbd" option because I wanted to use the rbd pool for containers as well. Out of curiosity I reran the benchmarks on windows and to my surprise the write speeds are simply out of this world. Using ATTO benchmark the write speeds for blocks of 1MB+ the speeds are way higher than what the network bottleneck of 10Gbit would dictate. I also do not see heavy writes on our Ceph monitor. Yet according to ATTO we are able to write at up to 7 to 8GByte/s. IOMeter shows similar unbelievable values.

This all leads me to think that something in the stack between the high-level layer, ATTO (application layer), and the low-level layer, Ceph, is aggressively caching writes. This observation frightens me a lot as it is very unlikely that data consistence is guaranteed.

Is this a known issue that anyone knows of, and/or does anyone know how to investigate this further where the caching is being done?
 
I assume you have "write-back" enabled? Test gain with "no-cache" and you should get real values.

(I talk about the hard disk cache setting on the Proxmox VE gui)
 
The disks I tested with are on default and that is "no-cache" according to the webgui

/update
The client is Windows 2012r2 with latest stable virtio drivers, 0.1.126.
 
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!