Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-7593 Supporting HSync and lease recovery
  3. HDDS-10890

[hsync] Increase default value for hdds.container.ratis.log.appender.queue.num-elements

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Done
    • None
    • 2.0.0
    • None

    Description

      hdds.container.ratis.log.appender.queue.num-elements default value is 1. This is the bottleneck at DN Ratis.

      With the default value, I got about 2500 requests per second using freon dn echo tool.
      Increasing it to 32, I managed to 5500 requests per second,

      This is still lower than OM echo on the same machine (~16k requests per second), so I'll keep looking for other efficiencies.

      NOTE: this Ozone configuration is associated with Ratis property raft.server.log.appender.buffer.element-limit. The default value for Ozone Manager Ratis is 1024 (defined by ozone.om.ratis.log.appender.queue.num-elements)

        <property>
          <name>hdds.container.ratis.log.appender.queue.num-elements
      </name>
          <value>1</value>
          <tag>OZONE, DEBUG, CONTAINER, RATIS</tag>
          <description>Limit for number of append entries in ratis leader's
            log appender queue.
          </description>
        </property>
      

      Attachments

        Issue Links

          Activity

            People

              weichiu Wei-Chiu Chuang
              weichiu Wei-Chiu Chuang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: