# 顺序写

+ 磁盘带宽
  + 使用 fio 工具对磁盘的带宽进行压力测试
    + Block 大小 256K
    + 压力测试模式：顺序写  (TiKV 服务器建议: ≥ 1GB 带宽)

```12
$ fio -ioengine=psync ~!@-bs=256k@!~ -fdatasync=1 \
  -thread ~!@-rw=write@!~ -size=10G \
  -filename=fio_bandwidth_test.txt -name='fio disk bandwidth test' -iodepth=4 \
  -runtime=60 -numjobs=4 -group_reporting --output-format=json \
  --output=fio_bandwidth_test.json
```

------------------------------------------------------------

./fio -ioengine=psync -bs=256k -fdatasync=1 -thread -rw=write -size=10G -filename=fio_bandwidth_test.txt -name='fio disk bandwidth test' -iodepth=4 -runtime=60 -numjobs=4 -group_reporting --output-format=json --output=fio_bandwidth_test.json
