Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-32491

[Backport] [plasma] MemTuner examine RSS before incrementing for smoother control

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 5.1.2
    • 6.0.1
    • storage-engine
    • Triaged
    • No

    Description

      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 

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          sundar Sundar Sridharan (Inactive) created issue -
          sundar Sundar Sridharan (Inactive) made changes -
          Field Original Value New Value
          Link This issue blocks CBSE-5969 [ CBSE-5969 ]
          sundar Sundar Sridharan (Inactive) made changes -
          Fix Version/s Mad-Hatter [ 15037 ]
          raju Raju Suravarjjala made changes -
          Assignee Mihir Kamdar [ mihir.kamdar ] Sundar Sridharan [ sundar ]
          sundar Sundar Sridharan (Inactive) made changes -
          Resolution Duplicate [ 3 ]
          Status Open [ 1 ] Closed [ 6 ]

          People

            sundar Sundar Sridharan (Inactive)
            sundar Sundar Sridharan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty