Details
-
Bug
-
Resolution: Fixed
-
Major
-
7.6.0
-
Untriaged
-
0
-
Unknown
Description
When under swap, jemalloc malloc heap size can be higher than RSS where jemalloc heap stats include memory that have been swapped out by OS. Instead of using jemalloc heap in controlling eviction, use plasma stats with estimation of jemalloc fragmentation, where Jemalloc fragmentation is estimated periodically based on heap usage. If system is under swap, plasma will use a pre-determined jemalloc fragmentation instead of calculating based on heap usage, since heap stats will not be accurate at that time.
Attachments
Issue Links
- backports to
-
MB-59317 [BP 7.2.4] - Ensure swapper will not spin continously if jemalloc resident mem > RSS
- Closed
For Gerrit Dashboard: MB-58533 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
198324,1 | MB-58533: Use different sigarHandle for different sigar calls | unstable | plasma | Status: ABANDONED | 0 | +1 |
198325,1 | MB-58533: Use plasma stats for eviction when under swap | unstable | plasma | Status: ABANDONED | 0 | -1 |
198327,8 | MB-58533: Use plasma stats and jemalloc fragment in eviction | unstable | plasma | Status: MERGED | +2 | +1 |