I need to rsync a big chunk of large files (around 5TB, mostly 10GB files) between 2 machines connected to my local network. I have done some tests and the maximum speed size I get is 5MBps, which is damn slow.
The command I run on a remote Putty session over Wireguard on the machine with the source folders is:
rsync -v -r /source_folder/ root@IP_destination_machine:/destination_folder/
The speed output was:
sent 11,020,343,517 bytes received 35 bytes 4,849,436.11 bytes/sec
Not even 5 MBps. Given the drives and interfaces I was expecting >60 MBps
I do not know where the bottleneck is here.
The source machine is a SBC Pi4B 8GB running OMV 6.4.0 and the destination one is a NAS based on Xeon E3-1230v5 32GB running OMV 6.4.0.
Source HDD is WD Black 5TB connected to USB3.0 port of the Pi4B and destination HDD is WD HC560 20TB connected to SATA3 port of the NAS. Both Pi4B and NAS are connected to the same 10/100/1000GB switch (Linksys WRT-SE4008EJ) on Cat6 cables (<25m).
What could be the problem? I cannot detach the WD Black from the Pi4B and attach it to the NAS as both are at a remote location far from where I live.
Thanks in advance.