Recent informative ML thread: List of security features in musl. http://www.openwall.com/lists/musl/2016/02/11/4 …
@CopperheadSec Last I checked the memory waste and performance costs of OpenBSD malloc made it completely unsuitable for production use IMO.
-
-
@RichFelker It uses a zone-based design which results in lower memory usage than dlmalloc-style allocators. It does use coarse size classes. -
@RichFelker The coarse size classes aren't an inherent property of the design though. It's just the fragmentation trade-off they picked. -
@RichFelker The performance for allocations smaller than the page size is fine, but it lacks thread caches to amortize the locking costs. -
@CopperheadSec Awful space and time overhead is going to be around the 2-20 kB range. Syscall for each alloc/free. -
@RichFelker Not sure what you mean. The zone-based design results in the overhead per allocation being measured in bits, not bytes. -
@RichFelker It's essentially the same design as jemalloc but jemalloc uses 2MiB aligned regions with headers rather than pages + hash table. -
@RichFelker The caching mechanism used in OpenBSD for allocations larger than the page size very naive, sure. Small allocations work well.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.