[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Garbage collector behaviour changed from 5.1 to 5.2
- From: Roberto Ierusalimschy <roberto@...>
- Date: Sat, 26 May 2012 11:04:19 -0300
> On Sat, May 26, 2012 at 9:20 PM, Luiz Henrique de Figueiredo
> <lhf@tecgraf.puc-rio.br> wrote:
> > Try Lua 5.2.1, which mostly reverts the GC to the one used in 5.1.
>
> Its better. The collector doesn't seem quite as aggressive, but its a
> substantial improvement. I will get it out to testing and see how it
> goes. We'll definitely need to fix some other stuff but hopefully this
> will buy us some time.
I believe the corrections from 5.2.0 to 5.2.1 also made the collector
more "responsive" to changes in the GC parameters. Try to increase
stepmul and/or to reduce pause to make the collector more aggressive.
(In particular, with stepmul = maxint and pause = 0, the interpreter
should run a whole collection cycle for each single allocation ;)
-- Roberto