lua-users home
lua-l archive

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


> I hope the delay time of player's operation can be low, 
> and the CPU's usage is  smooth  in all the time.
> In propagate state, it is OK.
> But in sweep state, the delay time increases obviously.
> It usually take a few seconds for player to see the menu content after click the menu on client.
> This is boring.
> Actually, I set the "setpause" value to a small value to avoid the memory usage increase to a large value,
> once the memory usage increase , the total execute time of atomic() function becomes long,
> it will also increase the delay time of player's operation.
> 
> Whether it is a solution to change the sweepstep() to return the real free bytes,
> so the CPU's usage is smooth in sweep state  like the propagate state.

What happens if you increase GCSWEEPCOST (and maybe reduce even more the
pause)?

-- Roberto