[#61424] [REJECT?] xmalloc/xfree: reduce atomic ops w/ thread-locals — Eric Wong <normalperson@...>

I'm unsure about this. I _hate_ the extra branches this adds;

13 messages 2014/03/12

[ruby-core:61626] Re: [ruby-trunk - Bug #9607] Change the full GC timing

From: Eric Wong <normalperson@...>
Date: 2014-03-21 21:56:00 UTC
List: ruby-core #61626
Eric Wong <[email protected]> wrote:
> [email protected] wrote:
> > File gc.patch added
> 
> Running this (on top of current trunk) to serve my (mostly static sites)
> on yhbt.net.   Memory usage seems stable at ~31M (from ~49M)

Actually, not, it hit ~89M(!).  It could be I got a traffic surge (but I
did not pay attention to that).

I also did not set MALLOC_MMAP_THRESHOLD_ for eglibc malloc;
only MALLOC_ARENA_MAX=1 MALLOC_ARENA_CHECK=1.  So this may be
a problem of malloc fragmentation, too.

In This Thread

Prev Next