[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua has reached a local optimum
- From: Jakub Jirutka <jakub@...>
- Date: Thu, 5 Jul 2018 12:20:16 +0200
> I can confirm that the use of generational GC with tcmalloc.so improves
> the performance (less CPU time and memory usage) of complex programs
> (douzens GB of RAM) considerable.
Who develops programs consuming dozens GiB of RAM in Lua?! O.O
I don't have any objections against generational GC in Lua, but arguing
with dozens GiB of RAM looks more like discussion about Java VM than Lua...
Jakub
On 05/07/18 12:13, Rodrigo Azevedo wrote:
>
>
> 2018-07-05 0:55 GMT-03:00 云风 Cloud Wu <cloudwu@gmail.com
> <mailto:cloudwu@gmail.com>>:
>
>
>
> Dibyendu Majumdar <mobile@majumdar.org.uk
> <mailto:mobile@majumdar.org.uk>>于2018年7月5日周四 上午5:44写道:
>
> I think 5.3 may well be the greatest of Lua 5.x releases as I can't
> think of anything in 5.4 that was really necessary. Did people
> really
> need a generational GC? Is the additional complexity worth it?
> Did Lua
>
>
> A user of our online game server framework (skynet) report lua
> 5.4's generational GC could improve the memory usage obviously [1].
> It reduce nearly half physical memory usage, because the allocator
> (sush as jemalloc) would use much more memory if we haven't collect
> it as soon as possible.
>
> [1] : https://github.com/cloudwu/skynet/issues/827
> <https://github.com/cloudwu/skynet/issues/827> (The discussion is
> in Chinese)
>
>
> I can confirm that the use of generational GC with tcmalloc.so improves
> the performance (less CPU time and memory usage) of complex programs
> (douzens GB of RAM) considerable. Moreover, the new random number
> generator algorithm and the new opcodes of lua 5.4 are absolutelly
> essential, sorry Dibyendu.
>
> --
> Rodrigo Azevedo Moreira da Silva