Registered Member
|
Just an Idea. Im not sure if is it good or not..
It would be nice if I could assign the "maximum connections per torrent" automatically by percent, based on the "global connection limit" value entered. Example: If I allow a global connection limit of 100 connections, I want them well distributed in the torrents im downloading... 50 each when having 2 torrents... and 25 each if a have 4 torrents downloading.. Why? When I add a new torrent to the torrents list Im already downloading.... that new torrent takes a long time to catch conecctions because all the available connections are assigned to the rest of the torrents. What I don now is select all the torrents, stop them and start all again... that way everyone have a similar amount of connections to use. Thanks for an excelent software. |
Registered Member
|
what happens, if a torrent has few seeds
or if a torrent has guaranteed upload/maximum upload/download, it may need more/less conections while i have run into the problem you describe, i believe your solution causes more problems, and i can't think of a better solution either |
Registered Member
|
>>what happens, if a torrent has few seeds
Just receives a proportional amount of connections, leaving other connections to be used by other torrents with more seeds. >>or if a torrent has guaranteed upload/maximum upload/download, it may need more/less conections I dont know how ktorrent manage those guaranteed values. If you want to give advantage to one torrent over the others, you may assign a plus percent of a desired value, instead of adding connections you may add a percent of your connections. That way the whole thing keeps allways stabilized. I will try an example: When a torrent has few seeds it receives a proportional amount of connections. Example with 3 torrents and 100 global max connections t1 has 500 seeds ...33 connections t2 has 1000 seeds ....66 connections t3 has 2 seeds ..... 1 connection you have a total of 1502 seeds, which makes 100% of available seeds. Then, t1 has 33% of all seeds, so give it 33% of upload connections. (33) t2 has 66%... give it 66 connections t3 has 0,13% (round to 1%) so give it 1 connection. later you add a 4th torrent which has 10000 seeders... then the balance do this: t1 has 500 seeds 4%.... 4 connections t2 has 1000 seeds 8%....8 connections. t3 has 2 seeds 1%....1 connection t4 has 10000 seeds 86%....86 connections. and when t1,t2,t3 finish downloading, t4 receives all the connections. Ok. And now you have t4 downloading at full speed with all your connections, but you want to download faster another torrent wich has 100000 seeders too.... so both torrents will have 50 connections each...because have the same amount of seeders. To give advantage to one of them (t5) you may add it an extra percent of connections, for example 25% plus... then you will have... t4 has 10000 seeds...50% of global seeds.....25 connections t5 has 10000 seeds...50%+25%plus of global seeds....75 connections (50 connections plus 25 more from the Plus option.) I think that way you can have ktorrent allways automatically balanced, and when you want to boost one torrent..or some torrents.... you simply add a plus percent to each one. Another benefit is when a new (and big, and popular...) torrent starts with few seeds and incrementing them... ktorrent will allways asign a proportional amount of resources. The other way too.... when a very popular torrents dies...everybody goes out....leaving you with a lot of unused, assigned connections and few seeds. Ktorrent should lower proportionally the assigned connections, leaving those resources for other torrents. >>while i have run into the problem you describe, i believe your solution causes more problems, and i can't think of a >>better solution either I believe managing resources by percent is better than managing by static values. Specially in a torrent, which changes scenarios very fast.. adding and removing torrents manually, torrents changing the amount of seeders every time. Most torrents makes a curve of seeders...starts low...rises...keeps a while up and then goes lower and lower while seeders abandon the torrent. Ktorrent should adapt to that curve every time to ensure best distribution of resources (connections) Or... im confused about everything and definitelly my idea will not work. hahaha! Thanks anyway for your time. regards from Villa Gesell, Argentina. |
Registered users: Bing [Bot], Evergrowing, Google [Bot]