Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 81253 invoked from network); 8 Feb 2011 05:48:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Feb 2011 05:48:24 -0000 Received: (qmail 83093 invoked by uid 500); 8 Feb 2011 05:48:24 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 82571 invoked by uid 500); 8 Feb 2011 05:48:21 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 82552 invoked by uid 99); 8 Feb 2011 05:48:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Feb 2011 05:48:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Feb 2011 05:48:18 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C35E2199526 for ; Tue, 8 Feb 2011 05:47:57 +0000 (UTC) Date: Tue, 8 Feb 2011 05:47:57 +0000 (UTC) From: "Tsz Wo (Nicholas), SZE (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <241307792.1761.1297144077796.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <16003846.232561296107624313.JavaMail.jira@thor> Subject: [jira] Commented: (HDFS-1601) Pipeline ACKs are sent as lots of tiny TCP packets MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HDFS-1601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12991808#comment-12991808 ] Tsz Wo (Nicholas), SZE commented on HDFS-1601: ---------------------------------------------- Hi Todd, using two {{BufferedOutputStream}}s does not sound right. I think the problem may be in SMALL_BUFFER_SIZE. Do you know what value was it in your test? > Pipeline ACKs are sent as lots of tiny TCP packets > -------------------------------------------------- > > Key: HDFS-1601 > URL: https://issues.apache.org/jira/browse/HDFS-1601 > Project: Hadoop HDFS > Issue Type: Improvement > Components: data-node > Affects Versions: 0.22.0 > Reporter: Todd Lipcon > Assignee: Todd Lipcon > Fix For: 0.22.0 > > Attachments: hdfs-1601.txt > > > I noticed in an hbase benchmark that the packet counts in my network monitoring seemed high, so took a short pcap trace and found that each pipeline ACK was being sent as five packets, the first four of which only contain one byte. We should buffer these bytes and send the PipelineAck as one TCP packet. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira