| View previous topic :: View next topic |
| Author |
Message |
sophana neophyte
Joined: 08 Aug 2005 Posts: 5 Location: france
|
Posted: Wed Aug 10, 2005 3:13 pm Post subject: mldonkey running on my asus wl500dg router: success!! |
|
|
Hi
I just dreamed of that, I did it.
I could compile and run successfully mldonkey cvs 2.6.0 on my asus wl500g delux wifi router. low power p2p!
This router has a 200mhz mips processor and 32mb ram with an usb2 controller.
I use a chrooted sarge debian distrib for mipsel under openwrt, and an usb2 2.5inch harddrive
I could just download one single file to test.
The mlnet process takes 32mb at start, 40mbyte one hour later. It did not swap much. I cannot test more yet, because I'm waiting for my new adsl line to come...
My question is: is there a specific configuration setting that lower memory usage? compiling for one network only?
Thanks |
|
| Back to top |
|
 |
imognimma neophyte
Joined: 19 Nov 2005 Posts: 7 Location: RO
|
Posted: Sat Nov 19, 2005 6:57 pm Post subject: |
|
|
Hi,
congrats !!
I'm currently trying to run mldonkey 2.6.7 on a cobalt qube2 (MIPS r5000, 250MHz, 64B Ram). I successfully installed debian sarge 3.1 (mipsel). I also managed to compile mldonkey, but the kernel included has a problem with PCI bus handling, resulting in a NIC lockup after a few minutes of network activity.
I'm currently building a new kernel to overcome this problem. (which takes hours .... )
I wonder if there are any other know issues with running mldonkey on mipsel machines ?
I've got some error messages on the first start of mldonkey (before networking locked up), I'll come back later after the new kernel is compiled & installed.
cu |
|
| Back to top |
|
 |
sophana neophyte
Joined: 08 Aug 2005 Posts: 5 Location: france
|
Posted: Mon Nov 13, 2006 12:21 pm Post subject: |
|
|
I've been asked some more info about that:
First you have a mass storage (usb hard drive). Then you must install a debian root file system somewhere in your router mass storage.
Some more info here (works with any router firmware):
http://wiki.wl500g.info/index.php/Debian%20Distribution
Then once you chroot inside the debian, you are in a real debian!
Then you can use apt to get everything you need to compile mldonkey like in any pc.
It works just fine but it is a little slow (not the download, but the web ui interface...)
As I finally needed more services at home (mail, web, ...) I finaly did setup a old pc. |
|
| Back to top |
|
 |
Kasei99 neophyte
Joined: 10 Sep 2006 Posts: 37 Location: Germany
|
Posted: Sun Feb 18, 2007 6:46 pm Post subject: |
|
|
Great job Sophana
You can compile with options like
./configure --disable-gnutella --disable-gnutella2 --disable-fasttrack --disable-gui --disable-filetp
but thatīll only shrink the binary itself for a few MB and i dont think thats what youre looking for. I compiled it with only ed2k and bt enabled and have about the same memory consumption as you.
There is a Asus WL-700g out there which got 64MB RAM, a 266mips CPU and an internal 3.5" HDD. The Kamikaze builds are working on it so maybe that would be an alternative? Not cheap though ~200$
That router with an integrated gigabit switch, adsl2 modem and debian working on it would make me wet my pants  |
|
| Back to top |
|
 |
fabtar Sage

Joined: 04 Feb 2004 Posts: 1575 Location: Italy
|
Posted: Sun Feb 18, 2007 10:14 pm Post subject: |
|
|
I think that the best way to reduce memory consumption, is:
disable kad, disable Emule MOD and other stats, recduce the overall maximum number of sources.
To disable GeoIP and Ipfilter could be a right choice.
Obiouvly I suggest to run ed2k-only core. |
|
| Back to top |
|
 |
spiralvoice Sage
Joined: 06 Jan 2003 Posts: 3982 Location: Germany
|
Posted: Mon Feb 19, 2007 9:55 am Post subject: |
|
|
Removing emule SUI support might also be useful, as it uses some CPU.
./configure --disable-donkeysui _________________ Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks |
|
| Back to top |
|
 |
fabtar Sage

Joined: 04 Feb 2004 Posts: 1575 Location: Italy
|
Posted: Mon Feb 19, 2007 12:34 pm Post subject: |
|
|
disabling upload compression(by option) could save useful cpu cycles  |
|
| Back to top |
|
 |
|