From bd49cfef93636b87f6534c98bc961b7e11bb54a1 Mon Sep 17 00:00:00 2001 From: Michael Vrable Date: Sun, 13 Feb 2011 21:30:35 -0800 Subject: [PATCH] Benchmark fixups. --- microbench/mixedbench.c | 2 +- microbench/run2.sh | 2 +- microbench/setup/run-benchmark | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/microbench/mixedbench.c b/microbench/mixedbench.c index 07584e1..7996f1d 100644 --- a/microbench/mixedbench.c +++ b/microbench/mixedbench.c @@ -225,7 +225,7 @@ int main(int argc, char *argv[]) opt_duration = atoi(argv[5]); opt_ops = atof(argv[6]); opt_intervals = atoi(argv[7]); - opt_dirsize = atoi(argv[7]); + opt_dirsize = atoi(argv[8]); srandom(time(NULL)); diff --git a/microbench/run2.sh b/microbench/run2.sh index a5297ac..8f63714 100755 --- a/microbench/run2.sh +++ b/microbench/run2.sh @@ -34,7 +34,7 @@ BENCH_DIRSIZE=256 #for size in 128 256 512 768 1024 1536 2048; do # for filesize in 4 32 256 2048; do -for size in 128 256 512 768 1024 1536 2048; do +for size in 128 256 512 1024 2048; do for filesize in 4 1024; do BENCH_FILESIZE=$(($filesize * 1024)) BENCH_FILECOUNT=$(($size * 1024 / $filesize / $BENCH_THREADS)) diff --git a/microbench/setup/run-benchmark b/microbench/setup/run-benchmark index ae2728f..80bd635 100755 --- a/microbench/setup/run-benchmark +++ b/microbench/setup/run-benchmark @@ -14,6 +14,7 @@ BENCH_THREADS=8 BENCH_DURATION=120 BENCH_OPS=100 BENCH_INTERVALS=4 +BENCH_DIRSIZE=256 BENCH_LOCKEDMEM=$((4096 - 256)) lock_memory() { -- 2.20.1