lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I did collectgarbage("setpause", 0) just now,
the progress stucked for longer time at then end of sweep than
"setpause" was 90.


At 2016-09-28 05:54:12, "Roberto Ierusalimschy" <roberto@inf.puc-rio.br> wrote:
>> Lua 5.2.4
>> My program is a busy MMORPG(massively multiplayer online role-playing
>> game) server,
>> I hope GC start a new cycle as soon as possible, so I set "gcpause" to
>> 90 according to
>> http://www.lua.org/manual/5.2/manual.html#2.5.
>> I found that the progress stuck for a few seconds at the end of sweep
>> state (before propagate state),
>> the CPU's usage is quite high(99.9%).
>
>I am not sure the manual is correct. Have you tried to set gcpause
>to zero?
>
>-- Roberto
>