Its similar performance to this thread:
I'm getting poor performance in iperf3 compared to what I got when running TrueNAS Core on the same system/hardware. I have a 10GBe network and is having an Intel X520-DA adapter on my TrueNas Scale. Scale is not running the latest ixgbe driver from Intel but I guess it is tuned for its use. Do...
www.truenas.com
Are you also using an Intel X520 NIC? (Might be a driver issue)
Typically these performance issues are caused by TCP misconfigurations for 10Gbe.
Would you like to investigate how each system is configured?
Things like slow start are good for WAN and high client count applications... but not good for low latency machine-to-machine optimizations.