| Igor Schein on Fri, 29 Apr 2005 22:19:26 +0200 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| GMP performance |
Hi,
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
GP/PARI CALCULATOR Version 2.2.10 (alpha)
i686 running linux (ix86 kernel) 32-bit version
compiled: Apr 29 2005, gcc-3.2 20020903 (Red Hat Linux 8.0 3.2-7)
(readline v4.3 enabled, extended help available)
Copyright (C) 2000-2005 The PARI Group
PARI/GP is free software, covered by the GNU General Public License, and
comes WITHOUT ANY WARRANTY WHATSOEVER.
Type ? for help, \q to quit.
Type ?12 for how to get moral (and possibly technical) support.
parisize = 1000000000, primelimit = 500000
echo = 1 (on)
? gettime;for(k=18,27,abs(I+2^-2^k);print(k" "gettime))
18 0
19 0
20 10
21 10
22 10
23 20
24 60
25 120
26 260
27 530
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
GP/PARI CALCULATOR Version 2.2.10 (alpha)
i686 running linux (ix86/GMP-4.1 kernel) 32-bit version
compiled: Apr 29 2005, gcc-3.2 20020903 (Red Hat Linux 8.0 3.2-7)
(readline v4.3 enabled, extended help available)
Copyright (C) 2000-2005 The PARI Group
PARI/GP is free software, covered by the GNU General Public License, and
comes WITHOUT ANY WARRANTY WHATSOEVER.
Type ? for help, \q to quit.
Type ?12 for how to get moral (and possibly technical) support.
parisize = 1000000000, primelimit = 500000
echo = 1 (on)
? gettime;for(k=18,27,abs(I+2^-2^k);print(k" "gettime))
18 10
19 40
20 80
21 210
22 440
23 1160
24 2540
25 4140
26 8220
27 17170
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
GMP much slower. Is it a tuning issue or intrinsic problem?
Thanks
Igor