Re: speed of mpn_sqrtrem vs mpn_rootrem
Ciao Marco, > Date: Thu, 30 Jul 2015 17:21:40 +0200 > From: "Marco Bodrato" > > Ciao Paul, > > Il Mer, 22 Gennaio 2014 1:00 pm, Zimmermann Paul ha scritto: > > tarte% ./speed -s 1000,3000,1 -r mpn_sqrtrem mpn_rootrem.2 > > overhead 0.2 secs, precision 1 units of 3.53e-10 secs, > > CPU freq 2833.00 MHz > > mpn_sqrtrem mpn_rootrem.2 > > 1000 0.000153504 #0.9454 > > 3000 0.000816813 #0.9187 > > 1 0.004606970 #0.9623 > > There are some more experiment that we can try, but the anomaly you > spotted should be healed now: > $ tune/speed -s 1000,3000,1 -r mpn_sqrt mpn_root.2 mpn_sqrtrem > mpn_rootrem.2 > overhead 0.2 secs, precision 1 units of 2.86e-10 secs, CPU > freq 3500.08 MHz > mpn_sqrtmpn_root.2 mpn_sqrtrem mpn_rootrem.2 > 1000 #0.515161.38661.46432.1827 > 3000 #0.0002954371.31681.38551.8478 > 1#0.0018503521.24481.31491.7012 > > You are welcome to test and/or give further suggestions > > Best regards, > m good to see GMP is improving! I confirm the above on my machine with the latest and greatest development version: zimmerma@tarte:/tmp/gmp/tune$ ./speed -s 1000,3000,1 -r mpn_sqrt mpn_root.2 mpn_sqrtrem mpn_rootrem.2 overhead 0.2 secs, precision 1 units of 3.53e-10 secs, CPU freq 2833.00 MHz mpn_sqrtmpn_root.2 mpn_sqrtrem mpn_rootrem.2 1000 #0.0001021051.37361.44982.1121 3000 #0.0005781141.26801.36151.7848 1#0.0034251731.22281.28681.6352 Best regards, Paul ___ gmp-devel mailing list gmp-devel@gmplib.org https://gmplib.org/mailman/listinfo/gmp-devel
Re: speed of mpn_sqrtrem vs mpn_rootrem
Ciao Paul, Il Mer, 22 Gennaio 2014 1:00 pm, Zimmermann Paul ha scritto: > tarte% ./speed -s 1000,3000,1 -r mpn_sqrtrem mpn_rootrem.2 > overhead 0.2 secs, precision 1 units of 3.53e-10 secs, > CPU freq 2833.00 MHz > mpn_sqrtrem mpn_rootrem.2 > 1000 0.000153504 #0.9454 > 3000 0.000816813 #0.9187 > 1 0.004606970 #0.9623 There are some more experiment that we can try, but the anomaly you spotted should be healed now: $ tune/speed -s 1000,3000,1 -r mpn_sqrt mpn_root.2 mpn_sqrtrem mpn_rootrem.2 overhead 0.2 secs, precision 1 units of 2.86e-10 secs, CPU freq 3500.08 MHz mpn_sqrtmpn_root.2 mpn_sqrtrem mpn_rootrem.2 1000 #0.515161.38661.46432.1827 3000 #0.0002954371.31681.38551.8478 1#0.0018503521.24481.31491.7012 You are welcome to test and/or give further suggestions Best regards, m -- http://bodrato.it/ ___ gmp-devel mailing list gmp-devel@gmplib.org https://gmplib.org/mailman/listinfo/gmp-devel
Re: speed of mpn_sqrtrem vs mpn_rootrem
> the issue reported in September 2010 is still present: > > Such things happens sometimes. It means that we volunteers did not have > enough spare time for making the GMP gift better in that specific > respect. there was no criticism in my mail (sorry if it seemed), I just wanted to put this issue back on the front scene. Paul ___ gmp-devel mailing list gmp-devel@gmplib.org https://gmplib.org/mailman/listinfo/gmp-devel
Re: speed of mpn_sqrtrem vs mpn_rootrem
Zimmermann Paul writes: the issue reported in September 2010 is still present: Such things happens sometimes. It means that we volunteers did not have enough spare time for making the GMP gift better in that specific respect. Torbjörn Please encrypt, key id 0xC8601622 ___ gmp-devel mailing list gmp-devel@gmplib.org https://gmplib.org/mailman/listinfo/gmp-devel
speed of mpn_sqrtrem vs mpn_rootrem
Hi, the issue reported in September 2010 is still present: https://gmplib.org/list-archives/gmp-devel/2010-September/001654.html tarte% ./speed -s 1000,3000,1 -r mpn_sqrtrem mpn_rootrem.2 overhead 0.2 secs, precision 1 units of 3.53e-10 secs, CPU freq 2833.00 MHz mpn_sqrtrem mpn_rootrem.2 1000 0.000153504 #0.9454 3000 0.000816813 #0.9187 1 0.004606970 #0.9623 (I modified speed so that mpn_rootrem is called with a NULL 2nd argument.) Paul ___ gmp-devel mailing list gmp-devel@gmplib.org https://gmplib.org/mailman/listinfo/gmp-devel