caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Pierre-Marie Pédrot" <pierre-marie.pedrot@inria.fr>
To: caml-list@inria.fr
Subject: [Caml-list] Decrease in addressable memory on Windows 32-bits between 3.12 and 4.01?
Date: Mon, 15 Feb 2016 10:59:25 +0100	[thread overview]
Message-ID: <56C1A17D.9020902@inria.fr> (raw)

[-- Attachment #1: Type: text/plain, Size: 1399 bytes --]

Hello caml-list,

We Coq developers were given a fancy bug report by Andrew Appel
regarding Coq 8.5 memory usage that spawned quite a lot of distinct
discussions related to several performance issues. Although most of them
were solved, there is one which I believe is not due to Coq but rather
to OCaml. Here is the issue.

> Can I ask you all about my observation that max memory available in 
> 32-bit Coq 8.5 is less than max memory available in 32-bit Coq 
> 8.4pl6?  (The 2nd-to-last paragraph of my original bug report.)
> 
> That is, run Coq 8.4pl6 in a 32-bit Windows binary, on some script 
> that takes many gigabytes to process, and see what is the maximum 
> memory usage is before it dies. It should be about 2048 megabytes. 
> Then run the same script in Coq 8.5 32-bit Windows binary, and 
> measure the same.  In the case of bug 4547, it was 1848 MB.  Can the 
> same disparity be measured under Linux?  What is causing Coq to lose 
> the use of the last 200MB of a 31-bit address space?

Note that

> Coq 8.5 is compiled with 4.01 on windows.  Coq 8.4 was compiled with
> 3.12 IIRC.

so I am led to think that this has to do with OCaml runtime, as I can't
really see where this would come from the Coq codebase.

What do you OCaml experts think about this? Has there been some change
in the runtime that could explain this problem?

Thanks,
PMP



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

             reply	other threads:[~2016-02-15  9:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-15  9:59 Pierre-Marie Pédrot [this message]
2016-02-15 10:09 ` Enrico Tassi
2016-02-15 10:41 ` Xavier Leroy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56C1A17D.9020902@inria.fr \
    --to=pierre-marie.pedrot@inria.fr \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).