[ https://issues.apache.org/jira/browse/HDFS-1148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12866716#action_12866716 ]
Todd Lipcon commented on HDFS-1148: ----------------------------------- pretty small in 0.20, but FSDataset is substantially reworked in trunk, haven't taken a look there. In general I just took a conservative approach, and made anything that might possibly change something use the write lock - even without being fancy it completely dropped this class off my jstacks. > Convert FSDataset to ReadWriteLock > ---------------------------------- > > Key: HDFS-1148 > URL: https://issues.apache.org/jira/browse/HDFS-1148 > Project: Hadoop HDFS > Issue Type: Improvement > Components: data-node > Reporter: Todd Lipcon > Assignee: Todd Lipcon > > In benchmarking HDFS-941 I noticed that for the random read workload, the > FSDataset lock is highly contended. After converting it to a > ReentrantReadWriteLock, I saw a ~25% improvement on both latency and > ops/second. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.