0
我嘗試使用原始磁盤(無FS)在Linux計算機上執行FIO測試。下面是我的配置文件:FIO測試中的錯誤文件描述符錯誤
[global]
direct=1
invalidate=1
ramp_time=30
group_reporting
size=1g
percentile_list=99.999000:99.999990:90.000000:50.000000:99.999900:99.999999:99.000000:99.990000
ioengine=libaio
time_based
runtime=30
rwmixread=72
rw=randrw
filename=/dev/xvdb:/dev/xvdc:/dev/xvdd:/dev/xvde
[readwrite-128k-iodepth-1]
bs=128k
iodepth=1
write_bw_log=128k-iodepth-1.results
write_iops_log=128k-iodepth-1.results
[readwrite-128k-iodepth-2]
bs=128k
iodepth=2
write_bw_log=128k-iodepth-2.results
write_iops_log=128k-iodepth-2.results
[readwrite-128k-iodepth-4]
bs=128k
iodepth=4
write_bw_log=128k-iodepth-4.results
write_iops_log=128k-iodepth-4.results
[readwrite-128k-iodepth-8]
bs=128k
iodepth=8
write_bw_log=128k-iodepth-8.results
write_iops_log=128k-iodepth-8.results
[readwrite-256k-iodepth-1]
bs=256k
iodepth=1
write_bw_log=256-iodepth-8.results
write_iops_log=256-iodepth-8.results
[readwrite-256k-iodepth-2]
bs=256k
iodepth=2
write_bw_log=256-iodepth-8.results
write_iops_log=256-iodepth-8.results
[readwrite-256k-iodepth-4]
bs=256k
iodepth=4
write_bw_log=256-iodepth-8.results
write_iops_log=256-iodepth-8.results
[readwrite-256k-iodepth-8]
bs=256k
iodepth=8
write_bw_log=256-iodepth-8.results
write_iops_log=256-iodepth-8.results
當我運行這個配置,如:
fio ./fio.cfg --output=fio.out
我收到:
file:filesetup.c:288, func=blockdev_size, error=Bad file descriptor
所以我想這是一個微小的細節我跳過,但它的第一次我運行FIO測試,所以不知道它可能是什麼。所以任何評論將不勝感激。
好奇。根據HOWTO,整數後綴不應該區分大小寫。 – Anon