I have some progress with Veeam and CEPH on my behalf. On backed up VM - which is located on CEPH storage, I changed following settings and tried backups after (one by one and tried everything out):
----
TEST1:
We upgraded Proxmox VE from 9.2.5 to 9.2.10 today with Enterprise repository packages. Tested out after the upgrade => still same issues with Veeam backups.
----
TEST2:
Changed Machine hardware version: Latest -> 10.2 = No effect on speed, VM still hangs during backup.
----
TEST3:
Changed SCSI Controller Type from VMware PVSCSI to VirtIO SCSI Single (as the machines have been migrated from VMware, some options still have not been changed). => No effect on speed, VM still hangs during backup.
----
TEST4:
Changed Hard Disk (scsi0) options:
Enabled IO Thread
Enabled SSD Emulation
=> Now we did notice some improvement, VM no longer hangs during backup. Tested out DD write speed when backup was been taken, we now get around 30MB/s performance and machine is operational.
~# dd if=/dev/zero of=/root/dd-test.img bs=1M count=16384 oflag=direct status=progress
120586240 bytes (121 MB, 115 MiB) copied, 4 s, 30.0 MB/s^C
124+0 records in
124+0 records out
130023424 bytes (130 MB, 124 MiB) copied, 4.3577 s, 29.8 MB/s
This is still kind of slow when compared to normal operations, varies from between 500MB/s - 1000MB/s (with 8 SSDs on each host, 10Gbps dedicated network for CEPH ~ 60 VMs on production on this cluster):
~# dd if=/dev/zero of=/root/dd-test.img bs=1M count=16384 oflag=direct status=progress
4579131392 bytes (4.6 GB, 4.3 GiB) copied, 7 s, 654 MB/s^C
4505+0 records in
4505+0 records out
4723834880 bytes (4.7 GB, 4.4 GiB) copied, 7.28532 s, 648 MB/s
TEST5:
----
Enabled KRDB on CEPH Storage volume => shutdown VM and restarted.
After enabling KRDB, now I am getting around 120MB/s write speed during backup operations - which is significant increase on speed.
Processing rate for Veeam also seems faster when using Hotadd => from roughly 200MB/s to 400MB/s processing rate on single VM with just 1 hard drive.
During backup:
~# dd if=/dev/zero of=/root/dd-test.img bs=1M count=16384 oflag=direct status=progress
9366929408 bytes (9.4 GB, 8.7 GiB) copied, 81 s, 116 MB/s
Before backup:
~# dd if=/dev/zero of=/root/dd-test.img bs=1M count=16384 oflag=direct status=progress
1861222400 bytes (1.9 GB, 1.7 GiB) copied, 3 s, 620 MB/s^C
1910+0 records in
1910+0 records out
2002780160 bytes (2.0 GB, 1.9 GiB) copied, 3.22388 s, 621 MB/s
KRBD setting is global anyways on that datastore, once I shutdown and start the VM on Ceph storage it will start using that instead of typical librbd with Ceph.
--
I still have these modification in place, I will now revert them and test more with KRBD enabled on Ceph storage.
Modification1: (Veeam): VmbApiPreReadQueueDepth - change from 32 to 4, restart services
Modification2:
https://helpcenter.veeam.com/archive/vbproxmoxve/1/userguide/server_add_storage.html (Local SSD)