Help needed diagnosing slower than expected throughput #7424
Replies: 1 comment
-
I ran a few tests and found that the entire perf degradation comes from using SSL torrents. Turning off SSL torrents gets it to use 100% bandwidth with no special configuration. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi folks! I'm running 2 libtorrent peers on Digital Ocean. They are not part of the mainline bittorrent network. They're only serving some of my own torrents and using my own tracker to find each other. The behaviour I'm seeing is that the throughput between these nodes seems to be maxing out at 100 - 130 MB/s. I know for sure that the nodes can do 200+MB/s between them (verified with
iperf3
and also python'shttp.server
). If I try a single torrent, it gives me around 130MB/s but if I try two torrents in parallel, they are not able to push beyond 130; both of them share this transfer rate equally, giving me something like 55 MB/s each.Here is my setup:
allow_multiple_connections_per_ip
is enabled-1
iperf3
shows me that the DO machines can do 200+ MB/s even with the public IPs so there is bandwidth to spare.Using this, I test with two torrents. The first is 1484 MB, and this gets downloaded in around 10 - 12s on its own. The second is 1659 MB and this too is somewhere in the neighbourhood of 10 - 15s on its own. If I try both together, they tend to take 25 - 30s, which means throughput is only around 100 - 120 MB/s.
What I've tried so far:
high_performance_seed
settings, except leaving active seeds, downloads, limit at-1
. I have only around 10 torrents I'm testing with so unlimited active shouldn't really be a problemmax_out_request_queue
andmax_allowed_in_request_queue
to insanely high levels. This gets rid of the performance alert, but doesn't have a significant impact on the bandwidth used. In fact, I think that setting extremely high levels are making the whole thing a little slower (maybe by a few seconds).The net effect of this is that I am able to download the same data from the internet faster than I am able to transfer them between these peers on the local network, which is the complete opposite of what I had expected. Downloading from the internet, I'm easily able to get 80 - 100 MB/s on both downloads in parallel, so it's a lot faster than the 55 MB/s that each torrent is giving me in parallel.
My questions:
Thanks in advance!
-- Ragesh.
Beta Was this translation helpful? Give feedback.
All reactions