mapa17 / Eruliaf

A BitTorrent like overlay peer simulator
GNU General Public License v3.0
1 stars 0 forks source link

Dynamic TFT/OU Period #39

Open mapa17 opened 12 years ago

mapa17 commented 12 years ago

To not waste upload slots/time to uninterested peers, one could set the TFT/OU Period dynamicly, depending on the interest of the peers in the pervious period.

For example.

TFT Period = 10sec If we have one period with low interest in our data ( many peers dont use our upload slots ), decrease the TFT Period by one.

If peers have a high interest, increase it by one.

With boundaries at for example min 5 sec max 20. So we prevent fibrilation and enable long lasting cooperation.

mapa17 commented 12 years ago

But if so, why not set it to a low value like 5 by default. Because if a peer is cooperating, we will probably continue in the next round, meaning selecting this peers as downloader.