hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ming Ma (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-9259) Make SO_SNDBUF size configurable at DFSClient side for hdfs write scenario
Date Mon, 26 Oct 2015 21:57:28 GMT

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

Ming Ma commented on HDFS-9259:

Thanks [~liuml07]! The patch looks good. Just some format nits in TestDFSClientSocketSize:
testAutoTuningSendBufferSize's assertTrue statement's indent is off; createSocket's createSocketForPipeline
statement can put the last two lines into one line.

> Make SO_SNDBUF size configurable at DFSClient side for hdfs write scenario
> --------------------------------------------------------------------------
>                 Key: HDFS-9259
>                 URL: https://issues.apache.org/jira/browse/HDFS-9259
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Ming Ma
>            Assignee: Mingliang Liu
>         Attachments: HDFS-9259.000.patch
> We recently found that cross-DC hdfs write could be really slow. Further investigation
identified that is due to SendBufferSize and ReceiveBufferSize used for hdfs write. The test
ran "hadoop -fs -copyFromLocal" of a 256MB file across DC with different SendBufferSize and
ReceiveBufferSize values. The results showed that c much faster than b; b is faster than a.
> a. SendBufferSize=128k, ReceiveBufferSize=128k (hdfs default setting).
> b. SendBufferSize=128K, ReceiveBufferSize=not set(TCP auto tuning).
> c. SendBufferSize=not set, ReceiveBufferSize=not set(TCP auto tuning for both)
> HDFS-8829 has enabled scenario b. We would like to enable scenario c by making SendBufferSize
configurable at DFSClient side. Cc: [~cmccabe] [~He Tianyi] [~kanaka] [~vinayrpet].

This message was sent by Atlassian JIRA

View raw message