jemalloc 5.1.0 发布,内存分配管理

  

jemalloc 5.1.0 已发布,jemalloc 是一个通用的 malloc(3)实现,它强调了分段回避和可伸缩并发支持。jemalloc 在 2005 年首次作为 FreeBSD libc 分配器使用,2010年,jemalloc 的功能延伸到如堆分析和监控/调优等。现代的 jemalloc 版本依然集成在 FreeBSD 中。

该版本从特性、性能、便携性等多个方面进行了改进,建议 5.0.x 及更早版本的用户升级。

  • Implement transparent huge page support for internal metadata.

  • Add opt.thp to allow enabling / disabling transparent huge pages for all mappings. 

  • Add maximum background thread count option.

  • Allow prof_active to control opt.lg_prof_interval and prof.gdump

  • Allow arena index lookup based on allocation addresses via mallctl. 

  • Allow disabling initial-exec TLS model.

  • Add opt.lg_extent_max_active_fit to set the max ratio between the size of the active extent selected (to split off from) and the size of the requested allocation. 

  • Add retain_grow_limit to set the max size when growing virtual address space. 

    扫描二维码关注公众号,回复: 212491 查看本文章
  • Add mallctl interfaces:

    • arena.<i>.retain_grow_limit 

    • arenas.lookup 

    • max_background_threads 

    • opt.lg_extent_max_active_fit

    • opt.max_background_threads

    • opt.metadata_thp 

    • opt.thp 

    • stats.metadata_thp 

完整更新内容和下载地址,请查阅发行列表

猜你喜欢

转载自www.oschina.net/news/95919/jemalloc-5-1-0-released