#15083: MemoryManager: Too many free slabs after heavy usage
-----------------------------+----------------------------
Reporter: waddlesplash | Owner: bonefish
Type: bug | Status: assigned
Priority: normal | Milestone: Unscheduled
Component: System/Kernel | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
-----------------------------+----------------------------
Comment (by waddlesplash):
So from more investigation on this point, it seems what's going on here is
allocator fragmentation. The "free" meta chunks are inside slabs with 1-2
meta chunks allocated; so there are a good number of 90% free slabs which
cannot be released because the last 10% are actually in use. So this seems
like allocator fragmentation indeed.
Likely my reorganizations of high-usage malloc()s into object_caches will
help here. But it's hard to say for sure without even more tracing.
--
Ticket URL: <https://dev.haiku-os.org/ticket/15083#comment:4>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.