I could use some help interpreting benchmark results!
Background - in my configuration, I have Duplicacy installed on my main NAS (QNAP TS-569 Pro, 2.13 GHz Atom, 3GB RAM). I have set up sequential backup jobs to 1) Backblaze B2 and 2) SFTP on local backup NAS (QNAP TS-509 Pro, 1.6GHz Celeron, 1GB RAM). Both NAS boxes are connected to the same Gigabit Ethernet switch and are capable of SMB transfer speeds over 80MB/sec.
Puzzle - in practice, Duplicacy’s backup speed to the local NAS hardly ever exceeds 11MB/sec (88 megabits/sec).
As recommended, I ran the benchmark against the local storage, with the following results:
-upload-threads 1
Generating 256.00M byte random data in memory
Writing random data to local disk
Wrote 256.00M bytes in 1.11s: 229.64M/s
Reading the random data from local disk
Read 256.00M bytes in 0.37s: 695.60M/s
Split 256.00M bytes into 52 chunks without compression/encryption in 12.67s: 20.21M/s
Split 256.00M bytes into 52 chunks with compression but without encryption in 14.82s: 17.28M/s
Split 256.00M bytes into 52 chunks with compression and encryption in 36.22s: 7.07M/s
Generating 64 chunks
Uploaded 256.00M bytes in 21.44s: 11.94M/s
Downloaded 256.00M bytes in 24.86s: 10.30M/s
Deleted 64 temporary files from the storage
-upload-threads 4
Generating 256.00M byte random data in memory
Writing random data to local disk
Wrote 256.00M bytes in 1.02s: 250.14M/s
Reading the random data from local disk
Read 256.00M bytes in 0.32s: 810.63M/s
Split 256.00M bytes into 52 chunks without compression/encryption in 12.67s: 20.20M/s
Split 256.00M bytes into 52 chunks with compression but without encryption in 14.71s: 17.41M/s
Split 256.00M bytes into 52 chunks with compression and encryption in 36.76s: 6.96M/s
Generating 64 chunks
Uploaded 256.00M bytes in 21.92s: 11.68M/s
Downloaded 256.00M bytes in 25.05s: 10.22M/s
Deleted 64 temporary files from the storage
So two questions for the experts out there:
- Is this telling me that the performance bottleneck is the CPU on the main NAS?
- If so, is there any way to init the target storage to not require encryption and/or compression?