[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: GC param tuning
- From: Roberto Ierusalimschy <roberto@...>
- Date: Fri, 12 Nov 2004 14:07:42 -0200
> For anyone keeping track, [...]
We are keeping track (with great interest!).
> This gives rather better peak memory usage than either
> 5.0.2 or 5.1wX and does not appear to negatively affect
> speed even in the churningest parts of my app (so far).
Can you give the "numbers" (peakmem and FPS compatible with previous
message) for this setting?
> I don't know what function the 2*g->estimate was supposed to serve,
That was a quite ad hoc attempt to emulate the behaviour of 5.0. It
should delay the start of a new GC cycle until the program doubles the
amount of memory it was using after the previous cycle. We were afraid
that, without it, Lua could perform GC cycles too frequently.
-- Roberto