Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-9242

Add PerfDisableSharedMem to default JVM params

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 2.2.0 beta 1
    • Component/s: Local/Config
    • Labels:
      None

      Description

      We should add PerfDisableSharedMem to default JVM params. The JVM will save stats to a memory mapped file when reaching a safepoint. This is performed synchronously and the JVM remains paused while this action takes place. Occasionally the OS will stall the calling thread while this happens resulting in significant impact to worst case JVM pauses. By disabling the save in the JVM these mysterious multi-second pauses disappear.

      The behavior is outlined in this article. Another manifestation is significant time spent in sys during GC pauses. In the linked test you'll notice multiple seconds spent in sys during the longest pauses.

        Attachments

          Activity

            People

            • Assignee:
              aweisberg Ariel Weisberg
              Reporter:
              mstump Matt Stump
              Authors:
              Ariel Weisberg
              Reviewers:
              Joshua McKenzie
            • Votes:
              1 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: