mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
fstests: add fio perf results support
This patch does the nuts and bolts of grabbing fio results and storing them in a database in order to check against for future runs. This works by storing the results in resuts/fio-results.db as a sqlite database. The src/perf directory has all the supporting python code for parsing the fio json results, storing it in the database, and loading previous results from the database to compare with the current results. This also adds a PERF_CONFIGNAME option that must be set for this to work. Since we all have various ways we run fstests it doesn't make sense to compare different configurations with each other (unless specifically desired). The PERF_CONFIGNAME will allow us to separate out results for different test run configurations to make sure we're comparing results correctly. Currently we only check against the last perf result. In the future I will flesh this out to compare against the average of N number of runs to be a little more complete, and hopefully that will allow us to also watch latencies as well. [eguan: add required Makefile updates] Signed-off-by: Josef Bacik <jbacik@fb.com> Reviewed-by: Eryu Guan <eguan@redhat.com> Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
@@ -197,6 +197,8 @@ export NFS4_SETFACL_PROG="`set_prog_path nfs4_setfacl`"
|
||||
export NFS4_GETFACL_PROG="`set_prog_path nfs4_getfacl`"
|
||||
export UBIUPDATEVOL_PROG="`set_prog_path ubiupdatevol`"
|
||||
export THIN_CHECK_PROG="$(set_prog_path thin_check)"
|
||||
export PYTHON2_PROG="`set_prog_path python2`"
|
||||
export SQLITE3_PROG="`set_prog_path sqlite3`"
|
||||
|
||||
# use 'udevadm settle' or 'udevsettle' to wait for lv to be settled.
|
||||
# newer systems have udevadm command but older systems like RHEL5 don't.
|
||||
|
||||
Reference in New Issue
Block a user