Huge pages and druntime parameters

Martin Nowak code at dawg.eu
Tue Oct 1 15:40:52 PDT 2013


On 09/27/2013 03:33 PM, Rainer Schuetze wrote:
> An application that needs to allocate ore than a few MB is currently
> often slowed down considerably by early collections of the GC. Being
> able to use larger values for initial memory and pool size increments
> would help a lot here.
>
Yep, that's the main use case.

> For the precise GC I moved the configuration variable(s) to its own
> module:
> https://github.com/rainers/druntime/blob/gcx_precise/src/gc/config.d
> This module allows configuration via environment variables, but you can
> change the defaults by adding a file with module declaration "gc.config"
> and other settings.
Env variables make sense.


More information about the Digitalmars-d mailing list