Remove this ad

Lead

Nov 7 13 5:23 PM

Tags : :

Increase amount of data hashed between known.met rewrites - at 300Mb it's writing out almost continously whilst hashing TV programs over 40 minutes (or HD stuff) and amule is "hung" for all intents and purposes (remember, the writes are foreground), If importing or rehashing multiple direcories (eg, moving stuff around then it can take several hours to regain control via the GUI or amulecmd.

3000 seems a reasonable compromise and on my system results in a write every minute. If there is a crash during rehashing some files may need to be rehashed, but it will always be written out when hashing completes so worst case should only be a loss of 1-2 minutes hashing (This is my obervation on a 8 year old 2.1GHz Xeon box. Newer hardware is probably a LOT faster - even ARM or MIPS based gear)

$ diff -u -F3 src/amule.cpp.BAK src/amule.cpp
--- src/amule.cpp.BAK 2013-11-06 20:36:58.124385370 +0000
+++ src/amule.cpp 2013-11-06 20:37:40.317881874 +0000
@@ -1277,8 +1277,8 @@ // Recomended by lugdunummaster himself
sharedfiles->SafeAddKFile(result);

bytecount += result->GetFileSize();
- // If we have added files with a total size of ~300mb
- if (bytecount >= 314572800) {
+ // If we have added files with a total size of ~3000mb
+ if (bytecount >= 3145728000) {
AddDebugLogLineN(logKnownFiles, wxT("Failsafe for crash on file hashing creation"));
if ( m_app_state != APP_STATE_SHUTTINGDOWN ) {
knownfiles->Save();
Quote    Reply   
Remove this ad
Remove this ad

#4 [url]

Nov 11 13 3:28 PM

Re: 10814 patch: src.amule.cpp

Pretty much.

There does seem to be some progress on ipv6 kad in other clients including a couple of emule mods but the vast majority of development seems to gravitatte towards monolithic setups - which aren't suitable for operation on headless systems.

Quote    Reply   
Remove this ad

#7 [url]

Nov 15 13 10:10 PM

Re: 10814 patch: src.amule.cpp

Only thing I found was http://forum.emule-project.net/index.ph ... 57013&st=0
It's mostly about GPL violation in a fishy P2P client, but SomeSupport appears very unconvinced regarding the IPV6 claims.

Quote    Reply   
Remove this ad
Add Reply

Quick Reply

bbcode help