add buffer size comments
patch by Marcus Eriksson for CASSANDRA-5291

Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/02ea439a
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/02ea439a
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/02ea439a

Branch: refs/heads/cassandra-1.2
Commit: 02ea439a4356558654a837f420cf62af0b8f3bc4
Parents: 88b9d95
Author: Jonathan Ellis <jbel...@apache.org>
Authored: Tue Feb 26 09:49:22 2013 -0600
Committer: Jonathan Ellis <jbel...@apache.org>
Committed: Tue Feb 26 09:49:22 2013 -0600

----------------------------------------------------------------------
 conf/cassandra.yaml |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/02ea439a/conf/cassandra.yaml
----------------------------------------------------------------------
diff --git a/conf/cassandra.yaml b/conf/cassandra.yaml
index 8e910d8..6d0528a 100644
--- a/conf/cassandra.yaml
+++ b/conf/cassandra.yaml
@@ -389,7 +389,15 @@ rpc_server_type: sync
 # rpc_send_buff_size_in_bytes:
 # rpc_recv_buff_size_in_bytes:
 
-# uncomment to set socket buffer size for internode communication
+# Uncomment to set socket buffer size for internode communication
+# Note that when setting this, the buffer size is limited by net.core.wmem_max
+# and when not setting it it is defined by net.ipv4.tcp_wmem
+# See:
+# /proc/sys/net/core/wmem_max
+# /proc/sys/net/core/rmem_max
+# /proc/sys/net/ipv4/tcp_wmem
+# /proc/sys/net/ipv4/tcp_wmem
+# and: man tcp
 # internode_send_buff_size_in_bytes:
 # internode_recv_buff_size_in_bytes:
 

Reply via email to