You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Hairong Kuang (JIRA)" <ji...@apache.org> on 2011/03/30 01:30:05 UTC

[jira] [Updated] (HDFS-1796) Switch NameNode to use non-fair locks

     [ https://issues.apache.org/jira/browse/HDFS-1796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hairong Kuang updated HDFS-1796:
--------------------------------

    Attachment: non-fair-lock.patch

This is a very straightforward patch. So no unit test is written.

> Switch NameNode to use non-fair locks
> -------------------------------------
>
>                 Key: HDFS-1796
>                 URL: https://issues.apache.org/jira/browse/HDFS-1796
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Hairong Kuang
>         Attachments: non-fair-lock.patch
>
>
> According to JavaDoc, a non-fair lock will normally have higher throughput than a fair lock. Our experiment also shows an improved performance when using a non-fair lock. We should switch namenode to use non-fair locks.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira