aMule Forum

English => aMule Help => Topic started by: suloku on August 24, 2006, 01:26:58 AM

Title: Optimize amuled on an old PC
Post by: suloku on August 24, 2006, 01:26:58 AM
Hi all, I've just put amuled in my 166 with 48 mB of RAM and I was wondering wich would be the best configuration for it so it doesn't overflow the computer.

I'll apreciate if you give me some indications about wich values afects it and wich would be a sane value, so I can test it several ways to improve it.

Thanks
Title: Re: Optimize amuled on an old PC
Post by: thedude0001 on August 24, 2006, 02:18:33 AM
Things i can think of off the top of my head:

* During configure (if you compile yourself) add the switches --enable-optimize --disable-debug
* Don't share too many files
* Don't have too many files in download (even stopped files seem to have an impact on CPU usage)
* Queue size will have an impact
Title: Re: Optimize amuled on an old PC
Post by: Archmage on August 24, 2006, 10:14:09 AM
I think the best way would be to use the daemon of amule and use it over amulecmd or an other PC via webinterface (or aMulegui).

This way you wont even need x-windows on the machine.
Title: Re: Optimize amuled on an old PC
Post by: thedude0001 on August 25, 2006, 11:48:32 AM
For a Pentium 166 using amuled is actually the only way to get anything working. But since he already has amuled in the topic I guess he figured that out :)
Title: Re: Optimize amuled on an old PC
Post by: suloku on August 25, 2006, 11:47:47 PM
Thanks, I'm gonna compile it myself with that flag's and twak some configuration, hope it helps a little so the pc doesn't go to 100% so easily like now
Title: Re: Optimize amuled on an old PC
Post by: suloku on September 07, 2006, 01:30:48 PM
Ok, after 2 days compiling i'vve finally installed it and...it doesn't seem to have improved for now.

But amuleweb is working faster, if it  stays like these it wwould make it.

Also ssh connections are usable for the moment, I'm gonna try to tweak more configuration, any more ideas / pointings?

How can I set the maximum simultaneous uploads?  I can't find it in the config file
Title: Re: Optimize amuled on an old PC
Post by: abester on September 07, 2006, 09:02:02 PM
There is no direct setting for max simulatneous uploads. In principal try setting max upload speed and slot allocation to give you the desired number.
Title: Re: Optimize amuled on an old PC
Post by: suloku on September 08, 2006, 09:40:36 AM
I have 19 uploads right now.

I think that is what makes amule be like that, i'll try what you've said

I have 35 mB upload (they could be 80) and slot allocation at 2.
Title: Re: Optimize amuled on an old PC
Post by: ken on September 10, 2006, 06:43:50 AM
Well, max. uploads is upload bandwidth limit divided by slot allocation.  In your case, that is 18 after rounding.  I don't know if your statement of having 19 was miscounting on your part of on aMule's, but we're in the ballpark.  If you want fewer simultaneous uploads, raise your slot allocation.
Title: Re: Optimize amuled on an old PC
Post by: suloku on September 11, 2006, 10:46:41 AM
Thanks for it.

I'm pride to say that amule is running under the old pc with a  5% cpu (with some 20-30 % ocasional tops) and about 30-40% of memory usage.

I'ts surprising what compiling amule by yourself can do.