Ejemplo n.º 1
0
 def __init__(self, mdtest_option, mpi_option):
     super(MDTestWapper, self).__init__()
     self._mdtest_option = mdtest_option.split()
     self._mpi_option = mpi_option.split()
     self._cmd = self._mpi_option + ['mdtest'] + self._mdtest_option
     self._cmd_runner = CmdRunner('mpirun --allow-run-as-root')
     self._json_summary = dict()
     self._txt_summary = dict()
Ejemplo n.º 2
0
 def __init__(self, ior_option, mpi_option):
     super(IORWapper, self).__init__()
     self._ior_option = ior_option.split()
     self._mpi_option = mpi_option.split()
     self._cmd = self._mpi_option + ['ior'] + self._ior_option
     self._cmd_runner = CmdRunner('mpirun --allow-run-as-root')
     self._json_summary = dict()
     self._txt_summary = dict()
     self._units = None
     self._all_units = None
Ejemplo n.º 3
0
    def __init__(self, fio_option, mpi_option):
        super(FIOWapper, self).__init__()
        self._fio_mpi_option = fio_option.split()
        self._mpi_option = mpi_option.split()
        self._cmd = self._mpi_option + [
            'python3', '/root/code/cuvette/src/task/fio/fio_mpi.py'
        ] + self._fio_mpi_option
        self._cmd_runner = CmdRunner('mpirun --allow-run-as-root')
        self._json_summary = None
        self._txt_summary = None
        self._bw_convert = ByteConversion(
            ['Bytes', 'KiB', 'MiB', 'GiB', 'TiB', 'PiB'])
        self._iops_convert = ByteConversion(['null', 'K', 'M', 'G', 'T', 'P'])
        self._sec_convert = SecConversion()

        config = DefaultConfig()
        self._fio_iops_unit = config.get('fio_iops_unit')
        self._fio_bw_unit = config.get('fio_bw_unit')
        self._fio_lat_unit = config.get('fio_lat_unit')
Ejemplo n.º 4
0
 def __init__(self, cosbench_option):
     super(CosbenchWapper, self).__init__()
     self._cosbench_option = cosbench_option
     self._cmd_runner = CmdRunner('')
     self._json_summary = dict()
     self._txt_summary = dict()