Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-14522

Document and/or disable hsperfdata GC pauses

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Abandoned
    • None
    • None
    • documentation, Performance
    • None

    Description

      The JVM by default exports statistics by mmap-ing a file in /tmp (hsperfdata). On Linux, modifying a memory mapped file can block until disk I/O completes, which can be hundreds of milliseconds. Since the JVM modifies these statistics during garbage collection and safepoints, this causes pauses that are hundreds of milliseconds long.

      Via JVM mmap pause.

      We should add -XX:+PerfDisableSharedMem to our default options as was apparently done in CASSANDRA-9242 and/or document the presence of this bug so operators know to use tmpfs.

      Hat-tip vrodionov

      Attachments

        1. HBASE-14522.patch
          2 kB
          Lars Francke

        Activity

          People

            Unassigned Unassigned
            ndimiduk Nick Dimiduk
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: