R
R
RedCatX2014-04-26 17:29:53
C++ / C#
RedCatX, 2014-04-26 17:29:53

How do torrent priorities work in Transmission?

As far as I understand, a separate thread (thread) is created for each piece of the uploaded file, and each piece has a priority - high, low or medium. Accordingly, a piece with a higher priority is loaded faster than a piece with a low one. I'm interested in how this is implemented: perhaps the speed for each download thread is limited according to priority; and perhaps the total number of connections is limited, and threads queue for free slots (abstraction) in accordance with their priorities.
Also, if it's not difficult, tell me where to look for the implementation of priorities in the libtransmission sources.
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question