Skip to content
Commit 9c4054be authored by Christian Loehle's avatar Christian Loehle
Browse files

lisa.wlgen.fio: Introduce Fio as Workload



Fio is a highly-configurable I/O tester used by the block layer for testing
and as a general benchmark tool for storage. Even for scheduler investigations
Fio is interesting as in_iowait-setting tasks are treated differently.
To be able to create tests for them we introduce a simplistic lisa frontend.

Fio Workloads can now be created like:

ftest = Fio(target, filename="/dev/nvme0n1", name="test", rw="randread", runtime=50, bs='4k')
and then ran like any other:

with ftest:
    result = fiotestmmc.run()
    print(result.read_iops)

Signed-off-by: Christian Loehle's avatarChristian Loehle <christian.loehle@arm.com>
parent 627de711
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment