diff --git a/README.md b/README.md index 9621f8c..f26d5ab 100644 --- a/README.md +++ b/README.md @@ -31,9 +31,9 @@ Known users: ## Performance of the UDP implementation -![UDP BitTorrent tracker throughput comparison](./documents/aquatic-udp-load-test-illustration-2023-01-11.png) +![UDP BitTorrent tracker throughput](./documents/aquatic-udp-load-test-2024-02-10.png) -More benchmark details are available [here](./documents/aquatic-udp-load-test-2023-01-11.pdf). +More benchmark details are available [here](./documents/aquatic-udp-load-test-2024-02-10.md). ## Usage diff --git a/crates/udp/README.md b/crates/udp/README.md index 60a5c2d..6e37148 100644 --- a/crates/udp/README.md +++ b/crates/udp/README.md @@ -21,9 +21,9 @@ This is the most mature implementation in the aquatic family. I consider it full ## Performance -![UDP BitTorrent tracker throughput comparison](../../documents/aquatic-udp-load-test-illustration-2023-01-11.png) +![UDP BitTorrent tracker throughput](../../documents/aquatic-udp-load-test-2024-02-10.png) -More benchmark details are available [here](../../documents/aquatic-udp-load-test-2023-01-11.pdf). +More benchmark details are available [here](./documents/aquatic-udp-load-test-2024-02-10.md). ## Usage diff --git a/documents/aquatic-udp-load-test-2024-02-10.md b/documents/aquatic-udp-load-test-2024-02-10.md new file mode 100644 index 0000000..7e8544d --- /dev/null +++ b/documents/aquatic-udp-load-test-2024-02-10.md @@ -0,0 +1,106 @@ +2024-02-10 Joakim FrostegÄrd + +# UDP BitTorrent tracker throughput comparison + +This is a performance comparison of several UDP BitTorrent tracker implementations. + +Benchmarks were run using [aquatic_bencher](https://github.com/greatest-ape/aquatic), with `--cpu-mode subsequent-one-per-pair`. + +## Software and hardware + +### Tracker implementations + +| Name | Commit | +|---------------|---------| +| [aquatic_udp] | 21a5301 | +| [opentracker] | 110868e | +| [chihaya] | 2f79440 | + +[aquatic_udp]: https://github.com/greatest-ape/aquatic +[opentracker]: http://erdgeist.org/arts/software/opentracker/ +[chihaya]: https://github.com/chihaya/chihaya + +### OS and compilers + +| Name | Version | +|--------|---------| +| Debian | 12.4 | +| Linux | 6.5.10 | +| rustc | 1.76.0 | +| GCC | 12.2.0 | +| go | 1.19.8 | + +### Hardware + +Hetzner CCX63: 48 dedicated vCPUs (AMD Milan Epyc 7003) + +## Results + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ UDP BitTorrent tracker troughput +

Average responses per second, best result.

+
CPU coresaquatic_udp (mio)aquatic_udp (io_uring)opentrackerchihaya
1186,939226,065190,54055,989
2371,478444,353379,623111,226
4734,709876,642748,401136,983
61,034,8041,267,006901,600131,827
81,296,6931,521,1131,170,928131,779
121,871,3531,837,2231,675,059130,942
162,037,7132,258,3211,645,828127,256
+ +![UDP BitTorrent tracker throughput](./aquatic-udp-load-test-2024-02-10.png) diff --git a/documents/aquatic-udp-load-test-2024-02-10.png b/documents/aquatic-udp-load-test-2024-02-10.png new file mode 100644 index 0000000..a91b862 Binary files /dev/null and b/documents/aquatic-udp-load-test-2024-02-10.png differ