You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please acknowledge the following before creating a ticket
I have read the GitHub issues section of REPORTING-BUGS.
Description of the bug:
I have simultaneously set the openfiles and nr_files parameters. Compared to only setting nr_files, I noticed a significant performance decline. Additionally, I found that this situation only occurs when nr_files is greater than twice the value of openfiles.
I notice that the main difference is IO depths in fio report. In the second fio test, one half of IO depths is 1 or 2, but in the first fio test, the IO depths is almost 32.
The text was updated successfully, but these errors were encountered:
When you limit the number of files open at one time with openfiles fio has to do additional work to close and re-open files. So it's not surprising that performance is worse.
Note that you have an identification problem in your comparison above. We can't tell if the performance difference is due to nrfiles or openfiles because between the two jobs you alter both variables. In order to have better evidence of an effect due to openfiles you should set nrfiles in both jobs to 4.
You can also try running with --debug=file and compare the output between the two jobs to gain some insight into what is happening. Try making the job as small as possible as this may produce a lot of output. You may also wish to try --debug=file,io.
Please acknowledge the following before creating a ticket
Description of the bug:
I have simultaneously set the
openfiles
andnr_files
parameters. Compared to only settingnr_files
, I noticed a significant performance decline. Additionally, I found that this situation only occurs whennr_files
is greater than twice the value ofopenfiles
.Environment: Debian GNU/Linux 10
fio version: fio-3.35
Reproduction steps
I use libaio engine and set
nr_files = 2
firstly,then, I set
nr_files=4
andopenfiles=2
, the performance decreases significantlythe result as below.
I notice that the main difference is
IO depths
in fio report. In the second fio test, one half ofIO depths
is 1 or 2, but in the first fio test, theIO depths
is almost 32.The text was updated successfully, but these errors were encountered: