tuneup crash after proper libgmp build/check/install on Macbookpro11 (Haswell/AVX2) Mavericks

Marc-Olivier Killijian marco.killijian at laas.fr
Mon Feb 10 22:01:58 UTC 2014

Just to let you know, I found how to get tuneup running.
Actually I didn’t really correct the « disease » but the « symptoms » by changing the number of repetitions done in speed_measure.
First I tried to change the tolerance to 1.1 instead of 1.01, which worked fine but I finally preferred to increase the number of reps by having bigger arrays t and T_unsorted (60 seemed OK).

Thanks for your excellent work Torbjörn.


Le 8 févr. 2014 à 10:10, Torbjorn Granlund <tg at gmplib.org> a écrit :

> There can be several causes for tuneup's timing problems.  Poor cycle
> counter management in the operating system kernel is perhaps always the
> root cause.  I don't know how Apple's Darwin kernel work on x86 in that
> respect.  Unfortunately, the popular kernel Linux works really poorly in
> this respect.
> For such problem systems, making sure the system is minimally loaded can
> help.
> Torbjörn

More information about the gmp-bugs mailing list