tarantool/tarantool

Optimize large allocations

开放

#2,705 创建于 2017年8月22日

 (0 条评论) (0 个反应) (0 位负责人)Lua (406 个派生)batch import
featuregood first issue

仓库指标

星标
 (3,633 个星标)
PR 合并指标
 (平均合并 13天 2小时) (30 天内合并 82 个 PR)

描述

Now that we support tuples bigger than 1M it's become necessary to optimize large allocations. jemalloc can reuse memory for large allocations, for example, while glibc malloc would always use mmap/munmap for large tuples.

Investigate whether we should import jemalloc or only the part of it relevant for large allocation management.

贡献者指南