コード例 #1
0
ファイル: DeviceTests.py プロジェクト: orickman/TKperf
 def __init__(self, testname, device, options):
     '''
     Constructor.
     '''
     super(SsdTPTest, self).__init__(testname, device, options)
     ## A list of matrices with the collected fio measurement values of each round.
     self.__roundMatrices = []
     self.__stdyState = StdyState()
コード例 #2
0
ファイル: DeviceTests.py プロジェクト: orickman/TKperf
 def __init__(self, testname, device, options=None):
     '''
     Constructor.
     '''
     super(SsdIopsTest, self).__init__(testname, device, options)
     ## A list of matrices with the collected fio measurement values of each round.
     self.__roundMatrices = []
     self.__stdyState = StdyState()
     self.getFioJob().addKVArg("rw", "randrw")
コード例 #3
0
 def __init__(self, testname, device, options):
     '''
     Constructor.
     '''
     super(SsdTPTest, self).__init__(testname, device, options)
     ## Labels of block sizes to run tests with
     self.__bsLabels = ["1024k", "64k", "8k", "4k", "512"]
     ## A list of matrices with the collected fio measurement values of each round.
     self.__roundMatrices = []
     self.__stdyState = StdyState()
コード例 #4
0
 def __init__(self, testname, device, options=None):
     '''
     Constructor.
     '''
     super(SsdIopsTest, self).__init__(testname, device, options)
     ## Labels of block sizes to run tests with
     self.__bsLabels = [
         "1024k", "128k", "64k", "32k", "16k", "8k", "4k", "512"
     ]
     ## A list of matrices with the collected fio measurement values of each round.
     self.__roundMatrices = []
     self.__stdyState = StdyState()
     self.getFioJob().addKVArg("rw", "randrw")
コード例 #5
0
ファイル: DeviceTests.py プロジェクト: orickman/TKperf
 def __init__(self, testname, device, options=None):
     '''
     Constructor.
     '''
     ## Keep user options
     self.__userOptions = options
     if options != None:
         #For latency the specification says to use 1 job/thread, 1 outstanding IO
         wsoptions = Options(1, 1)
         if options.getXargs() != None:
             wsoptions.setXargs(options.getXargs())
     super(SsdLatencyTest, self).__init__(testname, device, wsoptions)
     ## A list of matrices with the collected fio measurement values of each round.
     self.__roundMatrices = []
     self.__stdyState = StdyState()
     self.getFioJob().addKVArg("rw", "randrw")