Slow Download Ending Solution
#1
Posted 20 October 2005 - 12:29 PM
everybody must have noticed that emule can be very slow at the end of each download, especially at 99%.
Having experience only as a regular user, not seeing the code, I think that's only when I'm downloading a particular file from multiple clients. I guess emule assigns every client a frame (part of a file) and every client sends his part of file to me. Problem appears when there is no frames left to assign to client. Client is disconected. Because fastest clients ask for new frames more often then slow ones there is very high probability that the fastest clients are the first disconected ones and the last frame is downloaded from the slowest client. For example (very common situation) I dowload file archive.zip from 3 clients. One uploads to me with 80Kb/s, another 5Kb/s and the last 100B/s. The file dowloads fast, but the last frame is downloaded with 100B/s (from slowest client) and sometimes it takes 50% of total file download time.
I see 2 solutions. One is smaller frame size, but this will lead to more control data needed and lower transfers.
Another solution is more subtle. When emule cannot assign a frame to client (there are no free frames) it checks which client is the slowest one, "kicks" kim, and gives the last frame (part) to the actually fastest free client. In other words, Emule kicks the slowest client and lets the faster one to finish frame download.
Tell me what do you think?
greetings
#2
Posted 20 October 2005 - 12:43 PM
Also netfinity's 'dynamic block requests' aims to resolve this senario too. But so far the devs haven't been inclined to implement such a thing in official.
#3
Posted 20 October 2005 - 12:55 PM
But the question remains, why do devs won't implement it if it is such an easy problem to solve and gives a boost to the software.
#4
Posted 20 October 2005 - 01:09 PM
Kutfiusz, on Oct 20 2005, 12:55 PM, said:
You didn't need to find it, the underlined^ Faster 'endgame' above is a link, just click it.
Quote
#5
Posted 20 October 2005 - 01:47 PM
PluG, on Oct 20 2005, 02:09 PM, said:
Kutfiusz, on Oct 20 2005, 12:55 PM, said:
You didn't need to find it, the underlined^ Faster 'endgame' above is a link, just click it.
well, I meant i haven't found it before I asked my question..
thx to you too
#6
Posted 20 October 2005 - 05:28 PM
PluG, on Oct 20 2005, 03:09 PM, said:
Kutfiusz, on Oct 20 2005, 12:55 PM, said:
You didn't need to find it, the underlined^ Faster 'endgame' above is a link, just click it.
Quote
Erm zz has already implemented his own version of the faster endgame in vanilla eMule iirc. Should have happened in 0.46c I think. I'm certain it was in one of the 0.46x clients.
Seven for the Dwarf-lords in their halls of stone,
Nine for Mortal Men doomed to die,
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
One Ring to rule them all, One Ring to find them,
One Ring to bring them all and in the darkness bind them
In the Land of Mordor where the Shadows lie.
Dark Lord of the Forum
Morph your Mule
Need a little help with your MorphXT? Click here
#7
Posted 20 October 2005 - 05:39 PM
Andu, on Oct 20 2005, 05:28 PM, said:
My mistake, your right, just checked the changelog for 46c.
Quote
- June, 28. 2005 -
----------------------
zz: When downloading from a really slow source, request less of the file at a time. This locks less of the file, so if there's a faster source available we have a better chance of downloading from it even when the file is almost completely downloaded.
#8
Posted 20 October 2005 - 08:42 PM
It will be part of the next ZZUL release though.
/zz
This post has been edited by zz: 20 October 2005 - 08:43 PM
#9
Posted 20 October 2005 - 09:05 PM
Bored??? Release your inner mule and get involved with your favorite file sharing program, EMULE!!!!!! Check out my feature request.
Modifications!!!....................Speed Up eMule!!! Partly Done
On Queue 2........................Individual Max Sources/File Partly Done
Advanced Sorting.................Slot for Small Files
Easy Switching.Partly Done....Advanced Priority System
To accomplish great things, we must not only act, but also dream; not only plan, but also believe
#10
Posted 20 October 2005 - 09:11 PM
zz, on Oct 20 2005, 10:42 PM, said:
Are you implying that the next release of the official client isn't too far off or is it just my wild imagination?
Seven for the Dwarf-lords in their halls of stone,
Nine for Mortal Men doomed to die,
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
One Ring to rule them all, One Ring to find them,
One Ring to bring them all and in the darkness bind them
In the Land of Mordor where the Shadows lie.
Dark Lord of the Forum
Morph your Mule
Need a little help with your MorphXT? Click here
#11
Posted 20 October 2005 - 09:40 PM
MasterJunior, on Oct 20 2005, 09:05 PM, said:
The mod is, as far as the reports around here go, tho' I never looked at it myself. But the Faster 'endgame' code is in the snippets section as I linked too....
Tho' all that's probably obsolette anyway, with zz's version implemented and under further developement, guess we just have to wait and see what nice surprises the future brings
#12
Posted 21 October 2005 - 12:02 AM
Bored??? Release your inner mule and get involved with your favorite file sharing program, EMULE!!!!!! Check out my feature request.
Modifications!!!....................Speed Up eMule!!! Partly Done
On Queue 2........................Individual Max Sources/File Partly Done
Advanced Sorting.................Slot for Small Files
Easy Switching.Partly Done....Advanced Priority System
To accomplish great things, we must not only act, but also dream; not only plan, but also believe
#13
Posted 21 October 2005 - 07:50 PM
MasterJunior, on Oct 20 2005, 11:05 PM, said:
dassel is indeed a very bad mod(0-uploading possiblity) , but nothing illegal.
All the dazzle end-game does is dropping slow sources, That is not the most efficient way since you still ahve to wait if a faster source is availble.
046c did an more generic improvement to the download code. that not only improves the laast chunk, but also might be an impreovement for all chunks.
Trouble connecting to a server? Use kad and /or refresh your server list
Strange search results? Check for fake servers! Or download morph, enable obfuscated server required, and far less fake server seen.
Looking for morphXT translators. If you want to translate the morph strings please come here (you only need to be able to write, no coding required. ) Covered now: cn,pt(br),it,es_t,fr.,pl Update needed:de,nl
-Morph FAQ [English wiki]--Het grote emule topic deel 13 [Nederlands]
if you want to send a message i will tell you to open op a topic in the forum. Other forum lurkers might be helped as well.
#14
Posted 21 October 2005 - 11:26 PM
Andu, on Oct 20 2005, 11:11 PM, said:
No, I'm not implying anything. Just that I won't put that code in the standard source, so it won't be part of a release whenever it may happen.
If it works out ok in a few ZZUL releases, I might feel safe enough to advocate for it in the standard eMule release, but we'll have to see.
/zz
#15
Posted 21 October 2005 - 11:47 PM
If a superior patch is, indeed, available, why not use it?
(Hey, first time I get to ask that about somebody else's patch)
SlugFiller rule #1: Unsolicited PMs is the second most efficient method to piss me off.
SlugFiller rule #2: The first most efficient method is unsolicited eMails.
SlugFiller rule #3: If it started in a thread, it should end in the same thread.
SlugFiller rule #4: There is absolutely no reason to perform the same discussion twice in parallel, especially if one side is done via PM.
SlugFiller rule #5: Does it say "Group: Moderators" under my name? No? Then stop telling me about who you want to ban! I really don't care! Go bother a moderator.
SlugFiller rule #6: I can understand English, Hebrew, and a bit of Japanese(standard) and Chinese(mandarin), but if you speak to me in anything but English, do expect to be utterly ignored, at best.
#16
Posted 22 October 2005 - 03:03 PM
The small change I did simply decides if 1, 2 or 3 blocks will be requested.
/zz
#17
Posted 22 October 2005 - 03:42 PM
So I guess netfinity's patch still is a bit more advanced than that in the official client.
Seven for the Dwarf-lords in their halls of stone,
Nine for Mortal Men doomed to die,
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
One Ring to rule them all, One Ring to find them,
One Ring to bring them all and in the darkness bind them
In the Land of Mordor where the Shadows lie.
Dark Lord of the Forum
Morph your Mule
Need a little help with your MorphXT? Click here
#18
Posted 22 October 2005 - 04:10 PM
First, Dazzle created a patch that kicks sources.
Then, NetFinity created one that asks for smaller blocks.
To me, NetFinity's solution is better, but either works as a solution to the problem at hand.
I don't see how there can be a solution without one of the two. Even before the appearance of these two patchs, I already knew those were the only two thinkable possible solutions, and I did discuss them in theory a bit.
It was actually somewhat funny when both variations appeared shortly after one another.
Well, actually, a third solution I thought of was requesting overlapping blocks when no free ones are left, and "may the faster uploader win", though that's somewhat wasteful with bandwidth.
SlugFiller rule #1: Unsolicited PMs is the second most efficient method to piss me off.
SlugFiller rule #2: The first most efficient method is unsolicited eMails.
SlugFiller rule #3: If it started in a thread, it should end in the same thread.
SlugFiller rule #4: There is absolutely no reason to perform the same discussion twice in parallel, especially if one side is done via PM.
SlugFiller rule #5: Does it say "Group: Moderators" under my name? No? Then stop telling me about who you want to ban! I really don't care! Go bother a moderator.
SlugFiller rule #6: I can understand English, Hebrew, and a bit of Japanese(standard) and Chinese(mandarin), but if you speak to me in anything but English, do expect to be utterly ignored, at best.
#19
Posted 22 October 2005 - 04:16 PM
Seven for the Dwarf-lords in their halls of stone,
Nine for Mortal Men doomed to die,
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
One Ring to rule them all, One Ring to find them,
One Ring to bring them all and in the darkness bind them
In the Land of Mordor where the Shadows lie.
Dark Lord of the Forum
Morph your Mule
Need a little help with your MorphXT? Click here
#20
Posted 22 October 2005 - 04:45 PM
I'm going over the threads and indeed NetFinity's snippet is dated Nov 11 2004, while Dazzle's is Apr 29 2005. I just didn't spot NetFinity's patch until tHeWiZaRdOfDoS brought the thread back from the dead in May 31 2005, a month after Dazzle's patch was posted.
Here's a twist, though, NetFinity's patch has already been around for over a year, and with all the eMule versions that's come and gone, it still isn't in the official.
And there I thought Check Diskspace and SafeHash took their sweet time.
SlugFiller rule #1: Unsolicited PMs is the second most efficient method to piss me off.
SlugFiller rule #2: The first most efficient method is unsolicited eMails.
SlugFiller rule #3: If it started in a thread, it should end in the same thread.
SlugFiller rule #4: There is absolutely no reason to perform the same discussion twice in parallel, especially if one side is done via PM.
SlugFiller rule #5: Does it say "Group: Moderators" under my name? No? Then stop telling me about who you want to ban! I really don't care! Go bother a moderator.
SlugFiller rule #6: I can understand English, Hebrew, and a bit of Japanese(standard) and Chinese(mandarin), but if you speak to me in anything but English, do expect to be utterly ignored, at best.