[BP 5.5.4] - [plasma] MemTuner examine RSS before incrementing for smoother control
Description
Components
Affects versions
Fix versions
Labels
Environment
None
Link to Log File, atop/blg, CBCollectInfo, Core dump
None
Release Notes Description
None
is a backport of
relates to
Activity
Show:
Sundar Sridharan February 6, 2019 at 9:22 PM
Build carries the fix
CB robot February 6, 2019 at 8:10 PM
Build couchbase-server-5.5.4-4322 contains plasma commit c2ad7e5 with commit message:
https://couchbasecloud.atlassian.net/browse/MB-32636#icft=MB-32636 mem: Only increment if RSS < quota
Sundar Sridharan February 5, 2019 at 8:07 PM
Fixed
Pinned fields
Click on the next to a field label to start pinning.
Details
Assignee
Reporter
Sundar Sridharan
Sundar SridharanIs this a Regression?
No
Triage
Triaged
Priority
Major
Instabug
Open Instabug
PagerDuty
PagerDuty Incident
PagerDuty Incident
Sentry
Linked Issues
Linked Issues
Zendesk Support
Linked Tickets
Linked Tickets
Created January 14, 2019 at 7:50 PM
Updated April 25, 2019 at 1:46 AM
Resolved April 9, 2019 at 5:20 PM
Instabug
Currently plasma mem tuner logic decrements memory quota and forces GC when the indexer process RSS overshoots user quota by 15% but the increment logic does not examine RSS before choosing to restore the quota.
This results in spiky RSS and frequent forced garbage collection.
Better to use examine RSS and only increment if the RSS is below user quota.
Inspiration: PID controller