我将实例配置升级至8核64G,tikv节点配置如下
- host: 172.23.8.190
ssh_port: 22
port: 20160
status_port: 20180
deploy_dir: /tidb/deploy/tikv-08
data_dir: /tidb/data/tikv-08
log_dir: /tidb/log/tikv-08
config:
raftdb.max-background-jobs: 12
raftstore.apply-pool-size: 9
raftstore.store-pool-size: 9
raftstore.sync-log: false
readpool.storage.normal-concurrency: 9
readpool.unified.max-thread-count: 16
readpool.unified.min-thread-count: 9
rocksdb.defaultcf.max-write-buffer-number: 12
rocksdb.defaultcf.write-buffer-size: 512MB
rocksdb.max-background-jobs: 8
rocksdb.writecf.max-write-buffer-number: 12
rocksdb.writecf.write-buffer-size: 512MB
server.grpc-concurrency: 8
storage.block-cache.capacity: 36GB
arch: amd64
业务单线程写入场景下
tikv节点现象
磁盘iops始终只有1500,写延时在1s没有变化,节点内存使用率不高
节点监控:
tikv blockcache监控