You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by mb...@apache.org on 2012/10/03 14:50:53 UTC
svn commit: r1393467 -
/hbase/branches/0.89-fb/src/main/java/org/apache/hadoop/hbase/ipc/HBaseServer.java
Author: mbautin
Date: Wed Oct 3 12:50:52 2012
New Revision: 1393467
URL: http://svn.apache.org/viewvc?rev=1393467&view=rev
Log:
[HBASE-6925] Change socket write size from 8K to 64K for HBaseServer
Author: kranganathan
Summary: Changing this seems to improve scan perf by 25% (37% with prefetching enabled).
Test Plan: Tested by running server with this limit. Will run unit tests as well.
Reviewers: kannan, aaiyer
Reviewed By: kannan
CC: hbase-eng@
Differential Revision: https://phabricator.fb.com/D590312
Modified:
hbase/branches/0.89-fb/src/main/java/org/apache/hadoop/hbase/ipc/HBaseServer.java
Modified: hbase/branches/0.89-fb/src/main/java/org/apache/hadoop/hbase/ipc/HBaseServer.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.89-fb/src/main/java/org/apache/hadoop/hbase/ipc/HBaseServer.java?rev=1393467&r1=1393466&r2=1393467&view=diff
==============================================================================
--- hbase/branches/0.89-fb/src/main/java/org/apache/hadoop/hbase/ipc/HBaseServer.java (original)
+++ hbase/branches/0.89-fb/src/main/java/org/apache/hadoop/hbase/ipc/HBaseServer.java Wed Oct 3 12:50:52 2012
@@ -1492,7 +1492,7 @@ public abstract class HBaseServer {
* done in chunks of this size. Most RPC requests and responses would be
* be smaller.
*/
- private static int NIO_BUFFER_LIMIT = 8*1024; //should not be more than 64KB.
+ private static int NIO_BUFFER_LIMIT = 64*1024; //should not be more than 64KB.
/**
* This is a wrapper around {@link WritableByteChannel#write(ByteBuffer)}.