Version franaise
Home About Download Resources Contact us
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: -- (:)
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 <bhurt@janestcapital.com> 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 
http://citeseer.ist.psu.edu/goncalves94cache.html

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 ?