Question for any owners of this toptop box that are using it for Proxmox. It's been working quite will for me with 5 guests for a year now. I've only recently been exploring proxmox's snapshotting, backup and restore features. I am finding that when I perform snapshots, backups, and restores, all of my guests have intermittent service outages while the operations are ongoing. I suppose this problem has existed all along, I just didn't know. I've been reading the Proxmox forums, and not had much luck finding an answer. Most posts point to I/O limitations on the SSD. So ....
My nvme drive seems to be running at PCI 3.0 x4, which should yield 3.938 GB/s of
bandwidth, which is pretty much full speed for my drive 's specs:
Code:
>nvme list
Node Generic SN Model Namespace Usage Format FW Rev
--------------------- --------------------- -------------------- ---------------------------------------- --------- -------------------------- ---------------- --------
/dev/nvme0n1 /dev/ng0n1 TPBF2401170060203315 TEAM TM8FP6002T 1 2.05 TB / 2.05 TB 512 B + 0 B VC2S0390
> cat /sys/class/nvme/nvme0/device/current_link_speed
8.0 GT/s PCIe
>lspci | grep -i nvme
01:00.0 Non-Volatile memory controller: Realtek Semiconductor Co., Ltd. RTS5765DL NVMe SSD Controller (DRAM-less) (rev 01)
>lspci -s 01:00.0 -vv | grep -i "LnkSta\|LnkCap"
LnkCap: Port #0, Speed 8GT/s, Width x4, ASPM L1, Exit Latency L1 <64us
LnkSta: Speed 8GT/s, Width x4
LnkCap2: Supported Link Speeds: 2.5-8GT/s, Crosslink- Retimer- 2Retimers- DRS-
LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete+ EqualizationPhase1+
Within Proxmox, the bandwidth on this drive is terrible though. I have tried many variations of tests, with numjobs, iodepth, it does not help. It should be in the GiB/s range, not MiB/s.
Code:
READ: bw=91.9MiB/s (96.4MB/s), 22.3MiB/s-23.9MiB/s (23.4MB/s-25.1MB/s), io=5514MiB (5782MB), run=60005-60009msec
Some posters are saying that by switching the drive controller from AHCI to RAID in the BIOS unlocks the performance, but I haven't tried that yet - I'm not even sure that's an option on this BIOS. It requires a reboot, and I am also worried about data loss in creating a fake raid. I have no idea how to back up the proxmox install itself, other than a full drive image using disk imaging software. [EDIT- The only option in the BIOS is AHCI] It's also worth nothing I am not getting any thermal warnings from the drive based on the output of:
Code:
>smartctl -a /dev/nvme0
>nvme smart-log /dev/nvme0
So getting to my actual question: What are the other owners getting for their benchmarks in Proxmox? The command I am using is below. Your "filename" name may differ. You can check that with lsblk.
Code:
> fio --ioengine=libaio --direct=1 --sync=1 --rw=read --bs=4K --numjobs=4 --iodepth=64 --runtime=60 --time_based --name seq_read --filename=/dev/nvme0n1
You may need to install fio:
It would be helpful to determine if I have just done something wrong somehow in my build, or if this is a limitation of the box. Your benchmarks would be appreciated.