aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Optimize amuled on an old PC  (Read 3828 times)

suloku

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
Optimize amuled on an old PC
« 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
Logged

thedude0001

  • evil bugfinder ;)
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 827
Re: Optimize amuled on an old PC
« Reply #1 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
Logged
Das Schlimme auf dieser Welt ist
daß die Dummen so selbstsicher sind
und die Gescheiten so voller Zweifel.

Archmage

  • Full Member
  • ***
  • Karma: 5
  • Offline Offline
  • Posts: 119
Re: Optimize amuled on an old PC
« Reply #2 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.
Logged

thedude0001

  • evil bugfinder ;)
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 827
Re: Optimize amuled on an old PC
« Reply #3 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 :)
Logged
Das Schlimme auf dieser Welt ist
daß die Dummen so selbstsicher sind
und die Gescheiten so voller Zweifel.

suloku

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
Re: Optimize amuled on an old PC
« Reply #4 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
Logged

suloku

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
Re: Optimize amuled on an old PC
« Reply #5 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
« Last Edit: September 07, 2006, 01:33:30 PM by suloku »
Logged

abester

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: Optimize amuled on an old PC
« Reply #6 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.
Logged

suloku

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
Re: Optimize amuled on an old PC
« Reply #7 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.
« Last Edit: September 08, 2006, 09:41:48 AM by suloku »
Logged

ken

  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 825
Re: Optimize amuled on an old PC
« Reply #8 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.
Logged

suloku

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
Re: Optimize amuled on an old PC
« Reply #9 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.
Logged