From: Goswin von Brederlow <goswin-v-b@web.de>
To: Eray Ozkural <examachine@gmail.com>
Cc: Jon Harrop <jonathandeanharrop@googlemail.com>,
Sylvain Le Gall <sylvain@le-gall.net>,
caml-list@inria.fr
Subject: Re: [Caml-list] Re: Optimizing garbage collection
Date: Wed, 24 Nov 2010 23:35:27 +0100 [thread overview]
Message-ID: <87r5eapcy8.fsf@frosties.localnet> (raw)
In-Reply-To: <AANLkTim=sw-pdEunEFHAR_xrEYb0xUNkBWKfzOccy6_i@mail.gmail.com> (Eray Ozkural's message of "Tue, 23 Nov 2010 01:13:50 +0200")
Eray Ozkural <examachine@gmail.com> writes:
> On Mon, Nov 22, 2010 at 11:14 PM, Jon Harrop <jonathandeanharrop@googlemail.com
>> wrote:
>
> What happens if you just increase the default size?
>
>
>
> Well we don't want to be a memory hog like Java do we? It's something that kind
> of depends on the app, what would you set it to?
>
> Cheers,
I would start below the cache size. If that works that is really great.
Limit it by the size of the major heap (at most 10% of the major heap
size?). And grow/shrink it by amount of copying to the major heap that
is required. If less than 10% of the minor heap are still alive on a
sweep then shrink it, if more than 50% are alive then grow it or
something.
Do a lot of tests to find good values for those percentages.
MfG
Goswin
next prev parent reply other threads:[~2010-11-24 22:36 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-18 15:51 Eray Ozkural
2010-11-19 14:54 ` [Caml-list] " Michael Ekstrand
2010-11-19 15:49 ` Eray Ozkural
2010-11-20 2:20 ` Eray Ozkural
2010-11-21 18:13 ` Alexandre Pilkiewicz
2010-11-21 19:26 ` Eray Ozkural
[not found] ` <577267187.967802.1290367612809.JavaMail.root@zmbs1.inria.fr>
2010-11-22 15:10 ` Damien Doligez
2010-11-22 16:27 ` Mauricio Fernandez
2010-11-22 16:42 ` Sylvain Le Gall
2010-11-22 18:07 ` [Caml-list] " Eray Ozkural
2010-11-22 21:14 ` Jon Harrop
2010-11-22 23:13 ` Eray Ozkural
2010-11-23 15:54 ` Jon Harrop
2010-11-24 22:35 ` Goswin von Brederlow [this message]
2010-11-22 18:38 ` [Caml-list] " John Carr
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=87r5eapcy8.fsf@frosties.localnet \
--to=goswin-v-b@web.de \
--cc=caml-list@inria.fr \
--cc=examachine@gmail.com \
--cc=jonathandeanharrop@googlemail.com \
--cc=sylvain@le-gall.net \
/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