hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Clampffer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-10739) libhdfs++: In RPC engine replace vector with deque for pending requests
Date Tue, 09 Aug 2016 20:01:20 GMT

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

James Clampffer commented on HDFS-10739:
----------------------------------------

Committed this to HDFS-8707.  Thanks Anatoli!

This simply substitutes one data structure with another that has the same API but is more
appropriate for the way it's being used.  Looks like vector::resize was killing tons of time
shifting elements around and reallocating (including on optimized builds).

> libhdfs++: In RPC engine replace vector with deque for pending requests
> -----------------------------------------------------------------------
>
>                 Key: HDFS-10739
>                 URL: https://issues.apache.org/jira/browse/HDFS-10739
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: hdfs-client
>            Reporter: Anatoli Shein
>            Assignee: Anatoli Shein
>         Attachments: HDFS-10739.HDFS-8707.000.patch
>
>
> Needs to be added in order to improve performance



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
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