hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yong Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-1148) Convert FSDataset to ReadWriteLock
Date Wed, 26 Aug 2015 08:51:48 GMT

    [ https://issues.apache.org/jira/browse/HDFS-1148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14712727#comment-14712727
] 

Yong Zhang commented on HDFS-1148:
----------------------------------

Failed unit tests: hadoop.hdfs.TestFileStatus is not related to this patch

> Convert FSDataset to ReadWriteLock
> ----------------------------------
>
>                 Key: HDFS-1148
>                 URL: https://issues.apache.org/jira/browse/HDFS-1148
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: datanode, performance
>            Reporter: Todd Lipcon
>            Assignee: Yong Zhang
>         Attachments: HDFS-1148.001.patch, HDFS-1148.002.patch, HDFS-1148.003.patch, hdfs-1148-old.txt,
hdfs-1148-trunk.txt, patch-HDFS-1148-rel0.20.2.txt
>
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message