Skip to content

Instantly share code, notes, and snippets.

@politician
Last active October 9, 2019 05:13
Show Gist options
  • Save politician/f178365a0a0e39eea082d1baf5ef3a68 to your computer and use it in GitHub Desktop.
Save politician/f178365a0a0e39eea082d1baf5ef3a68 to your computer and use it in GitHub Desktop.
Comparing file transfer speeds for AFP, SSHFS and WebDav for accessing a shared folder for a Synology NAS over the internet

TLDR

WebDav is 2x faster

Methodology

I used the same NAS to configure all three protocols and test them remotely (half-way across the globe)

rsync -a --progress --stats --human-readable SOURCEFILE DESTINATIONPATH

WEBDAV

Number of files: 1
Number of files transferred: 1
Total file size: 31.73M bytes
Total transferred file size: 31.73M bytes
Literal data: 31.73M bytes
Matched data: 0 bytes
File list size: 82
File list generation time: 0.003 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 31.74M
Total bytes received: 42

sent 31.74M bytes  received 42 bytes  682.51K bytes/sec
total size is 31.73M  speedup is 1.00

SSHFS

Number of files: 1
Number of files transferred: 1
Total file size: 31.73M bytes
Total transferred file size: 31.73M bytes
Literal data: 31.73M bytes
Matched data: 0 bytes
File list size: 82
File list generation time: 0.001 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 31.74M
Total bytes received: 42

sent 31.74M bytes  received 42 bytes  343.10K bytes/sec
total size is 31.73M  speedup is 1.00

AFP

Number of files: 1
Number of files transferred: 1
Total file size: 31.73M bytes
Total transferred file size: 31.73M bytes
Literal data: 31.73M bytes
Matched data: 0 bytes
File list size: 82
File list generation time: 0.002 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 31.74M
Total bytes received: 42

sent 31.74M bytes  received 42 bytes  318.96K bytes/sec
total size is 31.73M  speedup is 1.00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment