Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How exactly is availability of a torrent calculated in uTorrent

uTorrent has an availability indicator that shows something like how many of the peers you are connected to have how much of the torrent. If it is less than 1, all the peers you are connected to combined do not have the entire torrent. However for a 'healthy' torrent this number is often larger than 1, showing that even if some seeds disconnect the data stream will not be totally disrupted.

How exactly is the availability index calculated?

like image 412
Giskard Avatar asked Mar 20 '17 10:03

Giskard


People also ask

How is torrent availability calculated?

Availability is calculated by the percent of pieces that can be downloaded. If the availability is 1 or more, then it is calculated by the piece with the least amount of peers having it. The fractional is calculated by the percent of pieces that have more peers than the piece with the least.

What do you do when a torrent is stuck at 99%?

If the file is a text or readme file, you may ignore it if it is not essential. If all else fails, stop and restart the torrent again. If that fails, click Transfer -> Pause to stop all torrents, exit Azureus, wait three minutes, then run Azureus and click Transfer -> Resume.

What should be the bandwidth allocation in uTorrent?

Speed up uTorrent by allocating bandwidth To ensure that uTorrent gets the lion's share of the available bandwidth on your system, you'll want to set the allocation to High. To do this, right click on the torrent you're downloading, then select Bandwidth Allocation>High.

How do I increase the number of peers in uTorrent?

Adjust bandwidth settings by clicking Options > Bandwidth in utorrent. Limit the maximum upload rate to 10 or 15kbps and the maximum download speed to infinity. Set the global maximum number of connections to 500 and the maximum number of connected peers per torrent to 100.


1 Answers

When a BitTorrent client calculates the availability of a torrent,
it first, for every piece, sums up how many different peers that piece can be downloaded from.

Then it finds the lowest sum. That sum is the integer part of the Availability.

After that it checks how many pieces that has that lowest sum.
The fractional part of the Availability is then calculated as:

(Nr_of_Pieces_in_torrent - Nr_of_Pieces_with_lowest_sum) / Nr_of_Pieces_in_torrent

A Seed is a peer that has all the pieces in the torrent. Even if there is no seed in the swarm,
the availability can exceed 1 as long as every individual piece in the torrent is available from at least one peer.

(Answer from a similar question on Superuser.)

like image 132
Encombe Avatar answered Sep 19 '22 08:09

Encombe