Official eMule-Board: Chunk friendly shutdown - Official eMule-Board

Jump to content


  • (2 Pages)
  • +
  • 1
  • 2

Chunk friendly shutdown Rate Topic: -----

#1 User is offline   Quezl 

  • Premium Member
  • PipPipPipPipPip
  • Group: Members
  • Posts: 272
  • Joined: 08-June 04

Posted 02 August 2007 - 09:50 PM

I've been bothered by this for a long time now...

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.
:thumbup:
0

#2 User is offline   Vahagn 

  • Morph Rider
  • PipPipPipPip
  • Group: Members
  • Posts: 216
  • Joined: 10-March 04

Posted 03 August 2007 - 06:34 AM

:+1:
eMule v0.50a [MorphXT v12.3] @ Windows 7 Ultimate x64
0

#3 User is offline   cafebean 

  • Golden eMule
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 490
  • Joined: 30-September 06

Posted 03 August 2007 - 09:09 AM

Quote

eMule won't start any new downloads but it will finish any running downloads and uploads
Please explain. Won't there be always people in queue, and aren't shot down when downloads finish the #1 enemy of file sharers? Or just no new connection will be made, which means wasting some bandwidth?

And why turning off at all if you don't have to or don't have to yet?
0

#4 User is offline   Quezl 

  • Premium Member
  • PipPipPipPipPip
  • Group: Members
  • Posts: 272
  • Joined: 08-June 04

Posted 03 August 2007 - 11:36 AM

The idea is to let all chunks be completed (both directions) while not starting any new transfers (both directions) in order to minimize the amount of unfinished chunks left in your temporary downloads and in those of the people who were downloading from you at the time you decided to close eMule.

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).
0

#5 User is offline   tHeWiZaRdOfDoS 

  • Man, what a bunch of jokers...
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 5630
  • Joined: 28-December 02

Posted 03 August 2007 - 11:43 AM

This already existed as "Smooth exit" in some mods... wait for the current up- and downloads to finish prior to exiting.
0

#6 User is offline   Quezl 

  • Premium Member
  • PipPipPipPipPip
  • Group: Members
  • Posts: 272
  • Joined: 08-June 04

Posted 03 August 2007 - 12:01 PM

Existed?
0

#7 User is offline   CiccioBastardo 

  • Doomsday Executor
  • PipPipPipPipPipPipPip
  • Group: Italian Moderators
  • Posts: 5541
  • Joined: 22-November 03

Posted 03 August 2007 - 08:34 PM

However , it is a waste of bandwidth.
The problem is not the client, it's the user
0

#8 User is offline   Andu 

  • Morph Team
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 13015
  • Joined: 04-December 02

Posted 03 August 2007 - 08:45 PM

How is a smooth shutdown a "waste of bandwidth"? Or are you talking about the unfinished chunk being a waste of bandwidth?
Three Rings for the Elven-kings under the sky,
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

0

#9 User is offline   CiccioBastardo 

  • Doomsday Executor
  • PipPipPipPipPipPipPip
  • Group: Italian Moderators
  • Posts: 5541
  • Joined: 22-November 03

Posted 04 August 2007 - 11:39 AM

Quote

The idea is to let all chunks be completed (both directions) while not starting any new transfers (both directions) in order to minimize the amount of unfinished chunks left

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.
The problem is not the client, it's the user
0

#10 User is offline   coluche 

  • hm ?
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2274
  • Joined: 02-May 05

Posted 04 August 2007 - 12:18 PM

For "friendly shutdown" on uploading chunks, would not the mule see it as if noone was in queue and thus dedicate all available upload to the remaining remote clients. -< no bandwidth wasted.

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)
It's Screamin' Jay Hawkins and he's a Wild Man, so bug off!
0

#11 User is offline   zz 

  • -
  • PipPipPipPipPipPipPip
  • Group: Debugger
  • Posts: 2014
  • Joined: 30-November 02

Posted 06 August 2007 - 04:01 PM

Better to use full bandwidth up to the very point you shut it down, than letting it taper down slowly. That just leaves unused bandwidth while still using the computer resource. I see no gain in that.

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 B)
ZZUL - get control of your uploads: ZZUL Forum
0

#12 User is offline   EvolutionCrazy 

  • Golden eMule
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1226
  • Joined: 05-May 04

Posted 06 August 2007 - 08:40 PM

instead would be interesting waiting for a DOWNLOAD chunk, and keep uploading as usual :P
There are three kinds of people in this world: people who watch things happen ... people who complain about things that happen ... and people who make things happen...
0

#13 User is offline   cafebean 

  • Golden eMule
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 490
  • Joined: 30-September 06

Posted 06 August 2007 - 10:04 PM

What is the point of downloading a complete chunk, if you aren't going to upload it by shutting down?
0

#14 User is offline   Andu 

  • Morph Team
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 13015
  • Joined: 04-December 02

Posted 06 August 2007 - 10:29 PM

You gain the waiting time it would take to finish the chunk when the client is fired up again.
Three Rings for the Elven-kings under the sky,
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

0

#15 User is offline   DeeEmmSee 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 07-August 07

Posted 07 August 2007 - 02:49 PM

Sure, preventing new upload connections would go against eMule values by limiting the amount of sharing, so don't allow prevention of upload conn's. And sure, limiting new download connections might waste bandwidth but it's his bandwidth, so why not let him waste it? For all we know he could be using excess bandwidth for something else. I think his original point, though, was that he doesn't want to clog his machine with partially completed downloads, nor does he want to distribute bandwidth over many downloads that are unlikely to complete before he shuts down and would rather concentrate on finishing what he has started (especially if what has started is difficult to find). Some of us don't get the chance to connect every day, so would rather a complete 1 usable file than 1000 5-percent completed ones, even if it means a loss of efficiency overall.

This post has been edited by DeeEmmSee: 07 August 2007 - 02:53 PM

0

#16 User is offline   CiccioBastardo 

  • Doomsday Executor
  • PipPipPipPipPipPipPip
  • Group: Italian Moderators
  • Posts: 5541
  • Joined: 22-November 03

Posted 07 August 2007 - 06:46 PM

View PostAndu, on Aug 7 2007, 12:29 AM, said:

You gain the waiting time it would take to finish the chunk when the client is fired up again.

That is only an issue when downloading from mods that stop uploading at chunk completition :-k
The problem is not the client, it's the user
0

#17 User is offline   Gowenna 

  • Splendid Member
  • PipPipPipPip
  • Group: Members
  • Posts: 113
  • Joined: 09-June 04

Posted 07 August 2007 - 09:57 PM

View Postcafebean, on Aug 7 2007, 12:04 AM, said:

What is the point of downloading a complete chunk, if you aren't going to upload it by shutting down?


Hmm, everybody is thinking about downloading. How about the opposite direction, uploading a complete chunk before the shut down? ;)
0

#18 User is offline   Famerlor 

  • also known as Spike2
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 685
  • Joined: 16-October 04

Posted 07 August 2007 - 09:59 PM

Already discussed, gowenna, see above.
Posted Image

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
0

#19 User is offline   Andu 

  • Morph Team
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 13015
  • Joined: 04-December 02

Posted 08 August 2007 - 06:06 PM

View PostCiccioBastardo, on Aug 7 2007, 08:46 PM, said:

View PostAndu, on Aug 7 2007, 12:29 AM, said:

You gain the waiting time it would take to finish the chunk when the client is fired up again.

That is only an issue when downloading from mods that stop uploading at chunk completition :-k


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.
Three Rings for the Elven-kings under the sky,
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

0

#20 User is offline   CiccioBastardo 

  • Doomsday Executor
  • PipPipPipPipPipPipPip
  • Group: Italian Moderators
  • Posts: 5541
  • Joined: 22-November 03

Posted 08 August 2007 - 09:50 PM

Didn't get you there. I hope this is going to have any meaning, though I doubt it...

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.
The problem is not the client, it's the user
0

  • Member Options

  • (2 Pages)
  • +
  • 1
  • 2

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users