[Mono-dev] sgen optimizing

Rodrigo Kumpera kumpera at gmail.com
Mon Oct 28 14:42:39 UTC 2013


Increasing the nursery size will reduce the amount of ephemeral garbage
that gets promoted to the old generation. The downside of a larger nursery
is the increased pause times for minor collections.

Sgen has a separate nursery designed to reduce temporal garbage by making
objects age in the nursery before promoting them. You can try it with
MON_GC_PARAMS=minor=split.


On Mon, Oct 28, 2013 at 9:40 AM, Greg Young <gregoryyoung1 at gmail.com> wrote:

> sorry for type meant 4mb not 4kb (that would be a really small nursery!)
>
>
> On Mon, Oct 28, 2013 at 3:38 PM, Greg Young <gregoryyoung1 at gmail.com>wrote:
>
>> We have an application with a fairly common usage pattern. We send many
>> messages in memory between a series of components (often with queues in the
>> middle). In looking through sgen and defaults etc it would seem that by
>> default there is a 4kb nursery. In this case we would have many of these
>> small short lived messages getting promoted to the main heap. Is this a
>> usage scenario where we might want to increase the size of the nursery to
>> prevent the false promotions (aside from the messages we allocate very
>> little else).
>>
>> Cheers,
>>
>> Greg
>>
>> --
>> Le doute n'est pas une condition agréable, mais la certitude est absurde.
>>
>
>
>
> --
> Le doute n'est pas une condition agréable, mais la certitude est absurde.
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20131028/1eaea4c7/attachment.html>


More information about the Mono-devel-list mailing list