aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: 1 ... 32 33 [34] 35 36 37

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

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #495 on: February 17, 2011, 06:22:56 AM »

Its still running, but

$ ldd amule #
ldd: ./amule: No such file or directory
Logged

btkaos

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 110
  • Offline Offline
  • Posts: 486
  • Kaos is infinite!
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #496 on: February 17, 2011, 12:37:24 PM »

$ ldd amule #
ldd: ./amule: No such file or directory
Should be
Code: [Select]
$ LD_LIBRARY_PATH=/home/rrm/temp-amule/build/lib ldd /usr/local/stow/amule-pre-stu/bin/amule
and to run amule
Code: [Select]
$ LD_LIBRARY_PATH=/home/rrm/temp-amule/build/lib /usr/local/stow/amule-pre-stu/bin/amule

Regards,
BTK
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #497 on: February 17, 2011, 06:46:13 PM »

Oooops...
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #498 on: February 17, 2011, 06:54:59 PM »

$ LD_LIBRARY_PATH=/home/rrm/temp-amule/build/lib ldd /usr/local/stow/amule-pre-stu/bin/amule
Code: [Select]
linux-gate.so.1 =>  (0x00ec4000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x00216000)
libbfd-2.20.so => /usr/lib/libbfd-2.20.so (0x006b6000)
libz.so.1 => /lib/libz.so.1 (0x00b27000)
libcrypto++.so.8 => /usr/lib/libcrypto++.so.8 (0x0022f000)
libupnp.so.3 => /usr/lib/libupnp.so.3 (0x0082a000)
libthreadutil.so.2 => /usr/lib/libthreadutil.so.2 (0x00195000)
libixml.so.2 => /usr/lib/libixml.so.2 (0x00206000)
libwx_gtk2ud_adv-2.8.so.0 => /home/rrm/temp-amule/build/lib/libwx_gtk2ud_adv-2.8.so.0 (0x00847000)
libwx_gtk2ud_core-2.8.so.0 => /home/rrm/temp-amule/build/lib/libwx_gtk2ud_core-2.8.so.0 (0x00ec5000)
libwx_baseud_net-2.8.so.0 => /home/rrm/temp-amule/build/lib/libwx_baseud_net-2.8.so.0 (0x00110000)
libwx_baseud-2.8.so.0 => /home/rrm/temp-amule/build/lib/libwx_baseud-2.8.so.0 (0x00939000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00c0c000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x00e07000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0014a000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x017a2000)
/lib/ld-linux.so.2 (0x00bef000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x0019c000)
libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x04987000)
libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x0061f000)
libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x00dce000)
libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x00168000)
libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x001a0000)
libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0x0078e000)
libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x001ba000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00b3d000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00bb2000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00cfe000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00210000)
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x00824000)
librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0x00b05000)
libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0x077c1000)
libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x00191000)
libSM.so.6 => /usr/lib/libSM.so.6 (0x00d4b000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00d54000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x00d79000)
libtiff.so.4 => /usr/lib/libtiff.so.4 (0x00e2d000)
libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x00b0e000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x0226e000)
libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0x00202000)
libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0x00b1b000)
libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00b1e000)
libcairo.so.2 => /usr/lib/libcairo.so.2 (0x035bb000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x00bdf000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00d3c000)
libXi.so.6 => /usr/lib/libXi.so.6 (0x00db9000)
libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x00d9d000)
libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x00da6000)
libpcre.so.3 => /lib/libpcre.so.3 (0x00e82000)
libresolv.so.2 => /lib/tls/i686/cmov/libresolv.so.2 (0x00deb000)
libselinux.so.1 => /lib/libselinux.so.1 (0x0288b000)
libexpat.so.1 => /lib/libexpat.so.1 (0x0537e000)
libICE.so.6 => /usr/lib/libICE.so.6 (0x016e5000)
libuuid.so.1 => /lib/libuuid.so.1 (0x00d46000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x012db000)
libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x050dd000)
libdirectfb-1.2.so.0 => /usr/lib/libdirectfb-1.2.so.0 (0x04521000)
libfusion-1.2.so.0 => /usr/lib/libfusion-1.2.so.0 (0x00dc4000)
libdirect-1.2.so.0 => /usr/lib/libdirect-1.2.so.0 (0x07323000)
libxcb-render-util.so.0 => /usr/lib/libxcb-render-util.so.0 (0x00db1000)
libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0x00eb3000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00dff000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00ebc000)

