Greetings, and thank you again for the wonderful work on
gcl-2.4.0/maxima-5.6!
It appears now with the compiled in inclusion of some of the gmp code
into gcl, that subarchitecture dependencies are introduced into the
resulting binaries. This complicates making x86 binaries to include
in a distribution such as Debian. Of course, the difference in
performance is well worth the extra effort.
Here's my plan -- build each of the gmp x86 subarch options as
separate shared libraries, install these under
/usr/lib/{k6,k7,p6,...}, and let ld.so load the fastest one at
runtime. The portion of the gcl build which actually runs raw_gcl
will be invoked with an LD_LIBRARY_PATH choosing a generic shared
lib.
Is this going to work?
Take care,
Bill Schelter <wfs@math.utexas.edu> writes:
> I have finally gotten around to adding much better bignum code to GCL.
> So now 10000! takes .074 seconds. It is now sufficiently fast
> that I have to do a loop 10 times to get a better measurement.
> This is a factor of 70 improvement over the 5 seconds it used to
> take... The times are on a 900Mhz pentium III.
>
> I have just put out gcl 2.4.0 and maxima 5.6
>
> Please let me know of problems in compiling this. I have not yet put
> out a windows binary of the above, because of shell/configure problems
> in compiling under mingw.
>
> Incidentally the printing is much improved too.
>
> (c1) :lisp (si::allocate-contiguous-pages 3000 t) (si::allocate 'cfun 300 t) (si::allocate 'fixnum 200 t)
> (C8) for i:1 thru 10 do 10000!;
> Evaluation took 0.74 seconds (0.76 elapsed)
> (D8)
>
> [ note I still am not allocating much space by default, probably
> should do more. Also the bignum space is currently allocated as
> contiguous blocks, but I should make it relocatable, but cannot track
> down a couple of bugs preventing me from doing so]
>
> Fateman wrote:>
> in Maxima on top of allegro CL, same machine (900 MHZ)...
> 2.46 seconds of which .39 is in GC. Better than GCL but
> not as good as CLISP.
>
> 10000! on my 933MHz pentium in commercial macsyma
> takes 0.421 sec including 0.01 in GC. (This is on top
> of CLOE)
>
> _______________________________________________
> Maxima mailing list
> Maxima@www.math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>
>
--
Camm Maguire camm@enhanced.com
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah