tidb测试环境搭建
作者:互联网
基于tidb2.0版本需要调整的参数
[tidb@ansible01 tidb-ansible]$ vim ./roles/machine_benchmark/defaults/main.yml
---
fio_deploy_dir: "{{ tikv_data_dir }}/fio"
# fio randread iops
min_ssd_randread_iops: 400
# fio mixed randread and sequential write
min_ssd_mix_randread_iops: 100
min_ssd_mix_write_iops: 100
# fio mixed randread and sequential write lat
max_ssd_mix_randread_lat: 2500000
max_ssd_mix_write_lat: 300000
# fio test file size
benchmark_size: 10G
[tidb@ansible01 tidb-ansible]$ vim ./roles/machine_benchmark/defaults/main.yml
---
fio_deploy_dir: "{{ tikv_data_dir }}/fio"
# fio randread iops
min_ssd_randread_iops: 400
# fio mixed randread and sequential write
min_ssd_mix_randread_iops: 100
min_ssd_mix_write_iops: 100
# fio mixed randread and sequential write lat
max_ssd_mix_randread_lat: 250
max_ssd_mix_write_lat: 300
# fio test file size
benchmark_size: 10G
标签:randread,write,mix,iops,tidb,ssd,fio,测试环境,搭建 来源: https://www.cnblogs.com/ijia/p/11235030.html