Is it okay, or do i need to try to patch and configure again?
The mule is running now...  ;D
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #499 on: February 17, 2011, 07:11:11 PM »

When i can find some time, I will retry the whole process from beginning to end anyway,
to make sure i did everything right,
because sometimes it felt like i was losing track of where i was in the process.
Logged

btkaos

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 110
  • Offline Offline
  • Posts: 486
  • Kaos is infinite!
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #500 on: February 17, 2011, 08:59:54 PM »

AFAICT everything seems OK.

So the mule didn't crash? Umm interesting.

If you want to compare mules just compile wx without Kry patch and install (--prefix parameter) in ~/temp-amule/build-wo-patch

Then you can compare patched lib against not patched just modifying the LD parameter.

Code: [Select]
$ # Run with the patched lib
$ LD_LIBRARY_PATH=/home/rrm/temp-amule/build/lib /usr/local/stow/amule-pre-stu/bin/amule

$ # Run with the unpatched wx
$ LD_LIBRARY_PATH=/home/rrm/temp-amule/build-wo-patch/lib /usr/local/stow/amule-pre-stu/bin/amule

Regards,
BTK
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #501 on: February 17, 2011, 09:34:02 PM »

OK, will do that.
Yes, the mule is still running.
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #502 on: February 18, 2011, 05:15:12 PM »

Ok, i found some time, so here i go:

Recompiling wx Widgets
I deleted the old temp-amule folder.
Then:

$ mkdir temp-amule
$ cd temp-amule
$ wget http://downloads.sourceforge.net/project/wxwindows/2.8.11/wxWidgets-2.8.11.tar.gz
$ tar xvfz wxWidgets-2.8.11.tar.gz
$ cd wxWidgets-2.8.11
$ ./configure --prefix=/home/rrm/temp-amule/build-wo-patch/ --enable-debug --enable-unicode
$ make clean && make install

saved kry.patch in this same folder

$ patch -p0 < kry.patch
$./configure --prefix=/home/rrm/temp-amule/build/ --enable-debug --enable-unicode
$ make clean && make install


Reconfiguring aMule
I deleted the amule-pre-stu folder.
Then:

$ sudo aptitude install subversion
$ svn co http://amule.googlecode.com/svn/trunk amule-pre-stu
$ cd amule-pre-stu
$ sudo aptitude install autoconf automake autopoint
$ ./autogen.sh

In /home/rrm/amule-pre-stu/src/EMSocket.cpp, replaced "(!m_bBusy" by "!(m_bBusy" (yes, at the right spot)

$ ./configure --prefix=/usr/local/stow/amule-pre-stu --enable-debug --enable-optimize --with-wxdebug --with-wx-prefix=/home/rrm/temp-amule/build
$ make clean
$ make -j 2 && sudo make install

To run aMule with the modified EMSocket.cpp, with the patched wx
$ LD_LIBRARY_PATH=/home/rrm/temp-amule/build/lib /usr/local/stow/amule-pre-stu/bin/amule
To run aMule with the modified EMSocket.cpp, without the patched wx
$ LD_LIBRARY_PATH=/home/rrm/temp-amule/build-wo-patch/lib /usr/local/stow/amule-pre-stu/bin/amule

identity check:
$ LD_LIBRARY_PATH=/home/rrm/temp-amule/build/lib ldd /usr/local/stow/amule-pre-stu/bin/amule
$ LD_LIBRARY_PATH=/home/rrm/temp-amule/build-wo-patch/lib ldd /usr/local/stow/amule-pre-stu/bin/amule

