I have created a simple test comparing the performance of "md5" vs "rclone md5sum" (v1.61.1) on FreeBSD/TrueNAS (ZFS).
1st) Create files:
dd if=/dev/zero of=/mnt/zbackup/Benchmark/19GB bs=1M count=19000
dd if=/dev/zero of=/mnt/zbackup/Benchmark/26,21GB bs=1M count=26210
dd if=/dev/zero of=/mnt/zbackup/Benchmark/21,58GB bs=1M count=21580
dd if=/dev/zero of=/mnt/zbackup/Benchmark/15,7GB bs=1M count=15700
2nd) "dd concurrent read" test:
date
dd if=/mnt/zbackup/Benchmark/19GB of=/dev/null bs=1M &
dd if=/mnt/zbackup/Benchmark/26,21GB of=/dev/null bs=1M &
dd if=/mnt/zbackup/Benchmark/21,58GB of=/dev/null bs=1M &
dd if=/mnt/zbackup/Benchmark/15,7GB of=/dev/null bs=1M &
wait
date
3th) "md5 concurrent" test:
date
md5 /mnt/zbackup/Benchmark/19GB &
md5 /mnt/zbackup/Benchmark/26,21GB &
md5 /mnt/zbackup/Benchmark/21,58GB &
md5 /mnt/zbackup/Benchmark/15,7GB &
wait
date
4th) "rclone md5sum concurrent" test:
date; /root/rclone md5sum /mnt/zbackup/Benchmark --progress; date
With these results:
According to calculations, while "md5 concurrent" is only 7.6% slower than "dd concurrent read", "rclone md5sum" is 22.2% slower.
On the other hand, repeating the same tests but on macOS 13.2 Ventura, "rclone md5sum" is only 10.1% slower than "dd concurrent read".
--
[note] The zfs dataset where the test is run is set to "compression=off".