Improve Upload Balancing


JimKnopf

Recommended Posts

Currently the distribution of the available upload bandwidth to the other visible clients seems to depend more on the individual latency to each of the others than on the fact what upload bandwidth the other clients have.

 

This could lead to the strange situation that the client with the smallest upload bandwidth to the internet gets the most data from all clients since it shows the best response time to them.

 

For the main target namely to distribute the data to all clients as fast as possible, such behaviour is sub-optimal.

 

It would be better and more fair to prefer those clients for upload bandwidth which themselves offer the most upload bandwidth to the others. This would guarantee a nearly optimal distribution speed.

 

Example 1:

If the local client knows remote clients A,B,C which have the individual upload bandwidth Ua, Ub, Uc on their site to the internet, the local upload bandwidth could be distributed by:

 

full local bandwidth in percent to remote client X:

100 * Ux /(Ua + Ub + Uc), Ux is upload Bandwidth of Client X to the internet

 

This would prefer the faster (stronger) remote clients which are more helpful to distribute the data as fast as possible.

 

Example 2:

Another algorithm could be to first pump all data to the client with the largest upload bandwidth until it is full then start filling the second largest ... and so.

While the first seeder is filling later clients the best uploaders in the network could run in parallel at full upload speed. This is also near an optimal distribution regarding required time.

 

 

Perhaps there are better/easier ideas to get near an optimal distribution algorithm.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.