Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-13702

Remove HTrace hooks from DFSClient to reduce CPU usage

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.2.0, 3.1.1, 3.0.4
    • Component/s: performance
    • Labels:
      None

      Description

      I am seeing DFSClient.newReaderTraceScope take ~15% CPU in a teravalidate workload even when HTrace is disabled. This is because it stringifies several integers. We should avoid all allocation and stringification when htrace is disabled.

        Attachments

        1. hdfs-13702.patch
          21 kB
          Todd Lipcon
        2. hdfs-13702.patch
          27 kB
          Todd Lipcon
        3. hdfs-13702.patch
          28 kB
          Todd Lipcon

          Issue Links

            Activity

              People

              • Assignee:
                tlipcon Todd Lipcon
                Reporter:
                tlipcon Todd Lipcon
              • Votes:
                0 Vote for this issue
                Watchers:
                15 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: