XMLWordPrintableJSON

    Details

    • Target Version/s:

      Description

      While profiling 1TB TeraGen job on Hadoop 2.8.2 cluster (Google Dataproc, 2 workers, GCS connector) I saw that FileSystem.Statistics code paths Wall time is 5.58% and CPU time is 26.5% of total execution time.

      After switching FileSystem.Statistics implementation to LongAdder, consumed Wall time decreased to 0.006% and CPU time to 0.104% of total execution time.

      Total job runtime decreased from 66 mins to 61 mins.

      These results are not conclusive, because I didn't benchmark multiple times to average results, but regardless of performance gains switching to LongAdder simplifies code and reduces its complexity.

        Attachments

        1. HADOOP-15124.001.patch
          37 kB
          Igor Dvorzhak
        2. HADOOP-15124-branch-3.2.001.patch
          37 kB
          Igor Dvorzhak
        3. HADOOP-15124-branch-3.2.002.patch
          38 kB
          Igor Dvorzhak

          Issue Links

            Activity

              People

              • Assignee:
                medb Igor Dvorzhak
                Reporter:
                medb Igor Dvorzhak
              • Votes:
                0 Vote for this issue
                Watchers:
                21 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m