Sorry, don't know about the port thing, but for best speeds in deluge, if having good connection and resources to boot, then good starting point is using ltconfig plugin and selecting 'high-performance seed' preset there(or likeminded named). In it's description in official documentation, then is stated to be for uploading and no downloading, but I asked lead-dev Arvid some years ago, about if also useful for downloading as didn't sound like it, but he stated it's too "a good starting point". I do remove alot of options from that preset and mostly used things that to me sounded like making sense for mostly downloading, but full preset worked fine too, so not strictly needed seemingly, and I most probably have cut out good options by lack of knowledge currently on said setting, but you can try it yourself and adjust if needed and/or tune op down in values/settings of said preset, if wanted.
Ohh, I assume you have portforwarding setup correctly/enabled, as also is much important with speed, and first step to consider obviously(and not limiting speed inappropriately under deluge settings), so obviously should be asumed when speed optimization is concerned, but just adding for making absolutely sure.
Lastly, with or without 'high-performance seed' preset, then sometimes uTP is hindering your speeds as throttles down too aggressively, especially often under VPN usage, but also under "normal" conditions there's some speed to improve regardless, in my experience, and so if wanting to see if that is the culprit in your case, then try disabling uTP, and only use TCP connections, which isn't either disabled by the 'high-performance seed' preset, but though is set to prefer TCP mostly, but that is not always enough however.
To disable uTP, then with ltconfig plugin, you disable both 'enable_outgoing_utp' and 'enable_incoming_utp'. Note if using deluge2, then the ltconfig plugin has a bug with not being able to tick/untick boolean options(true/false type), so have to add them yourself to ltconfig.conf under your deluge profile dir, e.g. you can copy/paste the two needed lines from a ltconfig.conf found online and into your ltconfig.conf, or input them directly yourself. If not wanting the 'high-performance seed' preset, then can just use that ltconfig.conf found online as yours, and edit to only feature said two lines there. Example ltconfig.conf: https://gist.github.com/kbrx93/cb7ad4b5 ... 0637776fe2
Edit: Though I would too enable some further options for download if considering only disabling uTP and nothing else, like e.g I just took the most obvious from the 'high-performance seed' preset, but there's more I need look into of them e.g. for tunning also buffers and watermarks etc, which I don't really have any good grasp on currently to be hones(and also a few other options not in that preset for announcing to all trackers always, anonymous mode for VPN usage and tracker_backoff, for reconnecting to failing trackers after 5 secs or so(like rtorrent does), instead of waiting 10 mins, though after some time this value is extended based on some internal libtorrent calculation, but fine enough to reconnect and get seeds/peers if only a temporary thing). Note, I didn't disable uTP in this(my) example here, so add those yourself if wanting this. I personally didn't disable uTP, because wanted most coverage possible for the case of torrents with very few seeds/peers, and uTP supports UDP hole-punching, which if lucky can get you connected to firewalled peers at times, plus some state many clients prefer uTP, even though of what i've read, then clients supporting uTP have it always by default enabled to support both(would be silly having only uTP as default imho), unless specifically changed, it might connect first through uTP, but fallback to TCP if not getting handshake back on the initial request, sometimes both connections trried simultaniously(utorrent if remember correct), or libtorrent-raterbar(e.g. deluge), where TCP follows failed uTP request(again if remember right, unless disabled of-course). Also, much popular client rtorrent doesn't even support uTP, and is frequently used on seedboxes and elsewhere, so TCP should be fine regardless anyhow, but just explaining my reasoning for omiting disabling it(uTP), just in case, and also because my uTP speeds isn't that bad either, compaired to TCP(and have "prefer-tcp" option enabled too i.e. "mixed_mode_algorithm=0"), but have read multiple report of it making drastic differences for others, and uTP implementation is known to be somewhat buggy at throttling at times, or atleast used to be.
Code: Select all