arakasi72 / rtinst

seedbox installation script for Ubuntu and Debian systems
MIT License
1.22k stars 259 forks source link

Max. Download/Upload Band #538

Closed ronioncloud closed 4 years ago

ronioncloud commented 4 years ago

There is something that "forces" this value, i can't set value 0 or bigger than 327625, after 5-10 seconds this value back... what's wrong?

Download and upload is always limited; /

[img]https://i.imgur.com/sJcfl2z.jpg[/img]

ronioncloud commented 4 years ago

Ahh. Maximum memory usage configured at 3500 (mb) and htop memory usage is very low, even with 43 active downloads ... ubuntulinux+ru = 270mb lol

https://i.imgur.com/8KwvK2b.jpg

The bad thing is that the download and upload speeds are low, for a 1gbps connection ... ~20mbps up and 20-30mb/s download ;/

ronioncloud commented 4 years ago

https://github.com/rakshasa/rtorrent/issues/491#issue-172251486 I found something, but it should still be at better speeds. Already port forward.

V33m commented 4 years ago

There is something that "forces" this value, i can't set value 0 or bigger than 327625, after 5-10 seconds this value back... what's wrong?

The value will be reset every time rTorrent starts. You have to set the value in rtorrent.rc.

I recommend that you read Rakshasa's RTorrent and LibTorrent Wiki for more information. Especially useful is the section rTorrent Performance Tuning if you are striving to achieve increased performance.

khius commented 4 years ago

I have the same problem, in my case .rtorrent.rc value is set to 0, but the value in the GUI is set to 327625, if I change it to 0 it gets back to 327625 in 5 - 10 seconds, I don't know what is happening.

Screen Shot 2020-10-21 at 5 57 28 PM
ronioncloud commented 4 years ago

I have the same problem, in my case .rtorrent.rc value is set to 0, but the value in the GUI is set to 327625, if I change it to 0 it gets back to 327625 in 5 - 10 seconds, I don't know what is happening.

Screen Shot 2020-10-21 at 5 57 28 PM

I couldn't fix it yet. Any news?

V33m commented 4 years ago

There are several technical reasons to this as the value of 0 (indicating infinity) can potentially do more harm than good. The reason for the value of 327625 is that it can't be greater due to limitation in libtorrent ResourceManager::set_max_upload_unchoked function (Source). Anyways, the value is way above what you probably are able to output as it Is ~320 MiB/s (~2,6 Gbps). Even with a 1 Gbps internet you still have a long way to go... 👍