aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2

Author Topic: Better bandwidth control  (Read 6224 times)

Morse

  • Full Member
  • ***
  • Karma: 6
  • Offline Offline
  • Posts: 105
Better bandwidth control
« 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.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Better bandwidth control
« Reply #1 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.
Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1549
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: Better bandwidth control
« Reply #2 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?
Logged
Homefucking is killing prostitution

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Better bandwidth control
« Reply #3 on: July 01, 2008, 04:17:45 PM »

Because... you have... sources.
Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1549
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: Better bandwidth control
« Reply #4 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.
Logged
Homefucking is killing prostitution

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Better bandwidth control
« Reply #5 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.
Logged

Morse

  • Full Member
  • ***
  • Karma: 6
  • Offline Offline
  • Posts: 105
Re: Better bandwidth control
« Reply #6 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)
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Better bandwidth control
« Reply #7 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.
Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1549
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: Better bandwidth control
« Reply #8 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.
Logged
Homefucking is killing prostitution

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Better bandwidth control
« Reply #9 on: July 01, 2008, 11:43:53 PM »

How about temporarily reducing upload bandwidth limit to 1 k/s ?
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1549
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: Better bandwidth control
« Reply #10 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.
Logged
Homefucking is killing prostitution

Morse

  • Full Member
  • ***
  • Karma: 6
  • Offline Offline
  • Posts: 105
Re: Better bandwidth control
« Reply #11 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.
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Better bandwidth control
« Reply #12 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.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Better bandwidth control
« Reply #13 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.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Better bandwidth control
« Reply #14 on: July 05, 2008, 01:50:21 AM »

I think the current code is just fine.
Logged
Pages: [1] 2