What did i do wrong?
Both versions cannot connect anymore?
(they try, but they keep losing it again)
Logged

btkaos

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 110
  • Offline Offline
  • Posts: 486
  • Kaos is infinite!
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #503 on: February 18, 2011, 06:04:55 PM »

Umm, really weird, more so when you had the mule running for several hours. By the way, it didn't crash, did it?

Care to post the terminal output of starting amule?
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #504 on: February 18, 2011, 08:46:03 PM »

Umm, really weird, more so when you had the mule running for several hours.

Yes, but that was the old version.
Today i made 2 new ones (with and without wx patch), and these never got to work,
so i must have screwed up somewhere.
No, none of the versions crashed.

Quote
Care to post the terminal output of starting amule?

How do i get that?
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #505 on: February 18, 2011, 09:18:54 PM »

Since both versions didnt work, and as they share the new aMule,
i must have screwed up there, so i started configuring a fresh mule.
(this time including automated patching)

I deleted the amule-pre-stu folder.
Then:

$ sudo aptitude install subversion
$ svn co http://amule.googlecode.com/svn/trunk amule-pre-stu
$ cd amule-pre-stu
$ sudo aptitude install autoconf automake autopoint
$ ./autogen.sh
saved em.patch to this folder
$ patch -p1 em.patch
...and then it takes forever... nothing happens...
its hanging... (many minutes now)

Should it have been:
$ patch -p0 < em.patch  ?
Can i safely cut this short?
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 166
  • Offline Offline
  • Posts: 2683
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #506 on: February 19, 2011, 12:28:39 AM »

$ patch -p1 em.patch
...and then it takes forever... nothing happens...
its hanging... (many minutes now)
Actually it's waiting for input...

Should it have been:
$ patch -p0 < em.patch  ?
Can i safely cut this short?
You see right that the '<' sign was missing, but still use -p1 instead of -p0. That is, it should be
Code: [Select]
$ patch -p1 < em.patch
« Last Edit: February 19, 2011, 12:32:39 AM by GonoszTopi »
Logged
concordia cum veritate

btkaos

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 110
  • Offline Offline
  • Posts: 486
  • Kaos is infinite!
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #507 on: February 19, 2011, 02:56:43 AM »

Since both versions didnt work, and as they share the new aMule,
i must have screwed up there, so i started configuring a fresh mule.
(this time including automated patching)
This is weird. What I meant for the start logs is to post the output you see in the terminal when starting amule.

Ok I'll explain what the steps in the hope you are more autonomous as a tester.
Quote
$ sudo aptitude install subversion
$ sudo aptitude install autoconf automake autopoint
This is just for installing applications. Once installed repeating the commands serves no purpose.
Quote
$ svn co http://amule.googlecode.com/svn/trunk amule-pre-stu
$ cd amule-pre-stu
$ ./autogen.sh
Note that the amule-pre-stu parameter in the first line indicates the name of the directory to be created.

This commands gets a copy of amule. To update use svn up
Quote
$ patch -p1 em.patch
Sorry, as already explained that was my mistake or writing from memory.
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #508 on: February 19, 2011, 06:12:45 PM »

Thank you!

rrm@rrm-desktop:~/amule-pre-stu$ patch -p1 < em.patch
patching file src/EMSocket.cpp
Hunk #1 FAILED at 476.
1 out of 1 hunk FAILED -- saving rejects to file src/EMSocket.cpp.rej

