We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d21b505 commit 5c9158bCopy full SHA for 5c9158b
tests/storage/benchmarks/test_disk_perf.py
@@ -17,6 +17,7 @@
17
DEFAULT_SIZE = "1G"
18
DEFAULT_BS = "4k"
19
DEFAULT_IODEPTH = 1
20
+DEFAULT_NUMJOBS = 1
21
DEFAULT_FILE = "fio-testfile"
22
23
### Tests parameters
@@ -43,6 +44,7 @@ def run_fio(
43
44
bs=DEFAULT_BS,
45
iodepth=DEFAULT_IODEPTH,
46
size=DEFAULT_SIZE,
47
+ numjobs=DEFAULT_NUMJOBS,
48
file_path="",
49
):
50
json_output_path = os.path.join(temp_dir, f"{test_name}.json")
@@ -60,7 +62,7 @@ def run_fio(
60
62
"--direct=1",
61
63
"--end_fsync=1",
64
"--fsync_on_close=1",
- "--numjobs=1",
65
+ f"--numjobs={numjobs}",
66
"--group_reporting",
67
"--output-format=json",
68
f"--output={json_output_path}"
0 commit comments