zvfs: fio file

This commit is contained in:
2026-03-02 08:31:01 +00:00
parent f82e089325
commit 321212826b
8 changed files with 704 additions and 778 deletions

14
fio/sample.fio Normal file
View File

@@ -0,0 +1,14 @@
[global]
ioengine=sync # 同步 I/O
direct=0 # 使用内核页缓存,测试系统调用性能
bs=128k # 块大小
size=1G # 每个文件大小
numjobs=2 # 并发线程数
runtime=60 # 测试运行时间,秒
time_based=1
rw=randrw # 随机读写
rwmixread=70 # 70% 读30% 写
group_reporting=1 # 汇总报告
[test_syscall]
filename=/tmp/fio_sample_testfile