TiKV IOPS Testing

This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: tikv iops测试

| username: TiDBer_KkruFifg

[TiDB Usage Environment] Production Environment / Testing / PoC
[TiDB Version]
[Reproduction Path] What operations were performed to encounter the issue
[Encountered Issue: Issue Phenomenon and Impact]
The official disk IOPS test command is as follows, bs=32k

./fio -ioengine=psync -bs=32k -fdatasync=1 -thread -rw=randrw -percentage_random=100,0 -size=10G -filename=fio_randread_write_test.txt -name=‘fio mixed randread and sequential write test’ -iodepth=4 -runtime=60 -numjobs=4 -group_reporting --output-format=json --output=fio_randread_write_test.json

I would like to ask, when TiKV writes data logs and data, is it written in 32k pages like this? Does TiKV use the psync method for writing?
The purpose of understanding this is to better conduct IOPS testing.
Thank you

[Resource Configuration]
[Attachments: Screenshots/Logs/Monitoring]

| username: Min_Chen | Original post link

Yes, this is the closest way to write data to TiKV.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.