Ignore queue limits if speed is less than

Bug #799703 reported by sledgehammer999
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
qBittorrent
Fix Released
Wishlist
Christophe Dumez

Bug Description

This is a wishlist for a more advanced queue logic. If a torrent's speed is less than X KB/s then that torrent shouldn't be counted in the queue limits, thus allowing the next torrent to download also. If the torrent's speed is >= X KB/s then it should be counted again.

Tags: wishlist
Changed in qbittorrent:
importance: Undecided → Wishlist
Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Basing on the speed would probably affect performance since you need to keep checking the transfer speed of active torrents and toggle their torrent_handle::auto_managed() state.

I believe a middle ground here would be to not count in the queueing limits torrents that are not transferring anything. This is more efficient because supported by libtorrent:
---
if dont_count_slow_torrents is true, torrents without any payload transfers are not subject to the active_seeds and active_downloads limits. This is intended to make it more likely to utilize all available bandwidth, and avoid having torrents that don't transfer anything block the active slots.
---

I can add support for this in next major release if you are still interested.

Changed in qbittorrent:
assignee: nobody → Christophe Dumez (hydr0g3n)
status: New → Incomplete
milestone: none → 2.9.0
Revision history for this message
sledgehammer999 (sledgehammer-999) wrote :

Yes this is an acceptable solution for the time being.
I had a look in the libtorrent API and I came to this conclusion. If we want to have more advanced queue logic/options then we must manage the torrents ourselves. This requires a rewrite of the code and thus will remain in the "wishlist". And I think this is the only way to implement a "force" torrent option.

Changed in qbittorrent:
status: Incomplete → Confirmed
Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Implemented in v2.9.0.

Changed in qbittorrent:
status: Confirmed → Fix Committed
Changed in qbittorrent:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.