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

Reduce DiffListBySkipList memory usage

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.1.0
    • snapshots
    • None
    • Reviewed

    Description

      There are several ways to reduce memory footprint of DiffListBySkipList.

      • Move maxSkipLevels and skipInterval to DirectoryDiffListFactory.
      • Use an array for skipDiffList instead of List.
      • Do not store the level 0 element in skipDiffList.
      • Do not create new ChildrenDiff for the same value.

      Attachments

        1. HDFS-13223.004_commit.patch
          26 kB
          Tsz-wo Sze
        2. HDFS-13223.004.patch
          26 kB
          Shashikant Banerjee
        3. HDFS-13223.003.patch
          26 kB
          Shashikant Banerjee
        4. HDFS-13223.002.patch
          18 kB
          Shashikant Banerjee
        5. HDFS-13223.001.patch
          18 kB
          Shashikant Banerjee

        Issue Links

          Activity

            People

              shashikant Shashikant Banerjee
              szetszwo Tsz-wo Sze
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: