Hello,
I have PVE and PBS hosts connected to each other using 25Gbe Mellanox MCX4121A-ACAT NICS through a 100Gbe Mikrotik CRS504-4XQ switch. The backup server has 2 stores: 1 is a RAID1 mirror (2x 16TB Ironwolf Pro) on a Dell H730 controller and the other is a Lexar NVMe plugged into a PCIe card slot (no RAID or anything). I expected much better performance. When backing up a VM, I'm only getting around 55MiB/s, regardless of which store I send to. At the very least, I expected the NVMe store to be MUCH faster than it is, but it seems slow. iperf3 shows normal numbers.
EDIT: I forgot to mention: The SOURCE VM is also on a locally-attached NVMe drive.
Some numbers are below:
root@vhost1:~# iperf3 -c 10.200.200.199
Connecting to host 10.200.200.199, port 5201
[ 5] local 10.200.200.200 port 35828 connected to 10.200.200.199 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 1.70 GBytes 14.6 Gbits/sec 49 1.67 MBytes
[ 5] 1.00-2.00 sec 2.64 GBytes 22.7 Gbits/sec 145 1.46 MBytes
[ 5] 2.00-3.00 sec 2.73 GBytes 23.4 Gbits/sec 252 1.64 MBytes
[ 5] 3.00-4.00 sec 2.00 GBytes 17.2 Gbits/sec 112 1.21 MBytes
[ 5] 4.00-5.00 sec 2.28 GBytes 19.6 Gbits/sec 47 1.39 MBytes
[ 5] 5.00-6.00 sec 2.73 GBytes 23.4 Gbits/sec 259 1.36 MBytes
[ 5] 6.00-7.00 sec 2.72 GBytes 23.4 Gbits/sec 146 1.59 MBytes
[ 5] 7.00-8.00 sec 2.73 GBytes 23.4 Gbits/sec 185 1.61 MBytes
[ 5] 8.00-9.00 sec 2.73 GBytes 23.4 Gbits/sec 169 1.63 MBytes
[ 5] 9.00-10.00 sec 2.33 GBytes 20.0 Gbits/sec 92 1.57 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 24.6 GBytes 21.1 Gbits/sec 1456 sender
[ 5] 0.00-10.04 sec 24.6 GBytes 21.0 Gbits/sec receiver
iperf Done.
root@vhost1:~#
root@bkup:~# proxmox-backup-client benchmark --repository nvme1
Password for "root@pam": ********
Uploaded 380 chunks in 5 seconds.
Time per request: 13213 microseconds.
TLS speed: 317.44 MB/s
SHA256 speed: 270.31 MB/s
Compression speed: 358.82 MB/s
Decompress speed: 609.03 MB/s
AES256/GCM speed: 1188.88 MB/s
Verify speed: 196.06 MB/s
┌───────────────────────────────────┬────────────────────┐
│ Name │ Value │
╞═══════════════════════════════════╪════════════════════╡
│ TLS (maximal backup upload speed) │ 317.44 MB/s (26%) │
├───────────────────────────────────┼────────────────────┤
│ SHA256 checksum computation speed │ 270.31 MB/s (13%) │
├───────────────────────────────────┼────────────────────┤
│ ZStd level 1 compression speed │ 358.82 MB/s (48%) │
├───────────────────────────────────┼────────────────────┤
│ ZStd level 1 decompression speed │ 609.03 MB/s (51%) │
├───────────────────────────────────┼────────────────────┤
│ Chunk verification speed │ 196.06 MB/s (26%) │
├───────────────────────────────────┼────────────────────┤
│ AES256 GCM encryption speed │ 1188.88 MB/s (33%) │
└───────────────────────────────────┴────────────────────┘
root@bkup:~#
()
INFO: starting new backup job: vzdump 1715 --mode snapshot --storage bkup-nvme --node vhost1 --remove 0 --notes-template '{{guestname}}'
INFO: Starting Backup of VM 1715 (qemu)
INFO: Backup started at 2023-03-17 10:36:23
INFO: status = stopped
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: VM Name: s1715
INFO: include disk 'scsi0' 'shared-nvme1:1715/vm-1715-disk-0.qcow2' 40G
INFO: creating Proxmox Backup Server archive 'vm/1715/2023-03-17T14:36:23Z'
INFO: starting kvm to execute backup task
INFO: started backup task '0ebf4136-da83-453e-a5cb-b5343d7323e8'
INFO: scsi0: dirty-bitmap status: created new
INFO: 0% (196.0 MiB of 40.0 GiB) in 3s, read: 65.3 MiB/s, write: 61.3 MiB/s
INFO: 1% (492.0 MiB of 40.0 GiB) in 7s, read: 74.0 MiB/s, write: 73.0 MiB/s
INFO: 2% (860.0 MiB of 40.0 GiB) in 13s, read: 61.3 MiB/s, write: 61.3 MiB/s
INFO: 3% (1.2 GiB of 40.0 GiB) in 21s, read: 46.5 MiB/s, write: 46.5 MiB/s
INFO: 4% (1.6 GiB of 40.0 GiB) in 28s, read: 62.9 MiB/s, write: 62.9 MiB/s
INFO: 5% (2.0 GiB of 40.0 GiB) in 34s, read: 62.7 MiB/s, write: 62.7 MiB/s
INFO: 6% (2.4 GiB of 40.0 GiB) in 42s, read: 52.5 MiB/s, write: 52.5 MiB/s
INFO: 7% (2.8 GiB of 40.0 GiB) in 49s, read: 58.9 MiB/s, write: 58.9 MiB/s
INFO: 8% (3.3 GiB of 40.0 GiB) in 56s, read: 66.3 MiB/s, write: 66.3 MiB/s
INFO: 9% (3.6 GiB of 40.0 GiB) in 1m 3s, read: 53.1 MiB/s, write: 53.1 MiB/s
INFO: 10% (4.0 GiB of 40.0 GiB) in 1m 10s, read: 55.4 MiB/s, write: 55.4 MiB/s
INFO: 11% (4.4 GiB of 40.0 GiB) in 1m 18s, read: 51.0 MiB/s, write: 51.0 MiB/s
INFO: 12% (4.8 GiB of 40.0 GiB) in 1m 26s, read: 54.5 MiB/s, write: 54.5 MiB/s
INFO: 13% (5.2 GiB of 40.0 GiB) in 1m 34s, read: 53.5 MiB/s, write: 53.5 MiB/s
INFO: 14% (5.6 GiB of 40.0 GiB) in 1m 41s, read: 54.9 MiB/s, write: 54.9 MiB/s
INFO: 15% (6.0 GiB of 40.0 GiB) in 1m 48s, read: 56.6 MiB/s, write: 56.6 MiB/s
...
I have PVE and PBS hosts connected to each other using 25Gbe Mellanox MCX4121A-ACAT NICS through a 100Gbe Mikrotik CRS504-4XQ switch. The backup server has 2 stores: 1 is a RAID1 mirror (2x 16TB Ironwolf Pro) on a Dell H730 controller and the other is a Lexar NVMe plugged into a PCIe card slot (no RAID or anything). I expected much better performance. When backing up a VM, I'm only getting around 55MiB/s, regardless of which store I send to. At the very least, I expected the NVMe store to be MUCH faster than it is, but it seems slow. iperf3 shows normal numbers.
EDIT: I forgot to mention: The SOURCE VM is also on a locally-attached NVMe drive.
Some numbers are below:
root@vhost1:~# iperf3 -c 10.200.200.199
Connecting to host 10.200.200.199, port 5201
[ 5] local 10.200.200.200 port 35828 connected to 10.200.200.199 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 1.70 GBytes 14.6 Gbits/sec 49 1.67 MBytes
[ 5] 1.00-2.00 sec 2.64 GBytes 22.7 Gbits/sec 145 1.46 MBytes
[ 5] 2.00-3.00 sec 2.73 GBytes 23.4 Gbits/sec 252 1.64 MBytes
[ 5] 3.00-4.00 sec 2.00 GBytes 17.2 Gbits/sec 112 1.21 MBytes
[ 5] 4.00-5.00 sec 2.28 GBytes 19.6 Gbits/sec 47 1.39 MBytes
[ 5] 5.00-6.00 sec 2.73 GBytes 23.4 Gbits/sec 259 1.36 MBytes
[ 5] 6.00-7.00 sec 2.72 GBytes 23.4 Gbits/sec 146 1.59 MBytes
[ 5] 7.00-8.00 sec 2.73 GBytes 23.4 Gbits/sec 185 1.61 MBytes
[ 5] 8.00-9.00 sec 2.73 GBytes 23.4 Gbits/sec 169 1.63 MBytes
[ 5] 9.00-10.00 sec 2.33 GBytes 20.0 Gbits/sec 92 1.57 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 24.6 GBytes 21.1 Gbits/sec 1456 sender
[ 5] 0.00-10.04 sec 24.6 GBytes 21.0 Gbits/sec receiver
iperf Done.
root@vhost1:~#
root@bkup:~# proxmox-backup-client benchmark --repository nvme1
Password for "root@pam": ********
Uploaded 380 chunks in 5 seconds.
Time per request: 13213 microseconds.
TLS speed: 317.44 MB/s
SHA256 speed: 270.31 MB/s
Compression speed: 358.82 MB/s
Decompress speed: 609.03 MB/s
AES256/GCM speed: 1188.88 MB/s
Verify speed: 196.06 MB/s
┌───────────────────────────────────┬────────────────────┐
│ Name │ Value │
╞═══════════════════════════════════╪════════════════════╡
│ TLS (maximal backup upload speed) │ 317.44 MB/s (26%) │
├───────────────────────────────────┼────────────────────┤
│ SHA256 checksum computation speed │ 270.31 MB/s (13%) │
├───────────────────────────────────┼────────────────────┤
│ ZStd level 1 compression speed │ 358.82 MB/s (48%) │
├───────────────────────────────────┼────────────────────┤
│ ZStd level 1 decompression speed │ 609.03 MB/s (51%) │
├───────────────────────────────────┼────────────────────┤
│ Chunk verification speed │ 196.06 MB/s (26%) │
├───────────────────────────────────┼────────────────────┤
│ AES256 GCM encryption speed │ 1188.88 MB/s (33%) │
└───────────────────────────────────┴────────────────────┘
root@bkup:~#
()
INFO: starting new backup job: vzdump 1715 --mode snapshot --storage bkup-nvme --node vhost1 --remove 0 --notes-template '{{guestname}}'
INFO: Starting Backup of VM 1715 (qemu)
INFO: Backup started at 2023-03-17 10:36:23
INFO: status = stopped
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: VM Name: s1715
INFO: include disk 'scsi0' 'shared-nvme1:1715/vm-1715-disk-0.qcow2' 40G
INFO: creating Proxmox Backup Server archive 'vm/1715/2023-03-17T14:36:23Z'
INFO: starting kvm to execute backup task
INFO: started backup task '0ebf4136-da83-453e-a5cb-b5343d7323e8'
INFO: scsi0: dirty-bitmap status: created new
INFO: 0% (196.0 MiB of 40.0 GiB) in 3s, read: 65.3 MiB/s, write: 61.3 MiB/s
INFO: 1% (492.0 MiB of 40.0 GiB) in 7s, read: 74.0 MiB/s, write: 73.0 MiB/s
INFO: 2% (860.0 MiB of 40.0 GiB) in 13s, read: 61.3 MiB/s, write: 61.3 MiB/s
INFO: 3% (1.2 GiB of 40.0 GiB) in 21s, read: 46.5 MiB/s, write: 46.5 MiB/s
INFO: 4% (1.6 GiB of 40.0 GiB) in 28s, read: 62.9 MiB/s, write: 62.9 MiB/s
INFO: 5% (2.0 GiB of 40.0 GiB) in 34s, read: 62.7 MiB/s, write: 62.7 MiB/s
INFO: 6% (2.4 GiB of 40.0 GiB) in 42s, read: 52.5 MiB/s, write: 52.5 MiB/s
INFO: 7% (2.8 GiB of 40.0 GiB) in 49s, read: 58.9 MiB/s, write: 58.9 MiB/s
INFO: 8% (3.3 GiB of 40.0 GiB) in 56s, read: 66.3 MiB/s, write: 66.3 MiB/s
INFO: 9% (3.6 GiB of 40.0 GiB) in 1m 3s, read: 53.1 MiB/s, write: 53.1 MiB/s
INFO: 10% (4.0 GiB of 40.0 GiB) in 1m 10s, read: 55.4 MiB/s, write: 55.4 MiB/s
INFO: 11% (4.4 GiB of 40.0 GiB) in 1m 18s, read: 51.0 MiB/s, write: 51.0 MiB/s
INFO: 12% (4.8 GiB of 40.0 GiB) in 1m 26s, read: 54.5 MiB/s, write: 54.5 MiB/s
INFO: 13% (5.2 GiB of 40.0 GiB) in 1m 34s, read: 53.5 MiB/s, write: 53.5 MiB/s
INFO: 14% (5.6 GiB of 40.0 GiB) in 1m 41s, read: 54.9 MiB/s, write: 54.9 MiB/s
INFO: 15% (6.0 GiB of 40.0 GiB) in 1m 48s, read: 56.6 MiB/s, write: 56.6 MiB/s
...
Last edited: