aMule Forum
English => aMule Help => Topic started by: mcorte on January 15, 2009, 10:49:13 AM
-
Hello to everyone!
First of all, i'm sorry for my english!
Then, as the title of the post says, i'm trying to run amuled on a networkedmediattank (http://www.popcornhour.com/onlinestore/index.php?pluginoption=catalog&task=info&item_id=6&main_id=0&category_id= (http://www.popcornhour.com/onlinestore/index.php?pluginoption=catalog&task=info&item_id=6&main_id=0&category_id=)) based on mips. I've succesfully built amuled 2.2.3 + wxGtk 2.8.9, all static, with --disable-debug, --enable-optimize and --disable-ccache.
The daemon seems to work, even if with not high performances (download rate not so high), but on a file completing, it freezes for a while, stops responding, and the download rate goes down to 0.0, and upload rate seems to increase (but maybe a fault in calculation by cpu overload). Does some one have an Idea about an issue? or a workaround for this?
Anyway, i would like to know, if you have some tips about amule.conf, for running amuled on low performance system!
bye
mcorte
PS.: sorry again for my english...
-
What filesystem you are using?
Are the Temp and Incomming folder on the same partition. If not that this is normal, because the whole file needs to be completed, hashed and copied and deleted. That is a lot of stress on the CPU.
-
Temp and incoming are on the same partition and fs is EXT3 ::)
-
Does the same thing happen when you add a new file of that size to your share and then refresh shares, so it gets hashed?
(And no need to ::), Archmage asked a perfectly valid question.)
-
sorry, coz ::), it was a face like "unfortunately, this is not my case"... anyway... when i add a new file, it takes a lot for rehashing... does it have to rehash a file on completion?
-
Check ThreadTasks.cpp:50
CHashingTask::CHashingTask(const CPath& path, const CPath& filename, const CPartFile* part)
// GetPrintable is used to improve the readability of the log.
: CThreadTask(wxT("Hashing"), path.JoinPaths(filename).GetPrintable(), (part ? ETP_High : ETP_Normal)),
You can change ETP_High to ETP_Low if you want, even the ETP_Normal, but it will make hashing way slower in your system. OTOH it should prevent CPU starvation.
-
thank you, i'm building right now... i will let you know!
-
ok after 10 hours working, it seems good, amuled response with no freezes..
Anyway at the moment my CPU usage goes from 25% up to 95% continuosly...
Upload rate is 12kb/s and download rate 15-30kb/s (not so much) but even amulegui and amulecmd got response fast.
Any other tip, to decrease cpu usage?
Thank you again!
-
I'm doing some job trying to embed aMule in a mips router with 64mb of ram (and with no swap support!). I found some leaks that waste some memory (quite few). I also add a patch that use mmap instead of using memory so to avoid unneeded duplication reading file. Please give a try to SVN (9385 or above).
-
I'm building 9388, i'll let you know! thank you!
-
embed aMule in a mips router with 64mb of ram (and with no swap support!).
Fritzbox 7270 ?