Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

storage: flip the default for kv.raft.log.sync #15245

Closed
petermattis opened this issue Apr 21, 2017 · 1 comment
Closed

storage: flip the default for kv.raft.log.sync #15245

petermattis opened this issue Apr 21, 2017 · 1 comment
Assignees
Milestone

Comments

@petermattis
Copy link
Collaborator

  1. Quantify the slow down for enable syncing of the Raft log.
  2. Flip the default from false to true.
@petermattis petermattis added this to the 1.0 milestone Apr 21, 2017
@petermattis petermattis self-assigned this Apr 21, 2017
@petermattis
Copy link
Collaborator Author

kv.raft.log.sync.enabled=false:

95% reads:
_elapsed___errors____________ops___ops/sec(cum)__p95(ms)__p99(ms)_pMax(ms)
  600.0s        0       28084309        46804.9     14.7     39.8    218.1

0% reads:
_elapsed___errors____________ops___ops/sec(cum)__p95(ms)__p99(ms)_pMax(ms)
  600.0s        0       11005957        18342.8     39.8     71.3    385.9

kv.raft.log.sync.enabled=true:

95% reads:
_elapsed___errors____________ops___ops/sec(cum)__p95(ms)__p99(ms)_pMax(ms)
  600.0s        0       26518608        44194.0     17.8     41.9    218.1

0% reads:
_elapsed___errors____________ops___ops/sec(cum)__p95(ms)__p99(ms)_pMax(ms)
  600.0s        0        6761876        11269.5     44.0     79.7    604.0

There is a 40% performance hit on the write-only workload. Interestingly, idle CPU was decently high when kv.raft.log.sync.enabled=true on that workload.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant