caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Christopher Kauffman <kauffman@cs.umn.edu>
To: OCaml <caml-list@yquem.inria.fr>
Subject: Re: [Caml-list] Garbage collection and caml_adjust_gc_speed
Date: Thu, 31 Aug 2006 10:34:34 -0500	[thread overview]
Message-ID: <44F7018A.7040905@cs.umn.edu> (raw)
In-Reply-To: <44F48960.6080908@cs.umn.edu>

Christopher Kauffman wrote:
>> What I find surprising is that this simple function would dominate the 
>> run
>> time of your program.  I suspect some problem with gprof. Could you 
>> give us
>> more details about the computations performed by your program?
> 
> I suppose it is possible that creating the 
> aliased
> name could affect the garbage collector (it might look like the 
> allocation of
> another Bigarray so I will experiment with the second style.

I altered some of the code in my program to remove aliases that were created by 
the style mentioned in my previous post. This did not seem to affect the number 
of times caml_adjust_gc_speed was called. I guess my questions will go 
unanswered until I find some time to dig into the inner workings of the garbage 
collector. Let me know if someone sees this in the future and has similar 
problems and/or finds a solution.

-Chris


  reply	other threads:[~2006-08-31 15:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-29  4:16 Christopher Kauffman
2006-08-29 15:20 ` [Caml-list] " Damien Doligez
2006-08-29 18:37   ` Christopher Kauffman
2006-08-31 15:34     ` Christopher Kauffman [this message]
2006-08-31 21:08       ` [Caml-list] Garbage collection and caml_adjust_gc_speed - Problem in Bigarray Christopher Kauffman
2006-09-01 17:06         ` David MENTRE

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=44F7018A.7040905@cs.umn.edu \
    --to=kauffman@cs.umn.edu \
    --cc=caml-list@yquem.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).