gmp vs mp ?



If the only thing that has been changed is gmp version,
then it is puzzling.  You could find a better test of
pure arithmetic too. Maybe requiring integer GCDs etc.
My guess is that you are doing more garbage collection
somehow.  I don't know why maxima doesn't break out
the GC time... maybe GCl doesn't support it/  but
it is a very useful measure of whether you have enough
free storage at your disposal.
RJF

Vadim V. Zhytnikov wrote:

> Last days I was busy by building and testing GCL and Maxima on
> i86 Linux.
> And I've got some strange results concerning gmp vs mp
> performance.
> It was stated that gmp should be faster than mp but my
> observations give
> exactly opposite result. Some figures:
> 
> Maxima 5.6 last CVS version + GCL 2.3.8beta3 (mp):
> 
> expand((x+y+z)^300)$                99.8 sec
> ratsimp((x+y+z)^300)$                11.8 sec
> 
> Maxima 5.6 last CVS version + GCL 2.4.0 (gmp):
> 
> expand((x+y+z)^300)$                239.2 sec
> ratsimp((x+y+z)^300)$                18.7 sec
> 
> In all other tests gmp is always slower although
> the difference ranges from few percent up to two times.
> 
> Any ideas?
> 
> Vadim
> 
> 
> --
> 
> [ Vadim V. Zhytnikov  <vvzhy@mail.ru>  <vvzhy@td.lpi.ac.ru> ]
> 
> 
> 
> _______________________________________________
> Maxima mailing list
> Maxima@www.math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>