def __init__(self, target: Target, **kwargs): threads = int(target.n_cpus() / target.n_nodes()) command = 'sysbench cpu --threads={} --cpu-max-prime=10000 run'.format( threads) super().__init__(command)
def __init__(self, target: Target, **kwargs): threads = min(int(target.n_cpus() / target.n_nodes()), 16) command = 'sysbench threads --threads={} run'.format(threads) #command = 'sysbench threads --max-time=1 --max-requests=-1 --threads={} run'.format(threads) super().__init__(command)
def __init__(self, target: Target, **kwargs): threads = min(int(target.n_cpus() / target.n_nodes()), 16) command = 'sysbench mutex --mutex-num=1 --threads={} run'.format( threads) super().__init__(command)
def __init__(self, target: Target, **kwargs): threads = int(target.n_cpus() / target.n_nodes()) command = 'sysbench memory --memory-access-mode=rnd --threads={} run'.format( threads) super().__init__(command)