def __init__(self, apache, cores, sysmon):
     Task.__init__(self, host=apache.host)
     ResultsProvider.__init__(self, cores)
     self.apache = apache
     self.host = apache.host
     self.sysmon = sysmon
     self.__mon = self.queueSrcFile(self.host, "mon-apache")
Beispiel #2
0
 def __init__(self, apache, cores, sysmon):
     Task.__init__(self, host = apache.host)
     ResultsProvider.__init__(self, cores)
     self.apache = apache
     self.host = apache.host
     self.sysmon = sysmon
     self.__mon = self.queueSrcFile(self.host, "mon-apache")
Beispiel #3
0
	def __init__(self, host, trial, cores, srcPath, objPath, sysmon,
                benchRoot, coresPerSocket, resultPath, linuxSrc, qpin,
		lockStats, multiVM, record, perfBin, perfKVMRec,
		perfGuestRec, kvmStat, kvmTrace):
		Task.__init__(self, host = host, trial = trial)
		ResultsProvider.__init__(self, cores)
		self.host = host
		self.srcPath = srcPath
		self.objPath = objPath
		self.sysmon = sysmon
                self.benchRoot = benchRoot
		self.coresPerSocket = coresPerSocket
                self.resultPath = resultPath
                self.perfRecord = record
		self.perfBin = perfBin
		self.perfKVMRec = perfKVMRec
		self.perfGuestRec = perfGuestRec
                self.linuxSrc = linuxSrc
                self.qpin = qpin
                self.multiVM = multiVM
                self.vmProcs = []
                self.sockets = 1
                self.vmcores = self.coresPerSocket
                if self.cores > 1:
                    self.sockets = self.cores / self.coresPerSocket
                else:
                    self.vmcores = 1
                self.threads = 1
                self.lockStats = LockStats(self.host, sshPort = "5555") if \
                        lockStats else None # only one VM is being considered
                self.kvmStat = kvmStat
		self.kvmTrace = kvmTrace
Beispiel #4
0
 def __init__(self, host, trial, cores, srcPath, objPath, sysmon, benchRoot,
              coresPerSocket, resultPath, linuxSrc, qpin, lockStats,
              multiVM, record, perfBin, perfKVMRec, perfGuestRec, kvmStat,
              kvmTrace):
     Task.__init__(self, host=host, trial=trial)
     ResultsProvider.__init__(self, cores)
     self.host = host
     self.srcPath = srcPath
     self.objPath = objPath
     self.sysmon = sysmon
     self.benchRoot = benchRoot
     self.coresPerSocket = coresPerSocket
     self.resultPath = resultPath
     self.perfRecord = record
     self.perfBin = perfBin
     self.perfKVMRec = perfKVMRec
     self.perfGuestRec = perfGuestRec
     self.linuxSrc = linuxSrc
     self.qpin = qpin
     self.multiVM = multiVM
     self.vmProcs = []
     self.sockets = 1
     self.vmcores = self.coresPerSocket
     if self.cores > 1:
         self.sockets = self.cores / self.coresPerSocket
     else:
         self.vmcores = 1
     self.threads = 1
     self.lockStats = LockStats(self.host, sshPort = "5555") if \
             lockStats else None # only one VM is being considered
     self.kvmStat = kvmStat
     self.kvmTrace = kvmTrace
Beispiel #5
0
 def __init__(self, host, trial, eximPath, cores, clients, port, sysmon):
     Task.__init__(self, host=host, trial=trial)
     ResultsProvider.__init__(self, cores)
     self.host = host
     self.trial = trial
     self.eximPath = eximPath
     self.clients = clients
     self.port = port
     self.sysmon = sysmon
 def __init__(self, host, trial, cores, srcPath, objPath, sysmon):
     Task.__init__(self, host=host, trial=trial)
     ResultsProvider.__init__(self, cores)
     self.host = host
     self.srcPath = srcPath
     self.objPath = objPath
     self.sysmon = sysmon
     # This configuration was built by 'make defconfig'
     self.__configFile = self.queueSrcFile(host, "x86_64_defconfig")
Beispiel #7
0
 def __init__(self, host, trial, cores, srcPath, objPath, sysmon):
     Task.__init__(self, host = host, trial = trial)
     ResultsProvider.__init__(self, cores)
     self.host = host
     self.srcPath = srcPath
     self.objPath = objPath
     self.sysmon = sysmon
     # This configuration was built by 'make defconfig'
     self.__configFile = self.queueSrcFile(host, "x86_64_defconfig")
Beispiel #8
0
    def __init__(self, mhosts, memcached, sysmon):
        Task.__init__(self)
        ResultsProvider.__init__(self, cores=len(memcached.ports))
        self.mhosts = mhosts
        self.memcached = memcached
        self.sysmon = sysmon

        self.__paths = dict((h, self.queueSrcFile(h, "mcload"))
                            for h in set(mhost.host for mhost in mhosts))
        self.__runners = dict((h, self.queueSrcFile(h, "run-mcload"))
                              for h in set(mhost.host for mhost in mhosts))