Code: [Select]
*************** SocketSentBytes CEMSocket::Send(uint32 maxNumberOfBytesToSend, uint32 minFragSiz
*** 476,482 ****
      uint32 sentStandardPacketBytesThisCall = 0;
      uint32 sentControlPacketBytesThisCall = 0;
         
-     if (byConnected == ES_CONNECTED && IsEncryptionLayerReady() && (!m_bBusy || onlyAllowedToSendControlPacket)) {
 
                 //printf("* Internal attemptto send on %p\n", this);
 
--- 476,482 ----
      uint32 sentStandardPacketBytesThisCall = 0;
      uint32 sentControlPacketBytesThisCall = 0;
         
+     if (byConnected == ES_CONNECTED && IsEncryptionLayerReady() && !(m_bBusy || onlyAllowedToSendControlPacket)) {
 
                 //printf("* Internal attemptto send on %p\n", this);

I checked out the EMSocket.cpp, and indeed, there was no change,
so i did it manually again.

$ LD_LIBRARY_PATH=/home/rrm/temp-amule/build/lib ldd /usr/local/stow/amule-pre-stu/bin/amule
Code: [Select]
linux-gate.so.1 =>  (0x00131000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x00f94000)
libbfd-2.20.so => /usr/lib/libbfd-2.20.so (0x0059c000)
libz.so.1 => /lib/libz.so.1 (0x004dd000)
libcrypto++.so.8 => /usr/lib/libcrypto++.so.8 (0x00674000)
libupnp.so.3 => /usr/lib/libupnp.so.3 (0x00110000)
libthreadutil.so.2 => /usr/lib/libthreadutil.so.2 (0x004bf000)
libixml.so.2 => /usr/lib/libixml.so.2 (0x00c40000)
libwx_gtk2ud_adv-2.8.so.0 => /home/rrm/temp-amule/build/lib/libwx_gtk2ud_adv-2.8.so.0 (0x00236000)
libwx_gtk2ud_core-2.8.so.0 => /home/rrm/temp-amule/build/lib/libwx_gtk2ud_core-2.8.so.0 (0x00fad000)
libwx_baseud_net-2.8.so.0 => /home/rrm/temp-amule/build/lib/libwx_baseud_net-2.8.so.0 (0x00162000)
libwx_baseud-2.8.so.0 => /home/rrm/temp-amule/build/lib/libwx_baseud-2.8.so.0 (0x00a64000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00328000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x0052c000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00132000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x00dce000)
/lib/ld-linux.so.2 (0x00219000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x0012d000)
libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x058e9000)
libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x0041a000)
libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x001da000)
libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x004fe000)
libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x0019c000)
libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0x00c4a000)
libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x00552000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00ce0000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00d55000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00d82000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00207000)
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x00150000)
librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0x00156000)
libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0x04f81000)
libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x0015f000)
libSM.so.6 => /usr/lib/libSM.so.6 (0x001b6000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00f13000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x00f38000)
libtiff.so.4 => /usr/lib/libtiff.so.4 (0x0519e000)
libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x001bf000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x02220000)
libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0x001cc000)
libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0x001d0000)
libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x001d3000)
libcairo.so.2 => /usr/lib/libcairo.so.2 (0x042f0000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x001f7000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0x0020c000)
libXi.so.6 => /usr/lib/libXi.so.6 (0x004af000)
libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x004c5000)
libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x004ce000)
libpcre.so.3 => /lib/libpcre.so.3 (0x00f5c000)
libresolv.so.2 => /lib/tls/i686/cmov/libresolv.so.2 (0x013c3000)
libselinux.so.1 => /lib/libselinux.so.1 (0x03bf4000)
libexpat.so.1 => /lib/libexpat.so.1 (0x0296b000)
libICE.so.6 => /usr/lib/libICE.so.6 (0x01b20000)
libuuid.so.1 => /lib/libuuid.so.1 (0x004ba000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x047c4000)
libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x07b8c000)
libdirectfb-1.2.so.0 => /usr/lib/libdirectfb-1.2.so.0 (0x0360a000)
libfusion-1.2.so.0 => /usr/lib/libfusion-1.2.so.0 (0x004f3000)
libdirect-1.2.so.0 => /usr/lib/libdirect-1.2.so.0 (0x0686b000)
libxcb-render-util.so.0 => /usr/lib/libxcb-render-util.so.0 (0x00527000)
libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0x00c30000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x004d9000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00c39000)

