瀏覽代碼

ZOOKEEPER-3382: Update Documentation: If you only have one storage device

Author: Beluga Behr <dam6923@gmail.com>

Reviewers: andor@apache.org

Closes #935 from BELUGABEHR/ZOOKEEPER-3382
Beluga Behr 6 年之前
父節點
當前提交
f7bdab002a

+ 3 - 2
zookeeper-docs/src/main/resources/markdown/zookeeperAdmin.md

@@ -1880,8 +1880,9 @@ ZooKeeper correctly:
     returns a response. A dedicated transaction log device is key to
     consistent good performance. Putting the log on a busy device will
     adversely effect performance. If you only have one storage device,
-    put trace files on NFS and increase the snapshotCount; it doesn't
-    eliminate the problem, but it should mitigate it.
+    increase the snapCount so that snapshot files are generated less often;
+    it does not eliminate the problem, but it makes more resources available
+    for the transaction log.
 
 * *incorrect Java heap size* :
     You should take special care to set your Java max heap size

+ 4 - 3
zookeeper-docs/src/main/resources/markdown/zookeeperProgrammers.md

@@ -1487,9 +1487,10 @@ ZooKeeper users fall into:
   ZooKeeper must sync transactions to media before it returns a
   response. A dedicated transaction log device is key to consistent good
   performance. Putting the log on a busy device will adversely effect
-  performance. If you only have one storage device, put trace files on
-  NFS and increase the snapshotCount; it doesn't eliminate the problem,
-  but it can mitigate it.
+  performance. If you only have one storage device,
+  increase the snapCount so that snapshot files are generated less often;
+  it does not eliminate the problem, but it makes more resources available
+  for the transaction log.
 1. Set your Java max heap size correctly. It is very important to
   _avoid swapping._ Going to disk unnecessarily will
   almost certainly degrade your performance unacceptably. Remember, in