aboutsummaryrefslogtreecommitdiff
path: root/modules/benchmark/benches.c
diff options
context:
space:
mode:
authorBurt P <pburt0@gmail.com>2019-09-04 22:10:43 -0500
committerLeandro A. F. Pereira <leandro@hardinfo.org>2019-10-24 07:54:09 -0700
commitc982d4e344f06a3b147d05de9476e7fcd7c9a5ac (patch)
tree46e64f891dd306a5a7e4f18b5b7ec8022651c244 /modules/benchmark/benches.c
parent9b17b17c56c62bfc1b72b74e5fa623f1ad47955e (diff)
sysbench memory tweaks
* Use a larger sample size for sysbench 1.0+ and 64-bit * Store pointer size with bench results * Re-enable single thread memory benchmark Use a larger sample size where available. The small size was chosen because the 32-bit ARM sysbench 0.4x in raspbian can't do more than about ~4G, but the problem is that much more powerful machines burn through that very quickly. The result is in MiB/s so it should still be comparable, but the results should be more stable. Noticed with Ryzen that multi-thread varies significantly based on what threads are used, but benchmark doesn't really have control over that. Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'modules/benchmark/benches.c')
-rw-r--r--modules/benchmark/benches.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/benchmark/benches.c b/modules/benchmark/benches.c
index 945cfe15..d147bf0c 100644
--- a/modules/benchmark/benches.c
+++ b/modules/benchmark/benches.c
@@ -101,11 +101,11 @@ static ModuleEntry entries[] = {
[BENCHMARK_SBCPU_ALL] =
{N_("SysBench CPU (Multi-thread)"), "processor.png", callback_benchmark_sbcpu_all, scan_benchmark_sbcpu_all, MODULE_FLAG_NONE},
[BENCHMARK_SBCPU_QUAD] =
- {N_("#SysBench CPU (Four threads)"), "processor.png", callback_benchmark_sbcpu_quad, scan_benchmark_sbcpu_quad, MODULE_FLAG_HIDE},
+ {N_("SysBench CPU (Four threads)"), "processor.png", callback_benchmark_sbcpu_quad, scan_benchmark_sbcpu_quad, MODULE_FLAG_HIDE},
[BENCHMARK_MEMORY_SINGLE] =
- {N_("#SysBench Memory (Single-thread)"), "memory.png", callback_benchmark_memory_single, scan_benchmark_memory_single, MODULE_FLAG_HIDE},
+ {N_("SysBench Memory (Single-thread)"), "memory.png", callback_benchmark_memory_single, scan_benchmark_memory_single, MODULE_FLAG_NONE},
[BENCHMARK_MEMORY_DUAL] =
- {N_("#SysBench Memory (Two threads)"), "memory.png", callback_benchmark_memory_dual, scan_benchmark_memory_dual, MODULE_FLAG_HIDE},
+ {N_("SysBench Memory (Two threads)"), "memory.png", callback_benchmark_memory_dual, scan_benchmark_memory_dual, MODULE_FLAG_HIDE},
[BENCHMARK_MEMORY_QUAD] =
{N_("SysBench Memory"), "memory.png", callback_benchmark_memory_quad, scan_benchmark_memory_quad, MODULE_FLAG_NONE},
#if !GTK_CHECK_VERSION(3,0,0)