$ LD_LIBRARY_PATH=/home/rrm/temp-amule/build-wo-patch/lib ldd /usr/local/stow/amule-pre-stu/bin/amule
Code: [Select]
linux-gate.so.1 =>  (0x00ba1000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x00e74000)
libbfd-2.20.so => /usr/lib/libbfd-2.20.so (0x007ad000)
libz.so.1 => /lib/libz.so.1 (0x009c7000)
libcrypto++.so.8 => /usr/lib/libcrypto++.so.8 (0x00340000)
libupnp.so.3 => /usr/lib/libupnp.so.3 (0x00dfe000)
libthreadutil.so.2 => /usr/lib/libthreadutil.so.2 (0x00110000)
libixml.so.2 => /usr/lib/libixml.so.2 (0x008a3000)
libwx_gtk2ud_adv-2.8.so.0 => /home/rrm/temp-amule/build-wo-patch/lib/libwx_gtk2ud_adv-2.8.so.0 (0x00116000)
libwx_gtk2ud_core-2.8.so.0 => /home/rrm/temp-amule/build-wo-patch/lib/libwx_gtk2ud_core-2.8.so.0 (0x00e8d000)
libwx_baseud_net-2.8.so.0 => /home/rrm/temp-amule/build-wo-patch/lib/libwx_baseud_net-2.8.so.0 (0x00208000)
libwx_baseud-2.8.so.0 => /home/rrm/temp-amule/build-wo-patch/lib/libwx_baseud-2.8.so.0 (0x00ba2000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00242000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x00730000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00756000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x009dd000)
/lib/ld-linux.so.2 (0x00d9c000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x00334000)
libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x067f7000)
libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x008ad000)
libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x00774000)
libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x00942000)
libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x00791000)
libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0x03795000)
libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x0096b000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00b22000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00d6e000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00db9000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00338000)
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x00885000)
librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0x0088b000)
libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0x03ce8000)
libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x0033d000)
libSM.so.6 => /usr/lib/libSM.so.6 (0x00894000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00e1b000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x00e40000)
libtiff.so.4 => /usr/lib/libtiff.so.4 (0x01dc9000)
libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x009b3000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x02798000)
libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0x0089d000)
libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0x009c0000)
libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00b97000)
libcairo.so.2 => /usr/lib/libcairo.so.2 (0x040a2000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x00e64000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0x01bc9000)
libXi.so.6 => /usr/lib/libXi.so.6 (0x03a41000)
libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x06137000)
libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x056f3000)
libpcre.so.3 => /lib/libpcre.so.3 (0x03f39000)
libresolv.so.2 => /lib/tls/i686/cmov/libresolv.so.2 (0x012a2000)
libselinux.so.1 => /lib/libselinux.so.1 (0x012b6000)
libexpat.so.1 => /lib/libexpat.so.1 (0x095c5000)
libICE.so.6 => /usr/lib/libICE.so.6 (0x03bee000)
libuuid.so.1 => /lib/libuuid.so.1 (0x00df7000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x0338c000)
libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x03aae000)
libdirectfb-1.2.so.0 => /usr/lib/libdirectfb-1.2.so.0 (0x088cc000)
libfusion-1.2.so.0 => /usr/lib/libfusion-1.2.so.0 (0x07383000)
libdirect-1.2.so.0 => /usr/lib/libdirect-1.2.so.0 (0x02ccc000)
libxcb-render-util.so.0 => /usr/lib/libxcb-render-util.so.0 (0x05ac3000)
libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0x0871e000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x009c3000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x08cd4000)


Quote
Care to post the terminal output of starting amule?

