Re: torrents priority
HyDr0g3n - <hydr0g3n <at> hotmail.com>
2007-09-01 10:39:54 GMT
I would really like this feature too. Arvid, the last method you gave seem good enough, better than pausing
torrents with lower priorities anyway :)
Regards,
Chris.
----------------------------------------> From: arvid <at> cs.umu.se> Date: Tue, 28 Aug 2007 09:23:53
-0700> To: libtorrent-discuss <at> lists.sourceforge.net> Subject: Re: [libtorrent] torrents
priority>> On Aug 27, 2007, at 04:42, Olivier Mouchet wrote:>>> Hi again,>>>> Tell me if I'm wrong, but I
guess there's no method to prioritize a>> particular torrent in a session.>> Correct. Except pausing
torrents that are not prioritized.>>> In consequence, I thought to emulate it in manipulating torrents'
rate>> limits:>> _ if the sum of each torrent's rate is under the session's rate>> limit, don't>> do
anything>> _ else decreasing lower-priority torrents' rate limit regarding the>> difference between
the sum of each torrent's rate and the session's>> rate>> limit.>>>> This is a first idea, far to be
perfect. But if we do not focus on the>> algorithm, I wonder if it will be efficient (and does not represent
an>> instability factor) to modify the torrents' rate limits in a very>> frequent>> way?>>>> Did anyone
have a reflexion about ways to give priorities to>> torrents using>> libtorrent? Or have an idea about the
algorithm implemented in some>> other>> clients? Do they manipulate rate limits too?>> It depends on
what you mean by "priority".>> The most reasonable semantics I can think of for priority on torrents> is to
stop all non-prioritized torrents until the prioritized ones> have finished downloading. Possibly
with some way of starting more> torrents in case the bandwidth is not saturated.>> It would also be
possible to have all the peers from a prioritized> torrent skip ahead all peers from lower priority
torrents when they> get in line to request upload bandwidth quota from the rate limiter.> That would
basically mean that the upload bandwidth is given to high> priority peers, and the left-overs are used for
other peers.>> --> Arvid Norberg>>>>
-------------------------------------------------------------------------> This SF.net email
is sponsored by: Splunk Inc.> Still grepping through log files to find problems? Stop.> Now Search log
events and configuration files using AJAX and a browser.> Download your FREE copy of Splunk now>>
http://get.splunk.com/> _______________________________________________> Libtorrent-discuss
(Continue reading)