Ok, I’ve set up a dedicated server for testing uplink, since running uplink v1.80.4 on the primary storj server was very slow for some reason, compared to @zeebo’s upload speed
The dedicated hardware setup :
- CPU model name ------- : AMD Ryzen Threadripper 3970X 32-Core Processor
- CPU socket(s) -------- : 1
- CPU core(s) per socket : 32
- CPU min MHz ---------- : 2200.0000
- CPU max MHz ---------- : 3700.0000
- System memory -------- : 131757 MB
- Harddisk --------------: 4 x Kioxia CD8 6,4 TB NVMe (Raid 0)
- Harddisk controller -- : Broadcom MegaRAID 9670W-16i
- Internet / uplink ---- : 100 Gbit/s
- OS ------------------- : Freshly installed Ubuntu 22.04.2 LTS (no sysctl option changed/added)
First I tested uplink v1.77.2 vs. v1.80.4, using the flags suggested by zeebo for v1.80.4 :
- v1.77.2 :
--parallelism 20
- v1.80.4 :
--maximum-concurrent-pieces 1300 --long-tail-margin 50
http://www.th3van.dk/benchmark/uplink/script-log-file-1t-file1-v1804-20230611081923.log :
Starting upload of 1t-file1 using uplink v1.77.2 @ 20230611081934
SHA256 of uplink-1772 : 8f41f40789fac6e6e8542badbc098c80a0431714e2ec51be3f702fede5e48d5d
- Command : ./uplink-1772 cp --parallelism 20 1t-file1 sj://test/1t-file1-v1772-20230611081923
-
- 2023-06-11T08:19:57 UTC -- CPU : 18.63, 4.26 , 2.09 -- Uplink mem usage (VSZ) : 3181 MiB -- Upload speed : 12465 Mbit/s -- Uploaded : 8.89 GB / 1.00 TB
- 2023-06-11T08:21:58 UTC -- CPU : 58.93, 24.43, 9.75 -- Uplink mem usage (VSZ) : 3315 MiB -- Upload speed : 12480 Mbit/s -- Uploaded : 60.03 GB / 1.00 TB
- 2023-06-11T08:23:58 UTC -- CPU : 64.67, 37.94, 16.47 -- Uplink mem usage (VSZ) : 3320 MiB -- Upload speed : 11952 Mbit/s -- Uploaded : 110.13 GB / 1.00 TB
- 2023-06-11T08:25:58 UTC -- CPU : 64.91, 46.90, 22.37 -- Uplink mem usage (VSZ) : 3321 MiB -- Upload speed : 12548 Mbit/s -- Uploaded : 160.25 GB / 1.00 TB
- 2023-06-11T08:27:59 UTC -- CPU : 63.44, 52.62, 27.46 -- Uplink mem usage (VSZ) : 3321 MiB -- Upload speed : 12434 Mbit/s -- Uploaded : 210.29 GB / 1.00 TB
- 2023-06-11T08:29:59 UTC -- CPU : 65.11, 56.84, 32.06 -- Uplink mem usage (VSZ) : 3321 MiB -- Upload speed : 12002 Mbit/s -- Uploaded : 260.21 GB / 1.00 TB
- 2023-06-11T08:31:59 UTC -- CPU : 64.42, 59.44, 36.03 -- Uplink mem usage (VSZ) : 3321 MiB -- Upload speed : 12528 Mbit/s -- Uploaded : 311.08 GB / 1.00 TB
- 2023-06-11T08:34:00 UTC -- CPU : 64.17, 60.99, 39.43 -- Uplink mem usage (VSZ) : 3321 MiB -- Upload speed : 12463 Mbit/s -- Uploaded : 361.30 GB / 1.00 TB
- 2023-06-11T08:36:00 UTC -- CPU : 64.96, 62.39, 42.57 -- Uplink mem usage (VSZ) : 3321 MiB -- Upload speed : 12271 Mbit/s -- Uploaded : 411.53 GB / 1.00 TB
- 2023-06-11T08:38:00 UTC -- CPU : 64.52, 63.25, 45.39 -- Uplink mem usage (VSZ) : 3321 MiB -- Upload speed : 11794 Mbit/s -- Uploaded : 461.59 GB / 1.00 TB
- 2023-06-11T08:40:01 UTC -- CPU : 64.66, 63.50, 47.64 -- Uplink mem usage (VSZ) : 3321 MiB -- Upload speed : 11084 Mbit/s -- Uploaded : 511.52 GB / 1.00 TB
- 2023-06-11T08:42:01 UTC -- CPU : 65.37, 64.19, 49.82 -- Uplink mem usage (VSZ) : 3321 MiB -- Upload speed : 11875 Mbit/s -- Uploaded : 561.50 GB / 1.00 TB
- 2023-06-11T08:44:01 UTC -- CPU : 65.69, 64.69, 51.75 -- Uplink mem usage (VSZ) : 3321 MiB -- Upload speed : 12144 Mbit/s -- Uploaded : 612.26 GB / 1.00 TB
- 2023-06-11T08:46:02 UTC -- CPU : 65.20, 64.82, 53.37 -- Uplink mem usage (VSZ) : 3321 MiB -- Upload speed : 12583 Mbit/s -- Uploaded : 662.10 GB / 1.00 TB
- 2023-06-11T08:48:02 UTC -- CPU : 65.93, 65.22, 54.91 -- Uplink mem usage (VSZ) : 3321 MiB -- Upload speed : 11600 Mbit/s -- Uploaded : 711.86 GB / 1.00 TB
- 2023-06-11T08:50:02 UTC -- CPU : 65.64, 65.29, 56.19 -- Uplink mem usage (VSZ) : 3321 MiB -- Upload speed : 11979 Mbit/s -- Uploaded : 761.59 GB / 1.00 TB
- 2023-06-11T08:52:03 UTC -- CPU : 64.80, 65.02, 57.20 -- Uplink mem usage (VSZ) : 3321 MiB -- Upload speed : 11977 Mbit/s -- Uploaded : 811.30 GB / 1.00 TB
- 2023-06-11T08:54:03 UTC -- CPU : 65.10, 65.18, 58.21 -- Uplink mem usage (VSZ) : 3321 MiB -- Upload speed : 12274 Mbit/s -- Uploaded : 861.00 GB / 1.00 TB
- 2023-06-11T08:56:03 UTC -- CPU : 65.98, 65.50, 59.18 -- Uplink mem usage (VSZ) : 3321 MiB -- Upload speed : 12489 Mbit/s -- Uploaded : 910.64 GB / 1.00 TB
- 2023-06-11T08:58:03 UTC -- CPU : 65.30, 65.30, 59.87 -- Uplink mem usage (VSZ) : 3388 MiB -- Upload speed : 12295 Mbit/s -- Uploaded : 960.99 GB / 1.00 TB
- Upload time (seconds) : 2408
Finished upload of 1t-file1 using uplink v1.77.2 @ 2023-06-11T08:59:42 UTC
---------------------------------------------------------------------------------
Waiting 900 sec...
---------------------------------------------------------------------------------
Starting upload of 1t-file1 using uplink v1.80.4 @ 20230611091444
SHA256 of uplink-1804 : 03b4b18dbf1bcf311119ed1af1afeb19c1b38ed114e940f17d86e1276a5b6009
- Command : ./uplink-1804 cp --maximum-concurrent-pieces 1300 --long-tail-margin 50 1t-file1 sj://test/1t-file1-v1804-20230611081923
-
- 2023-06-11T09:15:56 UTC -- CPU : 5.07, 3.98, 21.63 -- Uplink mem usage (VSZ) : 12256 MiB -- Upload speed : 3305 Mbit/s -- Uploaded : 5.46 GB / 1.00 TB
- 2023-06-11T09:17:56 UTC -- CPU : 8.43, 5.79, 20.15 -- Uplink mem usage (VSZ) : 29652 MiB -- Upload speed : 2275 Mbit/s -- Uploaded : 14.16 GB / 1.00 TB
- 2023-06-11T09:19:57 UTC -- CPU : 9.20, 6.97, 18.84 -- Uplink mem usage (VSZ) : 45747 MiB -- Upload speed : 2096 Mbit/s -- Uploaded : 22.41 GB / 1.00 TB
- 2023-06-11T09:21:57 UTC -- CPU : 6.35, 7.15, 17.50 -- Uplink mem usage (VSZ) : 61642 MiB -- Upload speed : 1505 Mbit/s -- Uploaded : 30.40 GB / 1.00 TB
- 2023-06-11T09:23:57 UTC -- CPU : 6.61, 6.71, 16.06 -- Uplink mem usage (VSZ) : 77736 MiB -- Upload speed : 1167 Mbit/s -- Uploaded : 37.93 GB / 1.00 TB
- 2023-06-11T09:25:57 UTC -- CPU : 7.08, 6.94, 15.01 -- Uplink mem usage (VSZ) : 92264 MiB -- Upload speed : 1716 Mbit/s -- Uploaded : 45.95 GB / 1.00 TB
- 2023-06-11T09:27:57 UTC -- CPU : 9.01, 7.76, 14.33 -- Uplink mem usage (VSZ) : 110315 MiB -- Upload speed : 1686 Mbit/s -- Uploaded : 53.96 GB / 1.00 TB
- 2023-06-11T09:27:59 UTC -- Uplink mem usage > 100GB (VSZ) - terminating uplink...
- Upload time (seconds) : 799 -- Upload failed !!!!!
Finished upload of 1t-file1 using uplink v1.80.4 @ 2023-06-11T09:28:03 UTC
Th3Van.dk
Since we stil have the OOM bug in v1.80.4, I’m not able to run a full upload test, using that particular version of uplink. I’ve set the script to terminate Uplink if mem usage (VSZ) runs higer than 100GB as a safety precaution.
Now, if i run the upload test aging using v1.80.4 using no flags, it looks like the upload is a bit faster.
http://www.th3van.dk/benchmark/uplink/script-log-file-1t-file1-v1804-20230611213157.log :
Starting upload of 1t-file1 using uplink v1.80.4 @ 20230611213207
SHA256 of uplink-1804 : 03b4b18dbf1bcf311119ed1af1afeb19c1b38ed114e940f17d86e1276a5b6009
- Command : ./uplink-1804 cp 1t-file1 sj://test/1t-file1-v1804-20230611213157
-
- 2023-06-11T21:33:48 UTC -- CPU : 3.37, 1.33, 0.49 -- Uplink mem usage (VSZ) : 20076 MiB -- Upload speed : 3485 Mbit/s -- Uploaded : 9.58 GB / 1.00 TB
- 2023-06-11T21:35:48 UTC -- CPU : 7.14, 3.17, 1.25 -- Uplink mem usage (VSZ) : 45157 MiB -- Upload speed : 3617 Mbit/s -- Uploaded : 22.21 GB / 1.00 TB
- 2023-06-11T21:37:49 UTC -- CPU : 9.81, 5.72, 2.44 -- Uplink mem usage (VSZ) : 73828 MiB -- Upload speed : 4324 Mbit/s -- Uploaded : 36.42 GB / 1.00 TB
- 2023-06-11T21:39:49 UTC -- CPU : 6.95, 6.36, 3.10 -- Uplink mem usage (VSZ) : 91030 MiB -- Upload speed : 2065 Mbit/s -- Uploaded : 45.90 GB / 1.00 TB
- 2023-06-11T21:41:50 UTC -- CPU : 8.13, 6.74, 3.63 -- Uplink mem usage (VSZ) : 109731 MiB -- Upload speed : 2248 Mbit/s -- Uploaded : 54.89 GB / 1.00 TB
- 2023-06-11T21:41:51 UTC -- Uplink mem usage > 100GB (VSZ) - terminating uplink...
- Upload time (seconds) : 586 -- Upload failed !!!!!
Finished upload of 1t-file1 using uplink v1.80.4 @ 2023-06-11T21:41:54 UTC
Th3Van.dk
Uplink debug log files has been send to zeebo in a PM
Upload times for 1 TB file :
- v1.77.2 - 2408 seconds @ ~ 12000 Mbit/s
- v1.80.4 - 799 seconds (only 54 GB got uploaded before OOM) @ ~ 1950 Mbit/s
- v1.80.4 (no flags) - 586 seconds (only 54 GB got uploaded before OOM) @ ~ 3147 Mbit/s
Despite uplink v1.80.4 now is in fact uploading faster (compared to the other primary server I used before) v1.80.4 it’s still not as fast as v1.77.2
Please don’t hesitate to let me know, if you want me to run more tests, with other uplink/Ubuntu flags or other versions of uplink.
On a personal level - I’d really like this to upload with the best speed as possible, since I’m planning on using Uplink in a Veeam Cloud Connect solution, that is (hopefully) going live this year
Th3Van.dk