-
Notifications
You must be signed in to change notification settings - Fork 449
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Anonymous download performance enhancements #7684
Comments
25.5 MByte/sec download speed 💥 |
I wonder how much of increase that will be, if you move both sides of the tunnel (e.g. tunnel helpers too) to Rust... 🤩 |
I don't really expect to see speeds beyond what I'm currently seeing. If I look at the speed with just a single circuit, it won't go beyond 3MB/s. So, while testing, I worked around the issue by creating 20 circuits. |
As discussed in Dev Meeting...this month, Jan 2024 all Rust matters on both IPv4 and IPv6 should come together. Stable performant code is the ambition. |
IPv8 has now been refactored to support a separate Rust endpoint (Tribler/py-ipv8#1250). There is also a release on PyPI. |
For the occasion, I gave the Rust implementation a run on my bare metal machine (AMD Ryzen Threadripper 3970X 32-Core, 64 GB 2666 MHz RAM, from an M2 drive with a gigabit Internet connection). As a benchmark, using the same torrent, I gathered three results that are more-or-less repeatable:
Here are the screenshots: Libtorrent 2.0.7 C implementation +- 110 MB/sTribler 0 hops +- 67.5 MB/sTribler Rust 1 hop anonymous +- 27.5 MB/s |
I'm currently doing some performance enhancements to our core, in particular to the IPv8 socket/tunnel community. By moving some code to rust (Tribler/py-ipv8#1119), we're getting much better download speeds:
The text was updated successfully, but these errors were encountered: