You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A team working on Arrow benchmarks encountered a problem where the mimalloc allocator was holding onto considerably more RAM than needed (at least 6GB and potentially more).
Mimalloc offers the mi_collect non-standard API which forces mimalloc to release unused pages to the OS. We could expose this to be called by benchmarking tools to get consistent results and reduce the amount of RAM needed.
David Li / @lidavidm:
jemalloc isn't under question here, but it can have similar behaviors and offers a similar call to drop all unused memory, if we ever run into issues.
arena.<i>.decay (void) --
Trigger decay-based purging of unused dirty/muzzy pages for arena <i>, or for all arenas if <i> equals MALLCTL_ARENAS_ALL. The proportion of unused dirty/muzzy pages to be purged depends on the current time; see opt.dirty_decay_ms and opt.muzy_decay_ms for details.
arena.<i>.purge (void) --
Purge all unused dirty pages for arena <i>, or for all arenas if <i> equals MALLCTL_ARENAS_ALL.
A team working on Arrow benchmarks encountered a problem where the mimalloc allocator was holding onto considerably more RAM than needed (at least 6GB and potentially more).
Mimalloc offers the
mi_collect
non-standard API which forces mimalloc to release unused pages to the OS. We could expose this to be called by benchmarking tools to get consistent results and reduce the amount of RAM needed.Reporter: Weston Pace / @westonpace
Assignee: Weston Pace / @westonpace
PRs and other links:
Note: This issue was originally created as ARROW-12584. Please see the migration documentation for further details.
The text was updated successfully, but these errors were encountered: