We need the athlon64 binaries in the freenet-ext.jar. Are they long mode? On Wed, Jan 12, 2005 at 01:23:12AM +0000, Conrad J. Sabatier wrote: > In article <[EMAIL PROTECTED]>, > Anders Bruun Olsen <support@freenetproject.org> wrote: > >Hi, > > > >I have just installed Freenet on my Gentoo machine and have noticed that > >after it running for a while the java processes start to use quite alot > >of CPU. In /var/freenet/freenet.stderr.log I get these lines which I > >think might be part of the reason why it is so slow: > > > >ERROR: Resource name > >[freenet/support/CPUInformation/libjcpuid-x86-linux.so] was not found > >WARN: Native CPUID library jcpuid not loaded - will not be able to read > >CPU information using CPUID > >NOTICE: Resource name [net/i2p/util/libjbigi-linux-none.so] was not found > >INFO: Native BigInteger library jbigi not loaded - using pure java > > > >I can see that both jcpuid and NativeBigInteger is in the Contrib module > >in CVS, and at least compiling libjcpuid-x86-linux.so isn't a problem, > >but how do I get freenet to actually use that, and how do I get jbigi > >compiled and get freenot to use that as well? > > > >And will it actually help with my CPU usage/speed problem? > > > >I am on an Athlon XP 2600+ with 512Mb RAM, so it should be sufficient I > >would think. > > > >Thanks! > > > >-- > >Anders > > See the hints/caveats below before attempting the following procedure. > > 1) cd Contrib/NativeBigInteger > > 2) sh build.sh > > 3) cd ../jcpuid > > 4) sh build.sh > > 3) cd ../../freenet > > 4) remove any existing freenet.jar/freenet-ext.jar under your freenet source > tree's build dir > > 5) ant (this will create new jars with the new libraries included) > > 6) copy the resulting jar files to wherever it is you run freenet from > > Ta-da! That's all, folks! > > A few caveats/hints, however: > > Some of the build scripts under Contrib may require some editing (they did > for me when I was building the libs under FreeBSD). > > You can save a *lot* of time building the integer libraries if you edit the > build.sh script and change the following line to only build for the desired > CPU (if you're running 64-bit Java on the AMD 64, use athlon64): > > for x in none pentium pentiummmx pentium2 pentium3 pentium4 k6 k62 k63 athlon > > Also, you may need to add some environment variable settings to the lines > in the script that invoke libgmp's configure script, namely, > CPPFLAGS="-I/path/to/your/java/includes". Until I did this, the build kept > failing to find <jni.h> at a certain point. > > For example, you'd want to change the line in the build.sh script from: > > ../../gmp-4.1.3/configure > > to > > CPPFLAGS="-I/path/to/your/java/includes" ../../gmp-4.1.3/configure > > If you need any more help, let us know. Hope this helps. > > -- > Conrad J. Sabatier <[EMAIL PROTECTED]> -- "In Unix veritas" > > _______________________________________________ > Support mailing list > Support@freenetproject.org > http://news.gmane.org/gmane.network.freenet.support > Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support > Or mailto:[EMAIL PROTECTED]
-- Matthew J Toseland - [EMAIL PROTECTED] Freenet Project Official Codemonkey - http://freenetproject.org/ ICTHUS - Nothing is impossible. Our Boss says so.
signature.asc
Description: Digital signature
_______________________________________________ Support mailing list Support@freenetproject.org http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:[EMAIL PROTECTED]