I’ve created a second storage location for a repo on a second disk in the same machine (reorganizing disks) and am using the copy
command to clone the data over but it seems much slower than it should. Getting around 20 MB/s sometimes closer to 30 if I’m lucky. Am I crazy or should this not be a lot faster based on the hardware / setup below?
Copied chunk 7bdf2151a594977e372574439f4873b514881649a562397f87d23922275c5202 (101/394334) 21.47MB/s 20:39:38 0.0%
Copied chunk 2cd39a1a842563cfb71fd11a5ee24b39b7b5c0c252a01e5c9cf80a587a2266ea (93/394334) 22.19MB/s 22:33:21 0.0%
Copied chunk 5bc24e48276570bd1f5741c21e01aa29a4a76bf86dece8e662c4b521d958ddd2 (102/394334) 22.09MB/s 20:44:14 0.0%
Copied chunk 7a7f09ef948a3d691177212320f8092b6217f51c8fc217605c973726f08ba456 (99/394334) 22.28MB/s 21:32:10 0.0%
Copied chunk 9d58c39d0f2a9fae166eae3b9539570c184e0d768f81429b982b85ce58ad95d6 (108/394334) 21.45MB/s 20:34:24 0.0%
Copied chunk ff2333cd804a617ac8967c2ca32c44868efb6581a05ca80fc09bd12db75f3a08 (104/394334) 21.17MB/s 21:57:25 0.0%
Copied chunk 5ceca5a158b52132d1f8504676fbc6ff661f02fe4dd85b03fb822d31ffbfa145 (103/394334) 20.90MB/s 22:55:39 0.0%
Copied chunk 92fb92d5966181f6991377e990f1510ea5222aebd10628eb950c9d298f04882a (110/394334) 20.99MB/s 21:37:09 0.0%
Copied chunk 0cedfdb326de5dc00224a6cedf3b17da85c669f454b04e3c770d8b596d66bf70 (109/394334) 21.16MB/s 21:53:55 0.0%
Source:
- HDD 7200 rpm disk that gets read speeds over 200 MB/s in a
dd
test - Unencrypted duplicacy storage with default settings for chunk size and everything else
Target:
- Unraid HDD array in the same machine that gets write speeds just under 200 MB/s at the same time as the read test is running (so I know it’s not a throughput issue on the SATA controller)
- Encrypted duplicacy storage with that had
-copy
param set to the source storage above.
CPU:
Intel® Core™ i3-7100 CPU @ 3.90GHz and is usage is less than 50% while the copy
is running
Command:
duplicacy copy -threads 8 -from default -to INT_BACKUP_ENC_TEMP
(aware 8 threads won’t do anything on a 4 thread machine but was kind of grasping at straws)
# cat /mnt/user/archive/.duplicacy/preferences
[
{
"name": "default",
"id": "archive",
"repository": "",
"storage": "/mnt/disks/INT_BACKUP/UNRAID_BACKUPS_DUPLICACY/archive_and_ReplicateOut",
"encrypted": false,
"no_backup": false,
"no_restore": false,
"no_save_password": false,
"nobackup_file": "",
"keys": null,
"filters": "",
"exclude_by_attribute": false
},
{
"name": "INT_BACKUP_ENC_TEMP",
"id": "archive",
"repository": "",
"storage": "/mnt/user/local/INT_BACKUP_ENC_TEMP",
"encrypted": true,
"no_backup": false,
"no_restore": false,
"no_save_password": false,
"nobackup_file": "",
"keys": null,
"filters": "",
"exclude_by_attribute": false
}
]
Testing:
- Nothing else is using the disks outside of duplicacy
- rsync can copy at a sustained rate around 165 MB/s (large file) or 80 MB/s a bunch of smaller / medium files like documents, etc.
Finally… Is it strictly due to the many small chunk files? Even considering that it seems quite slow since at one point I was copying chunk files to another machine across the network at 50-75 MB/s.