DataXceiver client should use TCP_NODELAY -----------------------------------------
Key: HDFS-1037 URL: https://issues.apache.org/jira/browse/HDFS-1037 Project: Hadoop HDFS Issue Type: Improvement Components: hdfs client Affects Versions: 0.22.0 Reporter: Todd Lipcon When the BlockReader connects to the DataXceiver and sends OP_READ_BLOCK, it doesn't set TCP_NODELAY to true first. This means that the OS will wait some number of ms to try to bundle further writes into the same TCP packet. Since we are only writing a small amount, and we already use a buffer, we can safely turn on NODELAY to avoid the nagling delay, potentially improving random read performance. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.