Version franaise
Home About Download Resources Contact us

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
caml_oldify_local_roots takes 50% of the total runtime
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-10-27 (21:16)
From: Pierre Etchemaïté <petchema@c...>
Subject: Re: [Caml-list] caml_oldify_local_roots takes 50% of the total runtime
Le Fri, 27 Oct 2006 09:17:03 -0400, Brian Hurt <> a écrit :

> With respect to 4146 (minor heap size adjusts to memory size)- I'm not 
> sure this is a good idea.  32K is small enough to fit into L1 cache with 
> space left over on pretty much all systems these days (64K L1 cache 
> seems to be standard).

Default size is 32K *words*, hence 128kB for 32bit archs and 256kB on 64bits.
Small enough to stay in L2 cache, but not L1.

Also, from reading

It seems that write-validate cache policy makes minor heaps larger than
L2 cache a non-issue for most programs.

That paper is 10 years old, did that policy become the norm since then ?