I have a TrueNAS VM on Proxmox with a passed through ConnectX 3 card. It’s passed through as a RAW device, with PCI-e checked in Proxmox.
Also passed through to the TrueNAS VM is a 1TB nvme, again, PCI-E, raw device.
I’ve an iMac with a thunderbolt ten gig adaptor connecting to it.
Both devices are connect to a Unifi Pro XG 10GB switch - the TrueNAS Connect X via DAC, the iMac via RJ45.
I’ve noticed that no matter what, when I cp or rsync a file from the iMac to the nvme SMB share, I cannot exceed 250MB/s writing to the nvme.
My rsync command is --whole-file --progress with a 1GB, 4GB and 8GB test files - all ISOs so hopefully one contiguous file to give the best possible or at least consistent outcomes.
However, using Blackmagic disk speed test I can write to the same nvme share at about 700MB/s and read at 900MB/s using the 1GB file size. Iperf3 shows a consistent 9.8Gb/s connection.
I’ve another Linux Mint VM (again, inside Proxmox) on a 10GB connectX3 in a Thinkcentre M920 tiny and that also cannot gcp the same files (as cp has no way that I know of to output progress) any faster than 200MB/s.
It is the disparity between Blackmagic and rsync/gcp I don’t understand. Is there a setting I have misunderstood? I’ve even turned off sync writes (this is a test dataset, not production, nothing’s on there I need or want to keep) to experiment but that made no difference.
I appreciate there’s a lot of layers, media and protocols involved and I wouldn’t expect ‘line speed’ but I don’t understand why the manual file copies seemingly won’t exceed 250MB/s yet Blackmagic, which reads and writes a file returns such faster speeds. If it were rsync then why is gcp also limited to 200/250MB/s? If it were MacOS, then why is Mint also returning the same result?
I even tried rclone copy - same speed limitation.
All advice welcome, happy to provide any data requested.