mpz reuse test takes too much time

Torbjörn Granlund tg at
Wed Sep 28 13:11:28 UTC 2016

Vincent Lefevre <vincent at> writes:

  With GMP 6.1.1 on a Debian GNU/Linux 8 (jessie) machine with
  AMD Opteron(TM) Processor 6272 @ 2.1 GHz, the "reuse" test in
  mpz takes too much time.
It is supposed to take a lot of time, as it tests all mpz functions for
correct operand overlap.

  I just did "./configure" and "make" and "make check", and
  noticed that the "reuse" test took around 110 seconds. All
  the other tests are much faster.
It makes no sense that it takes 110 seconds.  Your machine must be in
bad health.  Perhaps it has problems with CPU temp and is downclocked?

I tested now on an Intel Atom, which is MUCH slower than a 2.1 GHz Amd
Bulldozer.  I took 44s.  On a high-end machine expect it to take around

Please encrypt, key id 0xC8601622

More information about the gmp-bugs mailing list