Beispiel #9
0
    def __init__(self, mhosts, memcached, sysmon):
        Task.__init__(self)
        ResultsProvider.__init__(self, cores = len(memcached.ports))
        self.mhosts = mhosts
        self.memcached = memcached
        self.sysmon = sysmon

        self.__paths = dict((h, self.queueSrcFile(h, "mcload"))
                            for h in set(mhost.host for mhost in mhosts))
        self.__runners = dict((h, self.queueSrcFile(h, "run-mcload"))
                              for h in set(mhost.host for mhost in mhosts))
Beispiel #10
0
 def __init__(self, host, trial, cores, srcPath, objPath, sysmon, stats,
              perfRecord, linuxSrc, resultPath, perfBin, noCaching):
     Task.__init__(self, host=host, trial=trial)
     ResultsProvider.__init__(self, cores)
     self.host = host
     self.srcPath = srcPath
     self.objPath = objPath
     self.sysmon = sysmon
     self.stats = stats
     self.perfRecord = perfRecord
     self.linuxSrc = linuxSrc
     self.resultPath = resultPath
     self.perfBin = perfBin
     self.noCaching = noCaching
    def __init__(self, host, trial, cores, metisPath, streamflow, model,
                 setcpus, fs, sysmon):
        assert model in ["default", "hugetlb"], \
            "Unknown Metis memory model %r" % model

        Task.__init__(self, host=host, trial=trial)
        ResultsProvider.__init__(self, cores)
        self.host = host
        self.trial = trial
        self.metisPath = metisPath
        self.streamflow = streamflow
        self.model = model
        self.setcpus = setcpus
        self.fs = fs
        self.sysmon = sysmon
Beispiel #12
0
    def __init__(self, host, trial, cores, metisPath, streamflow, model,
                 setcpus, fs, sysmon):
        assert model in ["default", "hugetlb"], \
            "Unknown Metis memory model %r" % model

        Task.__init__(self, host = host, trial = trial)
        ResultsProvider.__init__(self, cores)
        self.host = host
        self.trial = trial
        self.metisPath = metisPath
        self.streamflow = streamflow
        self.model = model
        self.setcpus = setcpus
        self.fs = fs
        self.sysmon = sysmon
Beispiel #13
0
    def __init__(self, host, trial, cores, srcPath, objPath,
            sysmon, stats, perfRecord, linuxSrc, resultPath,
	    perfBin, noCaching):
        Task.__init__(self, host = host, trial = trial)
        ResultsProvider.__init__(self, cores)
        self.host = host
        self.srcPath = srcPath
        self.objPath = objPath
        self.sysmon = sysmon
        self.stats = stats
        self.perfRecord = perfRecord
        self.linuxSrc = linuxSrc
        self.resultPath = resultPath
        self.perfBin = perfBin
	self.noCaching = noCaching
    def __init__(self, host, trial, pg, cores, clients, rows, partitions,
                 batchSize, randomWritePct, sysmon):
        Task.__init__(self, host = host, trial = trial)
        ResultsProvider.__init__(self, cores)
        # XXX Use this elsewhere
        self.setInfoAttrs(PostgresLoad, locals())
        self.pg = pg
        self.sysmon = sysmon
        self.__dbname = "pg%d-%d" % (self.rows, self.partitions)

        self.__pgload = self.queueSrcFile(host, "pgload")
        self.queueSrcFile(host, "libload")

        if trial != 0:
            # Only start one PostgresLoad object per data point
            self.start = None
Beispiel #15
0
    def __init__(self, host, trial, psearchyPath, filesPath, dbPath, cores,
                 mode, order, mem, dblim, setcpus, sysmon):
        assert mode in [PsearchyLoad.MODE_THREAD, PsearchyLoad.MODE_PROCESS], \
            "Invalid mode %s" % mode
        assert order in [PsearchyLoad.ORDER_SEQ, PsearchyLoad.ORDER_RR], \
            "Invalid order %s" % order

        Task.__init__(self, host = host, trial = trial)
        ResultsProvider.__init__(self, cores)
        self.host = host
        self.trial = trial
        self.psearchyPath = psearchyPath
        self.filesPath = filesPath
        self.dbPath = dbPath
        self.mode = mode
        self.order = order
        self.mem = mem
        self.dblim = dblim
        self.setcpus = setcpus
        self.sysmon = sysmon
Beispiel #16
0
    def __init__(self, host, trial, psearchyPath, filesPath, dbPath, cores,
                 mode, order, mem, dblim, setcpus, sysmon):
        assert mode in [PsearchyLoad.MODE_THREAD, PsearchyLoad.MODE_PROCESS], \
            "Invalid mode %s" % mode
        assert order in [PsearchyLoad.ORDER_SEQ, PsearchyLoad.ORDER_RR], \
            "Invalid order %s" % order

        Task.__init__(self, host=host, trial=trial)
        ResultsProvider.__init__(self, cores)
        self.host = host
        self.trial = trial
        self.psearchyPath = psearchyPath
        self.filesPath = filesPath
        self.dbPath = dbPath
        self.mode = mode
        self.order = order
        self.mem = mem
        self.dblim = dblim
        self.setcpus = setcpus
        self.sysmon = sysmon