$ LD_LIBRARY_PATH=/home/rrm/temp-amule/build-wo-patch/lib /usr/local/stow/amule-pre-stu/bin/amule
Code: [Select]
2011-02-19 18:06:19: amuleAppCommon.cpp(331): Initialising aMule SVN compiled with wxGTK2 v2.8.11 (Debugging) (Snapshot: rev. 10450)
 2011-02-19 18:06:19: amuleAppCommon.cpp(377): Checking if there is an instance already running...
 2011-02-19 18:06:19: amuleAppCommon.cpp(408): No other instances are running.
 2011-02-19 18:06:20: ListenSocket.cpp(65): ListenSocket: Ok.
 2011-02-19 18:06:21: DownloadQueue.cpp(113): Loading temp files from /home/rrm/.aMule/Temp.
 2011-02-19 18:06:21: DownloadQueue.cpp(163): All PartFiles Loaded.

2011-02-19 18:06:43: ServerConnect.cpp(412): Connection lost
2011-02-19 18:06:47: ServerConnect.cpp(412): Connection lost
2011-02-19 18:07:06: ServerConnect.cpp(412): Connection lost
etc etc
2011-02-19 18:08:56: ServerConnect.cpp(74): Failed to connect to all obfuscated servers listed. Making another pass without obfuscation.
2011-02-19 18:09:20: ServerConnect.cpp(412): Connection lost
etc etc etc

$ LD_LIBRARY_PATH=/home/rrm/temp-amule/build/lib /usr/local/stow/amule-pre-stu/bin/amule
Code: [Select]
2011-02-19 18:11:27: amuleAppCommon.cpp(331): Initialising aMule SVN compiled with wxGTK2 v2.8.11 (Debugging) (Snapshot: rev. 10450)
 2011-02-19 18:11:27: amuleAppCommon.cpp(377): Checking if there is an instance already running...
 2011-02-19 18:11:27: amuleAppCommon.cpp(408): No other instances are running.
 2011-02-19 18:11:29: ListenSocket.cpp(65): ListenSocket: Ok.
 2011-02-19 18:11:29: DownloadQueue.cpp(113): Loading temp files from /home/rrm/.aMule/Temp.
 2011-02-19 18:11:29: DownloadQueue.cpp(163): All PartFiles Loaded.

2011-02-19 18:11:52: ServerConnect.cpp(412): Connection lost
etc etc etc etc

So, now im running the old mule
Code: [Select]
Starting program: /usr/local/stow/amule-opt/bin/amule
[Thread debugging using libthread_db enabled]
 2011-02-19 18:15:16: amuleAppCommon.cpp(331): Initialising aMule SVN compiled with wxGTK2 v2.8.10 (Debugging) (Snapshot: rev. 10446)
 2011-02-19 18:15:16: amuleAppCommon.cpp(377): Checking if there is an instance already running...
 2011-02-19 18:15:16: amuleAppCommon.cpp(408): No other instances are running.
 2011-02-19 18:15:17: ListenSocket.cpp(65): ListenSocket: Ok.
[New Thread 0xb7eacb70 (LWP 26271)]
[New Thread 0xb73ffb70 (LWP 26274)]
[New Thread 0xb6bfeb70 (LWP 26275)]
[Thread 0xb6bfeb70 (LWP 26275) exited]
 2011-02-19 18:15:18: DownloadQueue.cpp(113): Loading temp files from /home/rrm/.aMule/Temp.
 2011-02-19 18:15:18: DownloadQueue.cpp(163): All PartFiles Loaded.
[New Thread 0xb6bfeb70 (LWP 26276)]
[Thread 0xb6bfeb70 (LWP 26276) exited]
[New Thread 0xb63fdb70 (LWP 26277)]
[Thread 0xb7eacb70 (LWP 26271) exited]

and within seconds the mule accelerates to MBs/s...

Logged

btkaos

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 110
  • Offline Offline
  • Posts: 486
  • Kaos is infinite!
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #509 on: February 19, 2011, 06:36:07 PM »

Really weird. Are you using upnp? What does the amule configure log say about uPNP.

Care to compare the first lines of config.log of the good and bad amules?
Logged
Pages: 1 ... 32 33 [34] 35 36 37