Browse thread
caml_oldify_local_roots takes 50% of the total runtime
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2006-10-30 (07:50) |
From: | Hendrik Tews <H.Tews@c...> |
Subject: | Re: [Caml-list] caml_oldify_local_roots takes 50% of the total runtime |
Brian Hurt <bhurt@janestcapital.com> writes: With respect to 4146 (minor heap size adjusts to memory size)- I'm not sure this is a good idea. I didn't think at all about cache size. For some applications it might certainly be a good idea to keep the minor heap close to the cache size. I was mainly concerned about applications that consume a lot of data, which is not going to fit into cache anyway. If, in addition, they are short running it is much better to have a huge minor heap and let the OS collect the garbage afterwards. Maybe it would be nice to let the application configure the cache policy: - eager: fill all free memory before starting GC - fit_cache: Keep the minor heap close to the cache size Hendrik