feature request: manage download queue by bandwidth
feature request: manage download queue by bandwidth
Currently the only way deluge can manage which torrents are being downloaded and which remain queued is by the quantity of [active] downloading torrents but this is not a very good criteria - one torrent with a strong seed base can max all available bandwidth while ten weak torrents may not be able to do it. I suggest controlling queing by the bandwidth: torrent quantity parameters remain, but if total dowload bandwidth drops below a certain threshold a new torrent is released from the queue, when bandwidth remains above the 'healthy' level for some time extra torrents are queued again.
Re: feature request: manage download queue by bandwidth
There is an option in Preferences->Queue to ignore slow torrents however if you require modified version of this then it would be a libtorrent request. I have seen discussion about ignoring slow torrents, i think on the mailing list, so new options may appear in future versions of libtorrent.
Re: feature request: manage download queue by bandwidth
'Ignore slow torrents' excludes only the torrents with 0 dl speed, it is better than nothing but not enough.
I don't like libtorrent. I mean, guys so much obsessed with sparse files cannot be very smart... and deluge still lacks proper preallocation mode and fragments files as hell.
I don't like libtorrent. I mean, guys so much obsessed with sparse files cannot be very smart... and deluge still lacks proper preallocation mode and fragments files as hell.
Re: feature request: manage download queue by bandwidth
Write a plugin to manage it yourself then. 
Re: feature request: manage download queue by bandwidth
libtorrent is the work of one person, Arvid Norberg, and I don't think that comment is justified. If you read the libtorrent manual you will see several storage modes and one of them is Full Allocation. The reason why Deluge has not enabled it is partly due to needing backward compatibility with lt 0.14 in the current versions however there is a simple fix which I posted here and the feature will be added to the next major release of Deluge.lvm wrote:I don't like libtorrent. I mean, guys so much obsessed with sparse files cannot be very smart... and deluge still lacks proper preallocation mode and fragments files as hell.
Re: feature request: manage download queue by bandwidth
Yes, it is by default the value set by libtorrent which is 2048 bytes/s (2 KB/s) however libtorrent api does accept a different value from the clients using it.
It can be set for Deluge in the file, method. Here is an example:
Remember, should you edit this file, it might get overwritten when you (or your distribution) upgrades Deluge. Remember to check and re-edit after upgrades.
It can be set for Deluge in the
Code: Select all
/usr/lib/python3/dist-packages/deluge/core/preferencesmanager.pyCode: Select all
_on_set_dont_count_slow_torrentsCode: Select all
def _on_set_dont_count_slow_torrents(self, key, value):
# libtorrent's default inactive_down_rate/inactive_up_rate thresholds are
# 2048 bytes/s (2 KB/s). Raise them to 204800 bytes/s (200 KB/s) so that
# torrents transferring below 200 KB/s are treated as slow and excluded
# from the active slot counts when dont_count_slow_torrents is enabled.
self.core.apply_session_settings({
'dont_count_slow_torrents': value,
'inactive_down_rate': 204800,
'inactive_up_rate': 204800,
})
Deluge



