pingcap / pingcap/docs-cn

性能调优参数不准确

Open
#6,193 1 comment 0 reactions 1 assignee View on GitHub

@shuke987 is already working on this.

Since Apr 29, 2021.

area/engine type/bugfix
Dominant language
Python
Stars
1.8k
Forks
1.2k
Avg merge
1d 16h
Merged PRs (30d)
31

Description

File: /benchmark/benchmark-tidb-using-sysbench.md
如何用 Sysbench 测试 TiDB 中TiKV 配置:
以 40 GB 内存的虚拟机部署一个 TiKV 为例,其 block cache 建议配置如下:

server_configs:
tikv:
log-level: "error"
rocksdb.defaultcf.block-cache-size: "24GB"
rocksdb.writecf.block-cache-size: "6GB"

而在所指向的TiKV 内存参数性能调优 中指出

rocksdb.defaultcf.block-cache-size 或系统全部内存的 25%
rocksdb.writecf.block-cache-size 或系统全部内存的 15%

与前文描述不相符。

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.