fio_windows.cfg 1019 字节
Newer Older
1 2 3
- fio_windows:
    type = fio_windows
    only Windows
P
peixiu 已提交
4 5 6 7 8 9 10 11 12 13
    images += " disk1"
    image_name_disk1 = images/storage
    image_size_disk1 = 2G
    remove_image_disk1 = yes
    force_create_image_disk1 = yes
    disk_index = 1
    disk_letter = I
    fio_file_name = "C\:\\fio_system_disk_test I\:\\fio_data_disk_test"
    fio_log_file = "C:\fio_log_sys.txt C:\fio_log_data.txt"
    cmd_timeout = 300
14
    i386, i686:
S
Suqin Huang 已提交
15 16
        install_path = "C:\Program Files\fio"
        install_cmd = 'msiexec /a DRIVE:\fio-x86.msi /qn TARGETDIR="${install_path}"'
17
    x86_64:
S
Suqin Huang 已提交
18 19 20
        install_path = "C:\Program Files (x86)\fio"
        install_cmd = 'msiexec /a DRIVE:\fio-x64.msi /qn TARGETDIR="${install_path}"'
    #config_cmd = 'setx -m path "%PATH%;${install_path}\fio;"'
P
peixiu 已提交
21 22 23
    fio_cmd = '"${install_path}\fio\fio.exe" --rw=randrw --bs=4k --iodepth=4 --direct=1'
    fio_cmd += ' --filename=%s --name=fiotest_%s --ioengine=windowsaio --thread --group_reporting'
    fio_cmd += ' --numjobs=4 --size=1G --runtime=${cmd_timeout} > %s'
S
Suqin Huang 已提交
24