Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3D45C972B for ; Thu, 16 Feb 2012 00:25:27 +0000 (UTC) Received: (qmail 6798 invoked by uid 500); 16 Feb 2012 00:25:27 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 6758 invoked by uid 500); 16 Feb 2012 00:25:27 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 6749 invoked by uid 99); 16 Feb 2012 00:25:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Feb 2012 00:25:26 +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; Thu, 16 Feb 2012 00:25:21 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6120F1B94DF for ; Thu, 16 Feb 2012 00:25:00 +0000 (UTC) Date: Thu, 16 Feb 2012 00:25:00 +0000 (UTC) From: "Todd Lipcon (Commented) (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <2010530855.43938.1329351900399.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1961396596.35213.1329192779746.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HADOOP-8069) Enable TCP_NODELAY by default for IPC 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/HADOOP-8069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13209012#comment-13209012 ] Todd Lipcon commented on HADOOP-8069: ------------------------------------- Hi Daryn. Your above descriptions sound right, except the nagle delay on Linux is 40ms rather than 200 (I think the dack delay is 200 though like you said). I hacked up something like my #4 yesterday morning but didn't really like the way I did it so I threw it away. I'll try again soon :) > Enable TCP_NODELAY by default for IPC > ------------------------------------- > > Key: HADOOP-8069 > URL: https://issues.apache.org/jira/browse/HADOOP-8069 > Project: Hadoop Common > Issue Type: Improvement > Components: ipc > Affects Versions: 0.23.0 > Reporter: Todd Lipcon > Assignee: Todd Lipcon > Attachments: hadoop-8069.txt > > > I think we should switch the default for the IPC client and server NODELAY options to true. As wikipedia says: > {quote} > In general, since Nagle's algorithm is only a defense against careless applications, it will not benefit a carefully written application that takes proper care of buffering; the algorithm has either no effect, or negative effect on the application. > {quote} > Since our IPC layer is well contained and does its own buffering, we shouldn't be careless. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira