Skip to content
theincogtion edited this page Jul 28, 2018 · 5 revisions
NAME:
   duplicacy benchmark - Run a set of benchmarks to test download and upload speeds

USAGE:
   duplicacy benchmark [command options]  

OPTIONS:
   -file-size 		the size of the local file to write to and read from (in MB, default to 256)
   -chunk-count 		the number of chunks to upload and download (default to 64)
   -chunk-size 		the size of chunks to upload and download (in MB, default to 4)
   -upload-threads 		the number of upload threads (default to 1)
   -download-threads 	the number of download threads (default to 1)

The benchmark command has been introduced in duplicacy 2.1.1. It can be used to measure disk access and network speed.

Sample output:

duplicacy benchmark
Storage set to sftp://gchen@192.168.1.125/storage
Generating 244.14M byte random data in memory
Writing random data to local disk
Wrote 244.14M bytes in 3.05s: 80.00M/s
Reading the random data from local disk
Read 244.14M bytes in 0.18s: 1388.05M/s
Split 244.14M bytes into 53 chunks without compression/encryption in 1.69s: 144.25M/s
Split 244.14M bytes into 53 chunks with compression but without encryption in 2.32s: 105.02M/s
Split 244.14M bytes into 53 chunks with compression and encryption in 2.44s: 99.90M/s
Generating 64 chunks
Uploaded 256.00M bytes in 62.88s: 4.07M/s
Downloaded 256.00M bytes in 63.01s: 4.06M/s
Deleting 64 temporary files

Clone this wiki locally