-
Notifications
You must be signed in to change notification settings - Fork 0
/
ior_options_model.py
39 lines (34 loc) · 1.47 KB
/
ior_options_model.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
class I0500OptionsModel:
def __init__(self, api, apiVersion, testFileName, access, type, segments, orderingInaFile, orderingInterFile, taskOffset, nodes,
tasks, clientsPerNode, repetitions, xfersize, blocksize, aggregateFilesize, stonewallingTime =-1, stoneWallingWearOut=-1):
self.api = api
self.apiVersion = apiVersion
self.testFileName = testFileName
self.access = access
self.type = type
self.segments = segments
self.orderingInaFile = orderingInaFile
self.orderingInterFile = orderingInterFile
self.taskOffset = taskOffset
self.nodes = nodes
self.tasks = tasks
self.clientsPerNode = clientsPerNode
self.repetitions = repetitions
self.xfersize = xfersize
self.blocksize = blocksize
self.aggregateFilesize = aggregateFilesize
self.stonewallingTime = stonewallingTime
self.stoneWallingWearOut = stoneWallingWearOut
class IO500ResultsModel:
def __init__(self, access, bwMiB, iops, latency, blockKiB, xferKiB, openTime, wrRdTime, closeTime, totalTime, iter):
self.access = access
self.bwMiB = bwMiB
self.iops = iops
self.latency = latency
self.blockKiB = blockKiB
self.xferKiB = xferKiB
self.openTime = openTime
self.wrRdTime = wrRdTime
self.closeTime = closeTime
self.totalTime = totalTime
self.iter = iter