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

Statement concerning default ParallelGCThreads in jvm.options is not correct

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

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 3.0.1, 3.1
    • Local/Config
    • None
    • Low

    Description

      from jvm.options:

      The JVM maximum is 8 PGC threads and 1/4 of that for ConcGC.

      This is not correct. If there are more than eight CPUs, the default becomes 5/8 of the number of CPUs rounded up to the nearest even number (it seems - see below). See -XX:ParallelGCThreads=n secion of http://www.oracle.com/technetwork/articles/java/g1gc-1984535.html

      Pretty easy to test with > 16 cores (as 5/8 of such is 10): turn on GC logging, leave the defaults, and the G1GC output will show something like:

      [Parallel Time: 342.6 ms, GC Workers: 16]
      

      on a 24 core system in this case.

      Attachments

        Activity

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

          People

            zznate Nate McCall Assign to me
            zznate Nate McCall
            Nate McCall
            Paulo Motta
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment