Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-6521

Review default JVM options for better performance

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Done
    • 2.1
    • 2.5
    • general, visor
    • None

    Description

      Non-optimal recommendations are present in ignite startup scrips

      ::
      :: Uncomment the following GC settings if you see spikes in your throughput due to Garbage Collection.
      ::
      :: set JVM_OPTS=%JVM_OPTS% -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+UseTLAB -XX:NewSize=128m -XX:MaxNewSize=128m
      :: set JVM_OPTS=%JVM_OPTS% -XX:MaxTenuringThreshold=0 -XX:SurvivorRatio=1024 -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=60
      

      Some utilities (like Visor) are hanged up in continuous GCs when connected to large clusters (above one hundred nodes). Even after using large heap (about 32 Gb).

      I'd like to propose to remove this lines and modify default JVM_OPTS as follows

      set JVM_OPTS=-Xms1g -Xmx8g -XX:+UseG1GC -server -XX:+AggressiveOpts -XX:MaxPermSize=256m
      

      Attachments

        Issue Links

          Activity

            People

              DmitriyGovorukhin Dmitriy Govorukhin
              ein Alexandr Kuramshin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: