aMule Forum

English => Feature requests => Topic started by: eisa01 on October 05, 2007, 09:01:44 PM

Title: Better upload handling – open new slots automatically, users download slow...
Post by: eisa01 on October 05, 2007, 09:01:44 PM
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.
Title: Re: Better upload handling – open new slots automatically, users download slow...
Post by: GonoszTopi on October 09, 2007, 03:51:32 PM
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.
Title: Re: Better upload handling – open new slots automatically, users download slow..
Post by: eisa01 on November 18, 2007, 12:39:23 PM
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...
Title: Re: Better upload handling – open new slots automatically, users download slow...
Post by: wuischke on November 18, 2007, 12:59:11 PM
I think that's a reasonable suggestions with today's speeds. I'll have a look at it.
Title: Re: Better upload handling – open new slots automatically, users download slow..
Post by: eisa01 on November 18, 2007, 02:06:56 PM
Cool, looking forward to any solution ;D
Title: Re: Better upload handling – open new slots automatically, users download slow..
Post by: myth on November 18, 2007, 06:35:31 PM
1 MB/s upload speed...that's dreaming...
Title: Re: Better upload handling – open new slots automatically, users download slow...
Post by: wuischke on November 18, 2007, 07:05:44 PM
OK, the maximum value for slot allocation is now 100 and the default value is 4. Please test it with tomorrow's tarball.
Title: Re: Better upload handling – open new slots automatically, users download slow..
Post by: eisa01 on November 18, 2007, 08:45:39 PM
Will do if I can get aMule to compile, my last attempt didn't work :(

Thanks!
Title: Re: Better upload handling – open new slots automatically, users download slow...
Post by: phoenix on November 18, 2007, 08:49:21 PM
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!
Title: Re: Better upload handling – open new slots automatically, users download slow..
Post by: eisa01 on November 18, 2007, 09:13:39 PM
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 ;)
Title: Re: Better upload handling – open new slots automatically, users download slow..
Post by: eisa01 on November 19, 2007, 08:27:44 PM
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.
Title: Re: Better upload handling – open new slots automatically, users download slow...
Post by: phoenix on November 19, 2007, 09:15:33 PM
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?
Title: Re: Better upload handling – open new slots automatically, users download slow...
Post by: chemical on December 06, 2007, 04:24:22 PM
EDIT: BTW, you profiled CPU with wireshark?

No, I guess he is using this one: http://developer.apple.com/tools/sharkoptimize.html
Title: Re: Better upload handling – open new slots automatically, users download slow..
Post by: gav616 on December 10, 2007, 02:38:40 PM
i requested something like this a while back.

http://forum.amule.org/index.php?topic=13331.0
(scroll to bottom for info)
Title: Re: Better upload handling – open new slots automatically, users download slow..
Post by: gav616 on December 10, 2007, 02:57:56 PM
just compiled dec 10th, and the upload slots and values are the same as always...?
Title: Re: Better upload handling – open new slots automatically, users download slow...
Post by: wuischke on December 10, 2007, 05:55:13 PM
OT: The maximum value for slot allocation has been increased to 100KiB/s