> sshfs -o uid=1000,gid=1000 bdmorin@meltdown.local:/Volumes/horace/unsorted ./sshfs
> rclone config
Current remotes:
Name Type
==== ====
meltdown sftp
rclone mount meltdown:/Volumes/horace/unsorted rclone --daemon
> du -hs ./*
756M ./rclone
4.0K ./rclone_local
764M ./sshfs
4.0K ./sshfs_local
> hyperfine -i "cp -rf ./sshfs/* ./sshfs_local/" "cp -rf ./rclone/* ./rclone_local/"
Benchmark 1: cp -rf ./sshfs/* ./sshfs_local/
Time (mean ± σ): 70.518 s ± 0.266 s [User: 0.009 s, System: 1.050 s]
Range (min … max): 69.952 s … 71.003 s 10 runs
Benchmark 2: cp -rf ./rclone/* ./rclone_local/
Time (mean ± σ): 71.643 s ± 1.139 s [User: 0.014 s, System: 1.181 s]
Range (min … max): 70.548 s … 73.324 s 10 runs
Summary
'cp -rf ./sshfs/* ./sshfs_local/' ran
1.02 ± 0.02 times faster than 'cp -rf ./rclone/* ./rclone_local/'
> du -hs ./*
756M ./rclone
756M ./rclone_local
764M ./sshfs
756M ./sshfs_local
Curious slight difference in sizes on sshfs remote/local and rclone remote. I mounted rclone as sftp, I think my next attempt will be to mount that directory as webdav to see if there's a speed difference. I also belive there are lots of options for optimizations, but I was trying to see what the baseline is.
Let me know if you're interested in seeing more!