hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo Nicholas Sze (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-13223) Reduce DiffListBySkipList memory usage
Date Sat, 03 Mar 2018 02:01:00 GMT
Tsz Wo Nicholas Sze created HDFS-13223:
------------------------------------------

             Summary: Reduce DiffListBySkipList memory usage
                 Key: HDFS-13223
                 URL: https://issues.apache.org/jira/browse/HDFS-13223
             Project: Hadoop HDFS
          Issue Type: Improvement
          Components: snapshots
            Reporter: Tsz Wo Nicholas Sze
            Assignee: Shashikant Banerjee


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org


Mime
View raw message