Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-3737 Improve OM performance
  3. HDDS-9377

Call MutableStat.add(long x) method as a runnable task in a separate service executor

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • 1.4.0
    • None
    • OM, S3, SCM

    Description

      We've made an experiment: load 15mlns of 1k files to the EC bucket and read them (3 clients in 50 threads => 150 threads in total). A high metrics related method contention was detected on org.apache.hadoop.metrics2.lib.MutableStat#add(long, long) (as it;s synchronized) - we hung for about a minute (sum) of a 10-minute profiling session

      The metrics-related operation results are not required at the time of execution, hence, they can be executed in another thread pool

      Attachments

        1. Screenshot 2023-09-09 at 17.59.50.png
          1.23 MB
          Vyacheslav Tutrinov

        Issue Links

          Activity

            People

              vtutrinov Vyacheslav Tutrinov
              vtutrinov Vyacheslav Tutrinov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: