Thanks for the help with mpirbench. I wouldn't call that "just work", so I redid the script to be more "automatic". It's pretty small when binaries are not included (hint, hint), so I'm attaching it (I hope it will make it through the lists).
To use 1) untar it 2) ./runbench <path-to-mpir> This figures out wheter to use "mpir.h" and "libmpir.a" (default) but it will also fall back to "gmp.h" and "libgmp.a". I tested this with mpir-0.9.0 (gmp naming), but I guess it may also work with gmp-4.2.1 itself... This is not reentrant, so test one install at a time, though... ---- Here are my results: Q9550 (core 2 quad, 2.83GHz, 6M+6M L2 cache): mpir-0.9.0: MPIRbench.base.multiply result: 49051 MPIRbench.base.divide result: 26039 MPIRbench.base result: 35739 MPIRbench.app result: 2201.4 MPIRbench result: 8869.8 tr...@1739: MPIRbench.base.multiply result: 59932 MPIRbench.base.divide result: 26957 MPIRbench.base result: 40194 MPIRbench.app result: 2986.1 MPIRbench result: 10956 For the kvm cpu (running in that same machine) I get 8821 and 10904 respectively, which is roughly 99.5% of the score for the real cpu (nice) ---------- Pentium D930 (nocona, dual core, 3.00GHz, 2M+2M L2 cache) mpir-0.9.0: MPIRbench.base.multiply result: 14913 MPIRbench.base.divide result: 9561.3 MPIRbench.base result: 11941 MPIRbench.app result: 808.53 MPIRbench result: 3107.2 tr...@1738: MPIRbench.base.multiply result: 23238 MPIRbench.base.divide result: 10681 MPIRbench.base result: 15755 MPIRbench.app result: 1225.1 MPIRbench result: 4393.2 ------------ On Sat, Mar 14, 2009 at 10:55 PM, Bill Hart <goodwillh...@googlemail.com> wrote: > > mpirbench will definitely be released as part of or very shortly after > mpir-1.0.0 (due out on Monday I believe), but as a separate package on > the website. It should "just work TM". --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
mpirbench-0.1-gtl.tar.gz
Description: GNU Zip compressed data