This is an automated email from the ASF dual-hosted git repository.
andor pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/zookeeper.git
The following commit(s) were added to refs/heads/master by this push:
new f7bdab0 ZOOKEEPER-3382: Update Documentation: If you only have one
storage device
f7bdab0 is described below
commit f7bdab002aa01677145654f8a1f93a45969d22cd
Author: Beluga Behr <[email protected]>
AuthorDate: Wed May 29 17:14:34 2019 +0200
ZOOKEEPER-3382: Update Documentation: If you only have one storage device
Author: Beluga Behr <[email protected]>
Reviewers: [email protected]
Closes #935 from BELUGABEHR/ZOOKEEPER-3382
---
zookeeper-docs/src/main/resources/markdown/zookeeperAdmin.md | 5 +++--
zookeeper-docs/src/main/resources/markdown/zookeeperProgrammers.md | 7 ++++---
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/zookeeper-docs/src/main/resources/markdown/zookeeperAdmin.md
b/zookeeper-docs/src/main/resources/markdown/zookeeperAdmin.md
index ceb0e20..9e51fdd 100644
--- a/zookeeper-docs/src/main/resources/markdown/zookeeperAdmin.md
+++ b/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
diff --git a/zookeeper-docs/src/main/resources/markdown/zookeeperProgrammers.md
b/zookeeper-docs/src/main/resources/markdown/zookeeperProgrammers.md
index f819ced..bdf3932 100644
--- a/zookeeper-docs/src/main/resources/markdown/zookeeperProgrammers.md
+++ b/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