Skip to content

Question About Dependency Conflict Between Size Parameter and Target Type in FIO Testing #1903

Answered by sitsofe
sk93mo asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @sk93mo,

I think the help for the size option explains this:

size=int
[...]
Fio will divide this size between the available files determined by options such as nrfiles, filename, unless filesize is specified by the job.

As you're using numjobs=16 normally each of the 16 jobs is going to create a seperate file of size size but when you set filename all 16 jobs now refer to same single file so a single file of size size will be made. However, in your case filename refers to a block device so no new file needs to be made and I/O will be restricted to the first size region of the existing "file"...

...but be careful! That "single file, multiple jobs" infers that you will be running 16 jo…

Replies: 2 comments 25 replies

Comment options

You must be logged in to vote
1 reply
@sk93mo
Comment options

Answer selected by sk93mo
Comment options

You must be logged in to vote
24 replies
@sitsofe
Comment options

sitsofe May 29, 2025
Collaborator

@sitsofe
Comment options

sitsofe May 29, 2025
Collaborator

@sk93mo
Comment options

@sk93mo
Comment options

@sitsofe
Comment options

sitsofe May 30, 2025
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants