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

Arpit Agarwal commented on HADOOP-8069:
---------------------------------------

It makes a lot of sense to enable TCP_NODELAY by default. Any thoughts on 
moving forward with Todd's patch? I'd be +1 on changing the defaults while 
leaving the setting documented.



> 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 was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to