Description
In cgroups, free memory is currently estimated by subtracting used memory from total memory.
Sigar should expose memory.stat.active_file and memory.stat.inactive_file for a more accurate MemAvailable like estimation.
The caller is responsible for wisely using the exposed metrics to get a MemAvailable like estimate.
Plasma reference doc: Estimating Cgroup free memory for Plasma
Attachments
Issue Links
For Gerrit Dashboard: MB-58567 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
196831,2 | MB-58567: Expose cgroup memory stats | master | platform | Status: MERGED | +2 | +1 |
196833,3 | MB-58567: Expose cgroup memory stats | master | sigar | Status: MERGED | +2 | +1 |