SSD backing
Jason Evans
jasone at canonware.com
Mon Jan 27 17:49:06 PST 2014
On Jan 15, 2014, at 9:22 PM, Nathan Kurz <nate at verse.com> wrote:
Several months ago, Jason Evans wrote:
>> Also of relevance: the SSD backing feature you added existed
>> in 2.x versions of jemalloc, but I removed it because no one
>> ever claimed to have found it useful.
>
> I'm just learning about this now, but if it's what I want it to be,
> this seems like a very useful feature. Do you have a description of
> it written up, or a link to the code that last used it?
>
> What I've been wanting for quite a while is a modern malloc() that
> does all of it's allocations from one or a small number of arenas of
> mmap() files. All the meta-information (free-lists, locking, etc.)
> should be stored in the arena itself.
>
> It would be used as a shared memory segment between processes. The
> main use case would be holding index records for real time search.
> There would be a limited number of writers but many readers.
Several people have expressed interest in an allocator that can be completely shared among processes via shared memory, but the 'swap' feature in jemalloc didn't support that, because there were quite a few static variables, spread across numerous compilation units, and all of those variables would have to be refactored for the shared memory allocator scenario.
Jason
More information about the jemalloc-discuss
mailing list