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 upload handling – open new slots automatically, users download slow...  (Read 6623 times)

eisa01

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 100

I would like if you could add a better upload management. At the moment I've set aMule to upload at 200K/sec, and 10K/sec per slot. But because the clients downloading me seems to have very limited BW, they don't saturate my upload. That seems very unlikely that at least not one of those 20 users manage to download more than 100 K (for the times I set my upload to 1 MB/s), but that's the way it actually is. What I would like to see though, is that aMule opens new slots if it doesn't saturate the upload limit set in the application. Having to change the slot speed manually is not an option, and I would like to optimally keep the upload slots to a minimum. It would actually be nice if the slot speed could be set to 100K instead of 30K.
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685

Then think of another app using your upload bandwidth, thius preventing aMule saturating it. Then aMule would try to open an "infinite" number of slots (actually not more than Maximum Connections), which is definiately not what you want. For this to work you'd also have to set a limit on open slots.
Logged
concordia cum veritate

eisa01

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 100

OK, but what about being able to set upload slots to 100K per slot? If I upload a 1 MB/s now, with 30 K per slot, amule uses all my CPU power...
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292

I think that's a reasonable suggestions with today's speeds. I'll have a look at it.
« Last Edit: November 18, 2007, 01:45:10 PM by wuischke »
Logged

eisa01

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 100

Cool, looking forward to any solution ;D
Logged

myth

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 38
  • Offline Offline
  • Posts: 570

1 MB/s upload speed...that's dreaming...
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292

OK, the maximum value for slot allocation is now 100 and the default value is 4. Please test it with tomorrow's tarball.
Logged

eisa01

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 100

Will do if I can get aMule to compile, my last attempt didn't work :(

Thanks!
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see

eisa01,

If you need help with compiling, please post your problems. Of course, before attempting it, take a look at our wiki, the proper way to compile is there step by step.

Cheers!
Logged

eisa01

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 100

Yeah, I've done it a few times before, even edited the guide in the wiki ;)

I think it has to do with me using a few switches on the wxmac compile that I figured were smart to include. I suspect I was wrong, so I'm doing a plain compile now ;)
Logged

eisa01

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 100

Compiled it, and it works :)

Btw, I did a profile with Shark, and found out that zlib is the cause of ~20% of aMule's CPU usage on my computer.
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see

A little bit too high... It is true that most packets are compressed, but I did not know that the percentage would be so high. I don't know if there is a solution for that.

EDIT: BTW, you profiled CPU with wireshark?
Logged

chemical

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 61

EDIT: BTW, you profiled CPU with wireshark?

No, I guess he is using this one: http://developer.apple.com/tools/sharkoptimize.html
Logged

gav616

  • Guest

i requested something like this a while back.

http://forum.amule.org/index.php?topic=13331.0
(scroll to bottom for info)
Logged

gav616

  • Guest

just compiled dec 10th, and the upload slots and values are the same as always...?
Logged
Pages: [1] 2