Skip to content

Commit

Permalink
Revert "fix!: remove --test= for CPU and Memory benchmarks"
Browse files Browse the repository at this point in the history
This reverts commit 9e22aba.
jackhodgkiss committed Jun 3, 2024
1 parent 549d97a commit c29b710
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hardware/benchmark/cpu.py
Original file line number Diff line number Diff line change
@@ -44,7 +44,7 @@ def run_sysbench_cpu(hw_lst, max_time, cpu_count, processor_num=None):
'%d seconds (%d threads)\n' % (max_time, cpu_count))

cmds = ('%s sysbench --max-time=%d --max-requests=10000000'
' --num-threads=%d --cpu-max-prime=15000 cpu run'
' --num-threads=%d --test=cpu --cpu-max-prime=15000 run'
% (taskset, max_time, cpu_count))
sysbench_cmd = subprocess.Popen(cmds, shell=True, stdout=subprocess.PIPE)

2 changes: 1 addition & 1 deletion hardware/benchmark/mem.py
Original file line number Diff line number Diff line change
@@ -82,7 +82,7 @@ def run_sysbench_memory_threaded(hw_lst, max_time, block_size, cpu_count,
% (block_size, max_time, cpu_count))

_cmd = ('%s sysbench --max-time=%d --max-requests=100000000 '
'--num-threads=%d --memory-block-size=%s memory run')
'--num-threads=%d --test=memory --memory-block-size=%s run')
sysbench_cmd = subprocess.Popen(_cmd % (taskset, max_time,
cpu_count, block_size),
shell=True, stdout=subprocess.PIPE)

0 comments on commit c29b710

Please sign in to comment.