coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: "Soegtrop, Michael" <michael.soegtrop AT intel.com>
- To: "coq-club AT inria.fr" <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 10:34:08 +0000
- Accept-language: de-DE, en-US
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=michael.soegtrop AT intel.com; spf=Pass smtp.mailfrom=michael.soegtrop AT intel.com; spf=None smtp.helo=postmaster AT mga05.intel.com
- Dlp-product: dlpe-windows
- Dlp-reaction: no-action
- Dlp-version: 11.0.200.100
- Ironport-phdr: 9a23:4ahY+hdaetdDqTPp1LygUtLmlGMj4u6mDksu8pMizoh2WeGdxcS8bB7h7PlgxGXEQZ/co6odzbaO6Oa4ASQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9HiTahb75+Ngm6oRnMvcQKnIVuLbo8xAHUqXVSYeRWwm1oJVOXnxni48q74YBu/SdNtf8/7sBMSar1cbg2QrxeFzQmLns65Nb3uhnZTAuA/WUTX2MLmRdVGQfF7RX6XpDssivms+d2xSeXMdHqQb0yRD+v6bpgRh31hycdLzM38H/ZhNFsjKxVoxyhqR5ww4/Ib46aL/dxZL/RcNcASGZdQspcVSpMCZ68YYsVCOoBOP5Vo4fgqVsJsxS+ChWsBPnoyj9QnnP9wKo00+U9HgHGxgMvAdYOvHrJp9jyMacSUPy6zKnSwjrda/Nawyz96I/WfRAuvfGMR7VwcdLKxEkuEQPFkkufqYj/MzyJ0eQNtnGW4ux9XuyhjG4nrht+ojmpxso0i4nJgJ4VxU7A9Slj3Yk6O8W0SEt6YdG4CptQsDqaN4x4QsM+WW1npCE6yrgAtJWmfyYK0IwqywPbZvCZaYSF4hLuWPyRLDtmnn5od7yyiw6v/UWhxODwTMe53VhQoiZbnNTBsmoB2wHQ58SZUvdx40as1DKV2wzN6uxJLlo4mbTBJ5MizLM9kIcYv17ZES/sgkr2ibebdkU69eis7OTqerDmppCGOINoigzyKKUumsqjAesmNggCRXSU+eO51LH7/E35RqtFjuEun6XEtJ3WO94Xq665DgNP0osv9QyzAjio3dgAmHkINlNFeBaJj4jzPFHOJej1DfK+g1uwkDdk3e7JPrn7DpXWKXjMjrjhfapn605b0Ao+1tFf55RICr4fJPL/QFP+tNvdDhMhKQy73/7nCMlh1oMZQW+AHqiZMLrLvVCU4uIvPvKDaZQOuDf9Lvgl/+ThgWU4mV8bZ6mp3IEYZGq2HvR8cA2lZi+midAYVGwOowAWTerwiVTEXyQZLyK5WLt57TUmAqqnC53CT8ajmurS8j28G8gcXWdLBUyWFm+sP6CFUPcFZSbYaptkkzcEXLWlDZQm2B6yrgji47thMufQvCYfsMSwh5BO++TPmERqpnRPBMOH3jTVFjAmriYzXzYzmZtHjwl4w1aH37J/hqUBR91V+/5NFAw9MMyFlrAoO5XJQgvEO+yxZhO+WNz/WGMwSM48x5kFZEMvQ4z/3CCG5DKjBvour5LOBJEw9fuDjX3+Lp4gjXfAyKQlyVIhR5kXOA==
you might be interested in this documentation from Microsoft:
https://msdn.microsoft.com/en-us/library/aa366778.aspx
Essentially it is a linker option if 32 bit binaries on 64 bit Windows support 2GB or 4GB user virtual address space. I don’t know if OCaml makes any hacky use of the fact that the top bit of pointers tend to be 0 on 32 bit Windows – probably not because this wouldn’t be the case on Linux or 64 bit Windows. In order to try it, you can patch the IMAGE_FILE_LARGE_ADDRESS_AWARE flag of the coqc binary and see what happens. I don’t think the OCaml linker has an option to do this, but if it proves to be useful use, one could request it – shouldn’t be a big deal. Of cause it is also a good question what OCaml does with the extra memory: not use it at all / split it half half or give all extra to the heap.
One more note: the difference is likely larger on machines with more cores (or a worse cache size / core count ratio). The dual socket Xeon servers I am currently using have 2x (22 cores=44 threads and 55 MB cache), so in total 88 threads and 110MB cache. I think latest Xeons even have a bit more.
And I have a question: do you also make substantial use of parallelism in one coqc call (parallel proofs and/or parallel branches in one proof) or did you find that it is more optimal to run each coqc instance single threaded on a single core because the in file parallelism can have substantial peaks and lead to bad load balancing? Do you use different settings for batch and interactive mode?
Best regards,
Michael Intel Deutschland GmbH |
- [Coq-Club] speed of Coq 8.8 vs 8.7, 32-bit vs 64-bit, Andrew Appel, 04/26/2018
- RE: [Coq-Club] speed of Coq 8.8 vs 8.7, 32-bit vs 64-bit, Soegtrop, Michael, 04/27/2018
- Re: [Coq-Club] speed of Coq 8.8 vs 8.7, 32-bit vs 64-bit, Emilio Jesús Gallego Arias, 04/27/2018
- Re: [Coq-Club] speed of Coq 8.8 vs 8.7, 32-bit vs 64-bit, Xavier Leroy, 04/27/2018
- Re: [Coq-Club] speed of Coq 8.8 vs 8.7, 32-bit vs 64-bit, Ralf Jung, 04/27/2018
- Message not available
- Re: [Coq-Club] speed of Coq 8.8 vs 8.7, 32-bit vs 64-bit, Jim Fehrle, 04/27/2018
- Message not available
- Re: [Coq-Club] speed of Coq 8.8 vs 8.7, 32-bit vs 64-bit, Clément Pit-Claudel, 04/27/2018
- Re: [Coq-Club] speed of Coq 8.8 vs 8.7, 32-bit vs 64-bit, Clément Pit-Claudel, 04/28/2018
- Re: [Coq-Club] speed of Coq 8.8 vs 8.7, 32-bit vs 64-bit, Jim Fehrle, 04/28/2018
- Re: [Coq-Club] speed of Coq 8.8 vs 8.7, 32-bit vs 64-bit, Clément Pit-Claudel, 04/28/2018
- Re: [Coq-Club] speed of Coq 8.8 vs 8.7, 32-bit vs 64-bit, Adam Chlipala, 04/28/2018
- Re: [Coq-Club] speed of Coq 8.8 vs 8.7, 32-bit vs 64-bit, Clément Pit-Claudel, 04/28/2018
- <Possible follow-up(s)>
- RE: [Coq-Club] speed of Coq 8.8 vs 8.7, 32-bit vs 64-bit, Soegtrop, Michael, 04/27/2018
Archive powered by MHonArc 2.6.18.