请问下各位老师,需要在物理机上绑核做性能测试,有相应的操作步骤嘛?
看机器架构 epyc 有2个物理cpu 你就部署2套tikv上去 一个绑定核心0 一个绑定核心1
我给你弄一份我在用的绑定核心的yaml。我们机器也是双路的intelcpu
好的,多谢,请问下只需要在tidb 部署的yaml文件中指定相应组件绑定哪个numa 就行了嘛?
pd:
replication.enable-placement-rules: true
replication.location-labels: [“host”]
pd_servers:
- host: 10.108.33.132
- host: 10.108.33.133
- host: 10.108.33.134
tidb_servers:
- host: 10.108.33.130
- host: 10.108.33.131
- host: 10.108.33.138
- host: 10.108.33.139
- host: 10.108.33.140
- host: 10.108.33.141
tikv_servers:
- host: 10.108.33.1
port: 20160
status_port: 20180
deploy_dir: “/data1/tidb-deploy/tikv-20160”
data_dir: “/data1/tikv-20160”
log_dir: “/data4/tidb-deploy/tikv-20160/log”
numa_node: “0”
config:
server.labels: { host: “tikv1” } - host: 10.108.33.1
port: 20161
status_port: 20181
deploy_dir: “/data2/tidb-deploy/tikv-20161”
data_dir: “/data2/tikv-20161”
log_dir: “/data4/tidb-deploy/tikv-20161/log”
numa_node: “1”
config:
server.labels: { host: “tikv1” } - host: 10.108.33.2
port: 20160
status_port: 20180
deploy_dir: “/data1/tidb-deploy/tikv-20160”
data_dir: “/data1/tidb-data/tikv-20160”
log_dir: “/data4/tidb-deploy/tikv-20160/log”
numa_node: “0”
config:
server.labels: { host: “tikv2” }
pd需要配置
pd:
replication.enable-placement-rules: true
replication.location-labels: [“host”]
然后按照规则写就行
很智能
多谢兄台,感谢
多谢,这篇文章很有价值
此话题已在最后回复的 1 分钟后被自动关闭。不再允许新回复。