Python Scripts: set longer rwa test
This commit is contained in:
parent
96bcb72a36
commit
dae37954b3
1 changed files with 2 additions and 2 deletions
|
@ -121,7 +121,7 @@ def fill_random(device, log_file):
|
|||
print("Random data write complete.")
|
||||
|
||||
|
||||
def run_fio(device, rw_mode, log_file, bs="4k", runtime=30):
|
||||
def run_fio(device, rw_mode, log_file, bs="4k", runtime=60):
|
||||
print(f"Running fio test: {rw_mode}")
|
||||
cmd = (
|
||||
f"sudo fio --name={rw_mode}_test "
|
||||
|
@ -163,7 +163,7 @@ def main():
|
|||
run_fio(device, "read", log_file)
|
||||
run_fio(device, "randread", log_file)
|
||||
run_fio(device, "randwrite", log_file)
|
||||
run_fio(device, "randread", log_file, bs="512", runtime=10) # IOPS test
|
||||
run_fio(device, "randread", log_file, bs="512", runtime=30) # IOPS test
|
||||
|
||||
print(f"\nTest completed. Results saved to {log_filename}")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue