wlauto.workloads.iozone package

Module contents

class wlauto.workloads.iozone.Iozone(device, **kwargs)[source]

Bases: wlauto.core.workload.Workload

aliases = AC([])
artifacts = AC([])
core_modules = []
description = '\n Iozone is a filesystem benchmark that runs a series of disk\n I/O performance tests.\n\n Here is a list of tests that you can run in the iozone\n workload. The descriptions are from the official iozone\n document.\n\n 0 - Write Test\n Measure performance of writing a new file. Other\n tests rely on the file written by this, so it must\n always be enabled (WA will automatically neable this\n if not specified).\n\n 1 - Rewrite Test\n Measure performance of writing an existing file.\n\n 2 - Read Test\n Measure performance of reading an existing file.\n\n 3 - Reread Test\n Measure performance of rereading an existing file.\n\n 4 - Random Read Test\n Measure performance of reading a file by accessing\n random locations within the file.\n\n 5 - Random Write Test\n Measure performance of writing a file by accessing\n random locations within the file.\n\n 6 - Backwards Read Test\n Measure performance of reading a file backwards.\n\n 7 - Record Rewrite Test\n Measure performance of writing and rewriting a\n particular spot within the file.\n\n 8 - Strided Read Test\n Measure performance of reading a file with strided\n access behavior.\n\n 9 - Fwrite Test\n Measure performance of writing a file using the\n library function fwrite() that performances\n buffered write operations.\n\n 10 - Frewrite Test\n Measure performance of writing a file using the\n the library function fwrite() that performs\n buffered and blocked write operations.\n\n 11 - Fread Test\n Measure performance of reading a file using the\n library function fread() that performs buffered\n and blocked read operations.\n\n 12 - Freread Test\n Same as the Fread Test except the current file\n being read was read previously sometime in the\n past.\n\n By default, iozone will run all tests in auto mode. To run\n specific tests, they must be written in the form of:\n\n [0,1,4,5]\n\n Please enable classifiers in your agenda or config file\n in order to display the results properly in the results.csv\n file.\n\n The official website for iozone is at www.iozone.org.\n '
finalize(*args, **kwargs)
initialize(*args, **kwargs)
kind = 'workload'
name = 'iozone'
parameters = AC(["Param({'kind': <type 'list'>, 'mandatory': None, 'name': 'modules', 'constraint': None, 'default': None, 'allowed_values': None, 'global_alias': None, 'override': False})", "Param({'kind': <function list_of_ints>, 'mandatory': None, 'name': 'tests', 'constraint': None, 'default': None, 'allowed_values': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], 'global_alias': None, 'override': False})", "Param({'kind': <function boolean>, 'mandatory': None, 'name': 'auto_mode', 'constraint': None, 'default': True, 'allowed_values': None, 'global_alias': None, 'override': False})", "Param({'kind': <function integer>, 'mandatory': None, 'name': 'timeout', 'constraint': None, 'default': 14400, 'allowed_values': None, 'global_alias': None, 'override': False})", "Param({'kind': <function integer>, 'mandatory': None, 'name': 'file_size', 'constraint': None, 'default': None, 'allowed_values': None, 'global_alias': None, 'override': False})", "Param({'kind': <function integer>, 'mandatory': None, 'name': 'record_length', 'constraint': None, 'default': None, 'allowed_values': None, 'global_alias': None, 'override': False})", "Param({'kind': <function integer>, 'mandatory': None, 'name': 'threads', 'constraint': None, 'default': None, 'allowed_values': None, 'global_alias': None, 'override': False})", "Param({'kind': <type 'str'>, 'mandatory': None, 'name': 'other_params', 'constraint': None, 'default': '', 'allowed_values': None, 'global_alias': None, 'override': False})"])
parse_metrics(context, plist)[source]
parse_thread_results()[source]
run(context)[source]
setup(context)[source]
update_result(context)[source]
validate(*args, **kwargs)
write_to_csv(context, csv_table_list)[source]