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

Add PerfDisableSharedMem to default JVM params

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 2.2.0 beta 1
    • Local/Config
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            aweisberg Ariel Weisberg Assign to me
            mstump Matt Stump
            Ariel Weisberg
            Joshua McKenzie
            Votes:
            1 Vote for this issue
            Watchers:
            12 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment