tcpnodelay is false by default; it should be true?
--------------------------------------------------

                 Key: HBASE-2125
                 URL: https://issues.apache.org/jira/browse/HBASE-2125
             Project: Hadoop HBase
          Issue Type: Bug
            Reporter: stack


Up on IRC, nagles algo came up.  Thought was that it should be off by default 
in our RPC only we'd need to check that nodelay didn't do damage:

{code}
22:16 < javarants1> appears to be enabled unless you set it in the config
22:16 < dj_ryan> good good
22:16 < javarants1> probably want to set hbase.ipc.client.tcpnodelay and 
ipc.server.tcpnodelay to true and test that
...
22:27 < St^Ack> So, lads, tcpnodelay should be TRUE on client and server by 
default rather than as they currently are, false?  If so, I should get this 
change into 0.20.3 (I can't repro kannan's hang still)
22:28 < Toad> nodelay true makes sense but you should make sure that you've got 
appropriate buffering then
22:28 < Toad> otherwise you'll get a bajillion packets per second and you'll 
suck throughputwise
22:29 < dj_ryan> we buffer entire rows and whatnot
22:29 < dj_ryan> so shouldnt be a problem i think
22:29 < Toad> yea, worth watching a wireshark though, make sure your packet 
trace looks the same
22:29 < St^Ack> thanks Toad ... then that means punt till 0.21 (smile)
22:29 < St^Ack> not in imminent 0.20.3
22:31 < Toad> yea, I wouldn't switch unless you have time to look it over
{code}


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to