Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What fio commands are being used? #130

Open
ZaxLofful opened this issue Sep 20, 2023 · 3 comments
Open

What fio commands are being used? #130

ZaxLofful opened this issue Sep 20, 2023 · 3 comments

Comments

@ZaxLofful
Copy link

There isn't a discussion section on this repo, so I just had to ask in a issue.

Wanted to know what command is being used for these tests?

I am trying to re0plciate the same test at the CLI for testing ZFS pools, but cannot get anywhere near the same speeds (even on the same host as with your product) and I am not sure what I am missing...

@igorpupkinable
Copy link

igorpupkinable commented Sep 20, 2023

Can #119 help?
or this?

@igorpupkinable
Copy link

There are two fio calls in this program. Here to prepare the file and here to run the test.

@igorpupkinable
Copy link

igorpupkinable commented Sep 22, 2023

Basically it calls the following with default settings:

fio
  --output-format=json
  --create_only=1
  --filename=/location/to/test/KDM_20230922093345.txt
  --size=1024m
  --zero_buffers=0
  --name=prepare

fio
  --output-format=json
  --ioengine=libaio
  --randrepeat=0
  --refill_buffers
  --end_fsync=1
  --direct=1
  --rwmixread=70
  --filename=/location/to/test/KDM_20230922093345.txt (matches filename option in the first command)
  --name=read/write/rw/randread/randwrite/randrw (value depends on the specific test)
  --size=1024m (matches size option in the first command)
  --zero_buffers=0
  --bs=1m/4k (value depends on the test, but generally block size is 1MB for sequential test and 4KB for random test)
  --runtime=5
  --rw=read/write/rw/randread/randwrite/randrw (matches name option)
  --iodepth=8/1/32/1 (value depends on the specific test)
  --numjobs=1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants