Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] speed of Coq 8.8 vs 8.7, 32-bit vs 64-bit

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] speed of Coq 8.8 vs 8.7, 32-bit vs 64-bit


Chronological Thread 
  • From: Emilio Jesús Gallego Arias <e AT x80.org>
  • To: Andrew Appel <appel AT CS.Princeton.EDU>
  • Cc: coq-club <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] speed of Coq 8.8 vs 8.7, 32-bit vs 64-bit
  • Date: Fri, 27 Apr 2018 13:14:56 +0200
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=e AT x80.org; spf=Pass smtp.mailfrom=e AT x80.org; spf=Pass smtp.helo=postmaster AT x80.org
  • Ironport-phdr: 9a23:JIQu8BVqnZ0uY3ZZBk8dPzJYNubV8LGtZVwlr6E/grcLSJyIuqrYYxCEt8tkgFKBZ4jH8fUM07OQ7/i7HzRYqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjWwba98IRmssQndqtQdjJd/JKo21hbHuGZDdf5MxWNvK1KTnhL86dm18ZV+7SleuO8v+tBZX6nicKs2UbJXDDI9M2Ao/8LrrgXMTRGO5nQHTGoblAdDDhXf4xH7WpfxtTb6tvZ41SKHM8D6Uaw4VDK/5KpwVhTmlDkIOCI48GHPi8x/kqRboA66pxdix4LYeZyZOOZicq/Ye94RWGhPUdtLVyFZAo2ycZYBD+0PPehWrYbzpFUBohSiCgS3GOPj1iVFimPq0aAg0eksFxzN0gw6H9IJtXTZtNr7NKITUeCxzanIyi3MYfdI1jfm8pDIaQgur/CWUrJ0dcre10YvFwTdgViMs4zlPima1v8QuGWc8eVtTu2uhm07pw1rpTiv3Mgsh5DPi4kIyV7E7T10zJs2KNC7UkJ3f8CoHZpKuy2HNYZ6X9kuT3xmtSok0rELup+2cDILxZkl3RLSb+aLfoiL7x/lSe2fOy13hGh/d7K6nxuy8Vavyun7VsSs31dHrTZJnsPLtnAX2Bzf8smHSv1j8Ue9wTuDygPe5+JeLUwqi6bWKoQtzqMym5YOq0jPAyH7lFvugK+TbEok++yo6+r9YrXho5+RL5F7hxrxM6kthsCzG+M4MhIBX2SD4+SzyKXj/VHlQLVNlvA5jq7ZsInDKcsHoq65HhRa35046xe/CjemyM4XkWMGLFJDYhKHjpLmN0vAIPDiXr+DhAGFljtxyu+OF6X5D5GFenHbiLrlVZ1GrXZGyQw4wMxY4dR5JoxXc9zpXUqkmdnZCh4+BC652HT8P/p00ocTVmW4K7WYObia5VKg9rJ3Ze6Wa9lG637GN/E56qu23jcCklgHcPzshMNPMSHqLrFdO0ycJEHUrJIEGGYOsBA5Sb24mA3aFzlJaCTrBv5u1nQAEIujSLz7aMW1mrXQjjfrRttRfG8UUgnRQ0etTJ2NXrI3UAzXIsJllW1WRej5DYg72kP3uQ==
  • Organization: X80 Heavy Industries

Dear Andrew,

Andrew Appel
<appel AT CS.Princeton.EDU>
writes:

> Coq 8.8.0 is 14% faster than Coq 8.7.2 (this measurement was made on
> Travis-CI, whatever hardware they are running).

Thank you very much for the feedback and performance measurements and
insights; let me add a few remarks:

- Travis tends to be not the most reliable platform for measuring
performance, you are not even guaranteed to get two jobs to run in the
same CPU, and system load on the shared server will influence the
results. Based on my own 8.8 testing, the 14% delta seems a lot.

> Summary: 32-bit Coq is 17% faster than 64-bit Coq on my machine.

> You might ask, "why is the choice of 32-bit or 64-bit distribution
> only available for Microsoft Windows users, and the Mac users get only
> the 64-bit distribution?" Well, maybe 17% performance difference is
> not important to Mac users, I don't know.

- Note that for Linux OPAM users, we do ensure that the `+32bit`
switches do function correctly, so that's a possible solution [OPAM
32bit OCaml used to have issues in OSX in the past tho].

- but talking about OPAM brings me to the next point: FLambda and
Coq. In my own measurements, compiling Coq with aggressive flambda
optimizations tends to bring an extra 5%-10% performance.

IMHO, this is an extremely low-hanging fruit to pick for intensive
users.

Best regards,
Emilio



Archive powered by MHonArc 2.6.18.

Top of Page