fio 測試範例
# This job file tries to mimic the Intel IOMeter File Server Access Pattern
[global]
description=Emulation of Intel IOmeter File Server Access Pattern
[iometer]
bssplit=512/10:1k/5:2k/5:4k/60:8k/2:16k/4:32k/4:64k/10
filename=PhysicalDrive1:PhysicalDrive2:PhysicalDrive3
size=1G
rw=randrw
#set read 50% write 50%
rwmixread=50
direct=1
runtime=60
# IOMeter defines the server loads as the following:
# iodepth=1 Linear
# iodepth=4 Very Light
# iodepth=8 Light
# iodepth=64 Moderate
# iodepth=256 Heavy
iodepth=64
修改filename 及 size
其他參數視需要修改
以上存為 test.fio
執行fio test.fio
用shell 重複執行
#/bin/bash
rm /tmp/fio_test_log
while :
do
fio test.fio -output=/tmp/iolog
cat /tmp/iolog >> /tmp/fio_test_log
done
http://benjr.tw/93666
沒有留言:
張貼留言