jemalloc 5.1.0 has been released, jemalloc is a generic malloc(3) implementation that emphasizes segmentation avoidance and scalable concurrency support. jemalloc was first used as the FreeBSD libc allocator in 2005, and in 2010, jemalloc's capabilities were extended to things like heap analysis and monitoring/tuning. A modern version of jemalloc is still integrated in FreeBSD.
This version has been improved in terms of features, performance, portability, etc. It is recommended that users of version 5.0.x and earlier upgrade.
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 controlopt.lg_prof_interval
andprof.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.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
For the full update content and download address, please refer to the release list .