[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: how to tune generational collector in work3?
- From: "Juris Kalnins" <juris@...>
- Date: Tue, 01 Jun 2010 15:40:00 +0300
On Tue, 01 Jun 2010 15:33:32 +0300, Roberto Ierusalimschy
This fixes it:
+ luaC_runtilstate(L, ~bitmask(GCSpause));
luaC_runtilstate(L, bitmask(GCSpause)); /* run collection */
This seems a stupid bug; sorry about that. Minor collections were void.
(This shows that the tests about minor collections are still not
in the test suit. A small change a few weeks ago broke it and we did
How things are working now?
With the modified stepmul logic and this fix -- great.
Note the maxalloc:
Generational, with debug prints (yes, gcpause is 105%) =====
$ time ./lua ~/P/gengc-test.lua 500 1000 105 402400
OK, done, maxalloc = 18650.85546875 , #t = 1001
Stock gc, no tunings =======================================
$ time ./lua ~/P/gengc-test.lua 500 1000 0 0
OK, done, maxalloc = 60667.359375 , #t = 1001