Repository: kafka
Updated Branches:
  refs/heads/trunk 98928f7ad -> 0e1c012fb


KAFKA-3683; Add file descriptor recommendation to ops guide

Adding sizing recommendations for file descriptors to the ops guide.

Author: Dustin Cote <[email protected]>
Author: Dustin Cote <[email protected]>

Reviewers: Gwen Shapira

Closes #1353 from cotedm/KAFKA-3683 and squashes the following commits:

8120318 [Dustin Cote] Adding file descriptor sizing recommendations
0908aa9 [Dustin Cote] Merge https://github.com/apache/kafka into trunk
32315e4 [Dustin Cote] Merge branch 'trunk' of https://github.com/cotedm/kafka 
into trunk
13309ed [Dustin Cote] Update links for new consumer API
4dcffc1 [Dustin Cote] Update links for new consumer API


Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/0e1c012f
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/0e1c012f
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/0e1c012f

Branch: refs/heads/trunk
Commit: 0e1c012fb551f32cf27b6b7367749047c374ee97
Parents: 98928f7
Author: Dustin Cote <[email protected]>
Authored: Tue May 24 17:26:54 2016 -0700
Committer: Gwen Shapira <[email protected]>
Committed: Tue May 24 17:26:54 2016 -0700

----------------------------------------------------------------------
 docs/ops.html | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/0e1c012f/docs/ops.html
----------------------------------------------------------------------
diff --git a/docs/ops.html b/docs/ops.html
index faf5453..7413129 100644
--- a/docs/ops.html
+++ b/docs/ops.html
@@ -468,13 +468,12 @@ Kafka should run well on any unix system and has been 
tested on Linux and Solari
 <p>
 We have seen a few issues running on Windows and Windows is not currently a 
well supported platform though we would be happy to change that.
 <p>
-You likely don't need to do much OS-level tuning though there are a few things 
that will help performance.
-<p>
-Two configurations that may be important:
+It is unlikely to require much OS-level tuning, but there are two potentially 
important OS-level configurations:
 <ul>
-    <li>We upped the number of file descriptors since we have lots of topics 
and lots of connections.
-    <li>We upped the max socket buffer size to enable high-performance data 
transfer between data centers <a 
href="http://www.psc.edu/index.php/networking/641-tcp-tune";>described here</a>.
+    <li>File descriptor limits: Kafka uses file descriptors for log segments 
and open connections.  If a broker hosts many partitions, consider that the 
broker needs at least (number_of_partitions)*(partition_size/segment_size) to 
track all log segments in addition to the number of connections the broker 
makes.  We recommend at least 100000 allowed file descriptors for the broker 
processes as a starting point.
+    <li>Max socket buffer size: can be increased to enable high-performance 
data transfer between data centers as <a 
href="http://www.psc.edu/index.php/networking/641-tcp-tune";>described here</a>.
 </ul>
+<p>
 
 <h4><a id="diskandfs" href="#diskandfs">Disks and Filesystem</a></h4>
 We recommend using multiple drives to get good throughput and not sharing the 
same drives used for Kafka data with application logs or other OS filesystem 
activity to ensure good latency. You can either RAID these drives together into 
a single volume or format and mount each drive as its own directory. Since 
Kafka has replication the redundancy provided by RAID can also be provided at 
the application level. This choice has several tradeoffs.

Reply via email to