aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: 1 ... 28 29 [30] 31 32 ... 37

Author Topic: RRM's epic struggle for a better aMule on high-speed connections  (Read 165746 times)

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #435 on: January 01, 2010, 07:05:04 AM »

Would you like to test sweet aMule on XP for comparison?  :D

Of course.
Will try to do that when i come back from work.
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #436 on: January 01, 2010, 07:34:25 PM »

Phew, hashing 700 GB always takes a long time,
isnt there a shortcut?
like copying and pasting a file from aMule/eMule under WinE/Ubuntu to this new aMule (under XP)?
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #437 on: January 01, 2010, 07:57:20 PM »

Running aMule using eMule's known.met should do the trick.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #438 on: January 01, 2010, 08:36:03 PM »

Running aMule using eMule's known.met should do the trick.

Great, but how do i do that?
I found a known.met file in eMule/config/
,but where to copy & paste it to, because i cannot find a config folder in aMule...
Logged

skolnick

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 24
  • Offline Offline
  • Posts: 1188
  • CentOS 6 User
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #439 on: January 01, 2010, 11:01:18 PM »

Hi!

aMule's folder should be in /home/<username>/.aMule folder under linux/UNIX. Under Windows XP I would hope the path to be c:\documents and settings\<username>\local settings\.aMule or something similar. No idea about OS X so I better shut up there ;)

Regards.
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #440 on: January 02, 2010, 02:02:48 PM »

aMule's folder should be in /home/<username>/.aMule folder under linux/UNIX. Under Windows XP I would hope the path to be c:\documents and settings\<username>\local settings\.aMule or something similar. No idea about OS X so I better shut up there ;)

http://wiki.amule.org/index.php/Getting_Started#Where_Are_The_Files.3F
Logged
concordia cum veritate

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #441 on: January 02, 2010, 03:04:09 PM »

Thank you for your help,
but i still cannot find it in XP....
Luckily im done hashing.
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #442 on: January 02, 2010, 04:22:12 PM »

Hey, i didnt expect this...
XP/aMule didnt start up as fast as Ubuntu/aMule or WinE/eMule,
but faster than XP/eMule, and...
after a while it actually starts running almost equally fast as those fast 2!!

Ofcourse, the "waited" is screwed,
and clients get reallocated after every 10MB (despite 0 clients in queue)
but now im really curious as to if/how fast it will crash....
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #443 on: January 02, 2010, 04:42:30 PM »

Anyone any idea as to how i can trace memory consumption under XP?
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #444 on: January 02, 2010, 06:17:23 PM »

IIRC the Task Manager can tell you memory usage.
Logged
concordia cum veritate

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #445 on: January 02, 2010, 08:13:26 PM »

Thank you!
XP/aMule is still running, and apparently,
there is no memory leak here.

XP/aMule runs smoothly, but utilizes about 90% of total uploadcapacity.
So, a little less effectively then Ubuntu/aMule and WinE/eMule,
but much better than XP/eMule.
I will test XP/eMule once again; maybe there was something else going on.
« Last Edit: January 02, 2010, 08:15:55 PM by RRM »
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #446 on: January 03, 2010, 06:44:57 AM »

 :o hmmm
Yes, there was something else going on, coincidentally,
because this time XP/eMule did perform well;
almost as good as XP/aMule.
It starts up a little slower, and eventually maximally utilizes about 80% of my total uploadcapacity.

So, my end results are:
Ubuntu/aMule 100%
WinE/eMule 100%
XP/aMule 90%
XP/eMule 80%

Im curious whether other people have similar results.
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #447 on: January 03, 2010, 02:10:11 PM »

XP/aMule is still running, and apparently, there is no memory leak here.
Funny. So it's probably the Unix version of wx's networking code, everything else doesn't show the problem. However, there have been reports from eMule users of less memory consumption with the patch too.

Quote
this time XP/eMule did perform well
Yeah, measuring performance in the mule network can sometimes be a bitch.  ;)

Some Support (eMule dev) has found an explanation what was the intention behind the botched line of code:
Code: [Select]
Index: EMSocket.cpp
===================================================================
--- EMSocket.cpp (revision 9905)
+++ EMSocket.cpp (working copy)
@@ -527,7 +527,8 @@
     uint32 sentStandardPacketBytesThisCall = 0;
     uint32 sentControlPacketBytesThisCall = 0;
 
-    if(byConnected == ES_CONNECTED && IsEncryptionLayerReady() && !(m_bBusy && onlyAllowedToSendControlPacket)) {
+    if(byConnected == ES_CONNECTED && IsEncryptionLayerReady() && (!m_bBusy || onlyAllowedToSendControlPacket)) {
 
  //printf("* Internal attemptto send on %p\n", this);
So the busy logic is disabled for control packets instead of data packets. Now that would make sense. RRM, can you try this out (on Linux)?
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #448 on: January 03, 2010, 04:19:03 PM »

Quote
RRM, can you try this out (on Linux)?

Sure.
So, on line 531 in the EMSocket.cpp
, i have to replace this:
Code: [Select]
if(byConnected == ES_CONNECTED && IsEncryptionLayerReady() && !m_bBusy) {
by this:
Code: [Select]
if(byConnected == ES_CONNECTED && IsEncryptionLayerReady() && (!m_bBusy || onlyAllowedToSendControlPacket)) {

right?
and then configure and make.
Im running it now... (rev. 9928, because i called git first)
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #449 on: January 03, 2010, 06:30:55 PM »

RRM, you're learning fast.

But beware, after getting used to the taste of bleeding-edge, you won't be able to go without it ... it's addictive ;)
Logged
concordia cum veritate
Pages: 1 ... 28 29 [30] 31 32 ... 37