* Marco A. Calamari <marcoc1 at dada.it> [2006-03-27 10:56:32]:

> On Fri, 2006-03-24 at 13:47 +0100, Florent Daigni?re (NextGen$) wrote:
> > * Marco A. Calamari <marcoc1 at dada.it> [2006-03-24 12:27:38]:
> > 
> > > 
> > > I'm running a freenet stable node on an embedded processor
> > >  AMD Geode, that is i386 fully compatible; I run a stock
> > >  Linux Debian kernel on it.
> > > 
> > > Freenet of course load the generic library.
> > > 
> > > There is a way to force the loading of the right native library, the
> > >  386 one ? What is the name of the library ?
> > > 
> > > Thanks a lot.   Marco
> > > 
> > Hi,
> > 
> >     I suggest you read the header of
> >     
> > https://emu.freenetproject.org/svn/trunk/freenet/src/net/i2p/util/NativeBigInteger.java
> > 
> >     Please keep us posted on how "fast" are the native libraries on
> >     this platform.
> > 
> >     To do a benchmark, use this command line :
> >     java -cp freenet-latest.jar:freenet-ext.jar 
> > net.i2p.util.NativeBigInteger
> 
> Reaing the header (I doesn't know java) I understood add 
> 
> -Djbigi.impl=xxxx
> 
> to the last line of start-freenet.sh
> 
> But reading the code it seems to me that there is no
>  librari for I386
> 
> Are my understantings correct ?
> 
> Thx.   Marco
> -- 

        Yes, unfortunatly there is no optimized library aviable for x86
        before pentium processors (as they were the first generation to
        bundle an arithmetic co-processor).

        Anyway, I will help you building a native library if needed.
        from
        
http://www.amd.com/us-en/ConnectivitySolutions/ProductInformation/0,,50_2330_9863_13022%5E13058,00.html,
        I don't get what instruction set is supported : 

        "x86/x87-compatible core" / " Integrated FPU that supports the
        Intel MMX? and AMD 3DNow!\u2122 Technology instruction sets"

        it's a bit vague :) But I do think that the "pentiummx" binary
        is the most appropriated for your purpose. The Geode processor
        seems to be "better" than an old 386 :)

        If you are planning to *use* freenet on this chip, I do
        recommand that you try building your own native library. I can
        help you with that if you manage to pick me up on IRC (#freenet
        on irc.freenode.net). It shouldn't be a big deal if you have a
        working C compiler, gnu/make and a working jvm.

        Try benchmarking different native binaries on your chip :
java -cp freenet-cvs-snapshot.jar:freenet-ext.jar net.i2p.util.NativeBigInteger
        using the .7 code

NextGen$
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20060327/41e75867/attachment.pgp>

Reply via email to