hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ravi Prakash (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11540) PeerCache sync overhead
Date Mon, 20 Mar 2017 21:21:41 GMT

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

Ravi Prakash commented on HDFS-11540:
-------------------------------------

Thanks for your contribution Ravikumar! :-)

Could you please elaborate more on what prompted you to optimize this code? Were you seeing
this bottleneck in your cluster perhaps? Under what circumstances?

> PeerCache sync overhead
> -----------------------
>
>                 Key: HDFS-11540
>                 URL: https://issues.apache.org/jira/browse/HDFS-11540
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs-client
>    Affects Versions: 2.7.1
>            Reporter: Ravikumar
>            Priority: Minor
>         Attachments: PeerCache.diff
>
>
> PeerCache has a fair amount sync over-head. In addition to class level locking, expired
sockets & eldest socket are closed in critical section during gets & puts respectively..
> A ConcurrentLinkedHashMap with appropriate fencing using DatanodeID could speed it up?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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


Mime
View raw message