aMule Forum

English => Feature requests => Topic started by: Morse on July 01, 2008, 11:32:27 AM

Title: Better bandwidth control
Post by: Morse on July 01, 2008, 11:32:27 AM
Tray icon context menu has inconvenient upload/download limits modificator. can it be done like in emule - in form of slider?

the second request is about connection termination. the "disconnect" button doesn't ceases data transmission, so the only way to stop it instantly is to shutdown the daemon (in case of amuled), and this is inconvenient too.
Title: Re: Better bandwidth control
Post by: Kry on July 01, 2008, 02:49:41 PM
That's because the disconnct button disconnects you form the networks. If you want to shutdown all transfers, close the application.
Title: Re: Better bandwidth control
Post by: Vollstrecker on July 01, 2008, 02:53:38 PM
That's a thought I had some time ago, too. Why are there active transfers when I'm not connected to any network?
Title: Re: Better bandwidth control
Post by: Kry on July 01, 2008, 04:17:45 PM
Because... you have... sources.
Title: Re: Better bandwidth control
Post by: Vollstrecker on July 01, 2008, 04:31:57 PM
I could understand if running transfers are not interupted, but when I disconnect, I aspect that no new connections are made. And as I tried now, download comes really fast to 0 while upload shows no changes.
Title: Re: Better bandwidth control
Post by: Kry on July 01, 2008, 05:02:24 PM
And when you disconnect, no new connections are made. If they were, that's called "spooky mode" since forever and we don't use it.
Title: Re: Better bandwidth control
Post by: Morse on July 01, 2008, 08:40:33 PM
that doesn't change the matter. i understand the reason of this post-disconnect activity, i just want to be able to stop it by will without killing amuled (since restarting is tricky - it can be made only by superuser)
Title: Re: Better bandwidth control
Post by: Kry on July 01, 2008, 10:01:39 PM
You want a program whose sole purpose is to download and upload to give you an option to not download and not upload but keep it open?

I don't think that's justified, sorry.
Title: Re: Better bandwidth control
Post by: Vollstrecker on July 01, 2008, 10:47:45 PM
Just see my case, I have to shutdown amule before I upload the pkg's, so I have to write all part-files over smb on disk, and later load them from there. Decrease BW-limits by is not an option, because I need 0 transfer. And 45 Minutes later I need it as it was before.
Title: Re: Better bandwidth control
Post by: Stu Redman on July 01, 2008, 11:43:53 PM
How about temporarily reducing upload bandwidth limit to 1 k/s ?
Title: Re: Better bandwidth control
Post by: Vollstrecker on July 02, 2008, 12:21:08 AM
Reducing Upload (download gets automatically)
Increasing Upload
Increasing Download (which don't get reincreased)
= 3 Steps, and disconnecting, reconnecting is two steps and one additional k upload.
Title: Re: Better bandwidth control
Post by: Morse on July 02, 2008, 10:37:18 PM
Reducing Upload (download gets automatically)
Increasing Upload
Increasing Download (which don't get reincreased)
= 3 Steps, and disconnecting, reconnecting is two steps and one additional k upload.

Moreover, reducing of limits doesnt takes effect instantly. I have to wait ~3-5 min before it happens.
And the way to do it: to open "preferences", to switch to "connection", to enter the limits (context menu of the system tray icon has minimum limit equal to 1/5 of bandwidth, not 1)... There must be some way to reduce speed with not so many actions.
Title: Re: Better bandwidth control
Post by: Stu Redman on July 04, 2008, 10:43:00 PM
Have you tried to activate the tray icon ?

Btw: I'm also pissed about the missing re-increase (I tried it out before posting and limited my DL to 6k/s for a day until I noticed  ::) ). I think I'll change that.
Title: Re: Better bandwidth control
Post by: wuischke on July 04, 2008, 11:59:29 PM
Be cautious with this one. People may wish to limit their download and therefore you shouldn't just increase your download
.
Imho, the wrong thing is changing the user set limit in the first. This should be done transparently by the software, i.e. it will limit the download speed according to the ratio without changing the user set limit. (So you can set your up limit to 1KB/s, your user set dl limit will remain at for instance 36KB/s while the actual download limit will be 3KB/s according to the ratio. When you increase the ul limit to e.g. 20KB/s, your user set dl limit will apply again.) The user has to be informed of this, of course.
Title: Re: Better bandwidth control
Post by: Kry on July 05, 2008, 01:50:21 AM
I think the current code is just fine.
Title: Re: Better bandwidth control
Post by: Stu Redman on July 05, 2008, 04:24:14 PM
My idea was:
- when UL is decreased, decrease DL, but remember last DL setting
- if UL is increased again, automatically increase DL to the last setting (or to the maximum DL allowed at current UL, whichever is lower)

Wuischke's idea is also good.

But I won't do it unless Kry agrees.