caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] GC and caml_oldify_local_roots taking too much time
@ 2004-07-19 17:59 Christophe Raffalli
  2004-07-19 12:21 ` Damien Doligez
  0 siblings, 1 reply; 13+ messages in thread
From: Christophe Raffalli @ 2004-07-19 17:59 UTC (permalink / raw)
  To: caml-list


I have a program (doing some shape optimisation) that runs slowler and 
slower. I did some profiling using grpof (and -pg option) and get the 
following result:

- the memory usage does not grow (stays bounded and reach very fast its 
maximum)
- The number of GC cycles and compactions per time unit stays constant 
(actually there is quite a lot of compaction (very approximatively 1 per 
minute).
- The function caml_oldify_local_roots is bellow 2% on a 5 minutes run 
but arround 50% on a 30 minutes run and prbably much more on a ten hour 
runs, but did not have the time to let the program run 10 hours with -pg 
(it will take 10 hours :-).
- All other GC functions are quite low in the profile.

What could cause the increase of time spent in caml_oldify_local_roots ?
And what is this function in the first place ?

Thanks in advance for any hint.

-- 
Christophe Raffalli
Université de Savoie
Batiment Le Chablais, bureau 21
73376 Le Bourget-du-Lac Cedex

tél: (33) 4 79 75 81 03
fax: (33) 4 79 75 87 42
mail: Christophe.Raffalli@univ-savoie.fr
www: http://www.lama.univ-savoie.fr/~RAFFALLI
---------------------------------------------
IMPORTANT: this mail is signed using PGP/MIME
At least Enigmail/Mozilla, mutt or evolution
can check this signature
---------------------------------------------

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2004-07-21  0:54 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-19 17:59 [Caml-list] GC and caml_oldify_local_roots taking too much time Christophe Raffalli
2004-07-19 12:21 ` Damien Doligez
2004-07-19 19:33   ` Christophe Raffalli
2004-07-19 20:17   ` Christophe Raffalli
2004-07-19 14:28     ` Richard Jones
2004-07-19 14:38       ` Richard Jones
2004-07-19 15:12     ` Olivier Andrieu
2004-07-19 20:36   ` Christophe Raffalli
2004-07-20 20:00   ` [Caml-list] Calback (was caml_oldify_local_roots taking too much time) Christophe Raffalli
2004-07-20 14:40     ` [Caml-list] Calback Olivier Andrieu
     [not found]       ` <40FD9FDE.3070000@univ-savoie.fr>
2004-07-20 22:44         ` Christophe Raffalli
2004-07-21  0:54           ` Jere Sanisalo
2004-07-20 23:09       ` Christophe Raffalli

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).