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
f"Directory {out_dir} already exists, please give a non-existent directory."
64
+
)
61
65
out_dir.mkdir()
62
66
tuning_out_dir=out_dir/"tuning"
63
67
tuning_out_dir.mkdir()
@@ -69,6 +73,7 @@ def parse_options():
69
73
parser=argparse.ArgumentParser(
70
74
prog="hwbench",
71
75
description="Criteo Hardware Benchmarking tool",
76
+
epilog="Note that hwbench needs to run as root, for many reasons: system-wide tuning, local IPMI link to the BMC, x86 performance with turbostat, devices access with fio, etc.",
72
77
)
73
78
parser.add_argument(
74
79
"-j",
@@ -81,6 +86,17 @@ def parse_options():
81
86
"--monitoring-config",
82
87
help="Specify the file containing the credentials to monitor the BMC",
83
88
)
89
+
parser.add_argument(
90
+
"-o",
91
+
"--output-directory",
92
+
help="Specify the directory used to put all results and collected information",
93
+
)
94
+
parser.add_argument(
95
+
"--tuning",
96
+
action=argparse.BooleanOptionalAction,
97
+
default=True,
98
+
help="Enable or disable tuning: this is useful when you want to test the system as-is.",
0 commit comments