Chunk friendly shutdown
#1
Posted 02 August 2007 - 09:50 PM
I have to shutdown eMule but there are still downloads going on of quite rare files. But I'm not that in a hurry, that closing eMule instantly is overly important.
So I thought that a delayed shutdown would be nice: eMule won't start any new downloads but it will finish any running downloads and uploads, so that I and the people connected to me can finish all pending chunks.
#2
Posted 03 August 2007 - 06:34 AM
#3
Posted 03 August 2007 - 09:09 AM
Quote
And why turning off at all if you don't have to or don't have to yet?
#4
Posted 03 August 2007 - 11:36 AM
Think of it as a soft eMule shutdown, whereas the current exit is a hard eMule shutdown.
Again, the only goal is minimize the amount of failed transfers or unfinished chunks because of exiting eMule at the cost that it will take a few minutes until eMule actually closes (depending on your and the peers bandwidth).
#5
Posted 03 August 2007 - 11:43 AM
#7
Posted 03 August 2007 - 08:34 PM
#8
Posted 03 August 2007 - 08:45 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
#9
Posted 04 August 2007 - 11:39 AM
Quote
My english is far from being perfect, but to me the statement above means that you "smoothly" stop uploading to new requests in order to avoid creating unfinished chunks. For the time your upload bandwidth is not fully used, you waste bandwidth. Wasting bandwidth is far worse than creating unfinished chunks on the network.
It is surely better to truncate all communications at the exact time you want to close your client than "smoothly" make it run out of upload requests wasting bandwidth.
I can clearly remember this argument has been discussed many time in the past.
#10
Posted 04 August 2007 - 12:18 PM
But with the original FR I understood it was about "finish DL chunks". That could take up to 50 minutes, with not accepting any more requests/ not putting anyone in upload slots, a whole lot of bandwidth can be wasted. (unsure)
#11
Posted 06 August 2007 - 04:01 PM
Sure, you may cut someone off in the middle off the chunk, but if you taper bw down slowly, someone else wouldn't even get to start a chunk. Which is a net loss in the end.
/zz
#12
Posted 06 August 2007 - 08:40 PM
#13
Posted 06 August 2007 - 10:04 PM
#14
Posted 06 August 2007 - 10:29 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
#15
Posted 07 August 2007 - 02:49 PM
This post has been edited by DeeEmmSee: 07 August 2007 - 02:53 PM
#16
#17
Posted 07 August 2007 - 09:57 PM
#18
Posted 07 August 2007 - 09:59 PM
You want a light mod with source-dropping, Powershare and WiZaRd's ClientAnalyzer ?
Try Spike2-Mod !
You rather want to stick to official eMule but don't want to miss all the new fixes and optimizations from the mods ?
Try OfFixed-Mod !
This post has been edited 1 time, the last time by God: Tomorrow, 12:74 PM
#19
Posted 08 August 2007 - 06:06 PM
CiccioBastardo, on Aug 7 2007, 08:46 PM, said:
How so? If you download half a chunk you still only have half a chunk. If you quit eMule you'll have half a chunk. If you start up eMule the next day you will have to wait in the queues of the peers until you get the other half of the chunk. Ergo you can't share it for all the time that you are waiting.
If you'd finish the chunk the day before you could share it right from the moment you fire the client up. If the remote client uploads till chunk barrier or beyond it unimportant in this context.
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 08 August 2007 - 09:50 PM
You obviously can share a chunk only when complete. If you manage to download half a chunk it means you will probably be able to complete it faster the next connection. This includes downloads from clients that do not upload full chunks (so you may need less upload slots to finish it) or those that do (so you will have a new half chunk ready to be finished soon restarting the game).
I can understand what is your aim. Having as less unfinished chunks spread as possible (thus increasing the number of finished chunks available for upload). However, the above behaviour is both unfair (I may have been waiting for a complete day just to get the latest 100KB to finish off the chunk) and still makes the download of the next new chunk slower (you have to wait from the start to get 9.28MB in the hope a full chunk is gained, or you have to wait in more than a single queue to get the chunk).
The general idea is that it takes time to get a chunk. The more you'll get, from whichever source, standing or closing down, the earlier you'll complete it and can share it, even if in different sessions from different sources. The average is what is important. What I can get from you now is something less I have to ask to someone else later.
In the end, the described wanted behaviour is as close as possible to the behaviour of a mod with full SlotFocus enabled (all bandwidth to a single client). If you are ever going to suddenly stop it, you'll just create a single unfinished chunk. And no bandwidth is wasted at all.