Skip to content

Conversation

@saibulusu
Copy link
Member

@saibulusu saibulusu commented Apr 23, 2024

Adding Job File support to the FIOExecutor class. Created a profile PERF-IO-FIO-OLTP to expose this feature. Tested on linux-x64, linux-arm64, windows-x64 VMs.

@saibulusu saibulusu changed the title Removing dependency from FioExecutor on DiskWorkloadExecutor. FIO Job File support Apr 23, 2024
@yangpanMS
Copy link
Contributor

Could we include unit test for the fio job file parsing?

@saibulusu
Copy link
Member Author

saibulusu commented Apr 26, 2024

Could we include unit test for the fio job file parsing?

I have added some unit tests now.

@saibulusu
Copy link
Member Author

saibulusu commented Apr 27, 2024

The FioExecutor currently appends --ioengine & --filename to the command for the command line approach. I think it would make sense to keep the same in the job file approach, so I think we should expect the template job file that is provided to exclude the ioengine & file path parameters.

EDIT: I was able to confirm again that if a parameter is provided in both the command line & the job file, then the value provided in the job file will take precedence. So it should not break if the parameter is provided in both.

@saibulusu saibulusu merged commit 1d6e010 into main May 1, 2024
@saibulusu saibulusu deleted the users/saibulusu/fio-job-file-support branch May 1, 2024 15:37
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

Successfully merging this pull request may close these issues.

4 participants