----------  Forwarded Message  ----------

Subject: Performance loss
Date: Wednesday 28 September 2011, 16:08:24
From: "Martin Lee" <martinle...@web.de>
To: thempirt...@gmail.com

Hi,
I found a performance loss of mpir 2.4.0 compared to gmp 4.3.2. when running 
gmp bench 0.2 gcd examples on a Core 2 Duo T6400, 2Ghz, 4GB Ram Notebook with 
Ubuntu 11.04, 2.6.38-11-generic-pae i686, gcc 4.5.2.
The timings with mpir are:

q@ubuntu:~/gcdtrunk/trunk/ix86-Linux$ ./gcdtest 10000 5000
Calibrating CPU speed...done
Multiplying 10000-bit number with 5000-bit number 27235 times...done!
RESULT: 2749 operations per second
q@ubuntu:~/gcdtrunk/trunk/ix86-Linux$ ./gcdtest 100000 50000
Calibrating CPU speed...done
Multiplying 100000-bit number with 50000-bit number 656 times...done!
RESULT: 66.0 operations per second

with gmp:

q@ubuntu:~$ ./gcdtest 10000 5000
Calibrating CPU speed...done
Multiplying 10000-bit number with 5000-bit number 32406 times...done!
RESULT: 3239 operations per second
q@ubuntu:~$ ./gcdtest 100000 50000
Calibrating CPU speed...done
Multiplying 100000-bit number with 50000-bit number 817 times...done!
RESULT: 81.9 operations per second

That's very sad because I'm working as a Singular developer and we may want to 
switch from gmp to mpir but this performance loss seems to slow down our 
tests.
Cheers
Martin Lee


___________________________________________________________
Schon gehört? WEB.DE hat einen genialen Phishing-Filter in die
Toolbar eingebaut! http://produkte.web.de/go/toolbar

-----------------------------------------

-- 
You received this message because you are subscribed to the Google Groups 
"mpir-devel" group.
To post to this group, send email to mpir-devel@googlegroups.com.
To unsubscribe from this group, send email to 
mpir-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/mpir-devel?hl=en.

Reply via email to