Browse Source

Updating tests for multiple thread support

master
Drew Short 9 years ago
parent
commit
b471a92ad8
  1. 122
      scripts/tests/results/2015-09-21_anubis.sothr.com_x86_64_GNU.Linux_e3b0a59e330f6f6b0ac18e0455fec2d9.log
  2. 8
      scripts/tests/test_all.sh
  3. 4
      scripts/tests/test_cpu.sh
  4. 6
      scripts/tests/test_fileio.sh
  5. 4
      scripts/tests/test_mem.sh
  6. 4
      scripts/tests/test_threads.sh

122
scripts/tests/results/2015-09-21_anubis.sothr.com_x86_64_GNU.Linux_e3b0a59e330f6f6b0ac18e0455fec2d9.log

@ -120,3 +120,125 @@ Threads fairness:
events (avg/stddev): 131072.0000/0.00 events (avg/stddev): 131072.0000/0.00
execution time (avg/stddev): 13.7562/0.00 execution time (avg/stddev): 13.7562/0.00
sysbench 0.4.12: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 4
Doing CPU performance benchmark
Threads started!
Done.
Maximum prime number checked in CPU test: 20000
Test execution summary:
total time: 6.2628s
total number of events: 10000
total time taken by event execution: 25.0433
per-request statistics:
min: 2.45ms
avg: 2.50ms
max: 9.03ms
approx. 95 percentile: 2.49ms
Threads fairness:
events (avg/stddev): 2500.0000/3.08
execution time (avg/stddev): 6.2608/0.00
sysbench 0.4.12: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 4
Doing thread subsystem performance test
Thread yields per test: 1000 Locks used: 8
Threads started!
Done.
Test execution summary:
total time: 0.6800s
total number of events: 10000
total time taken by event execution: 2.7174
per-request statistics:
min: 0.23ms
avg: 0.27ms
max: 5.70ms
approx. 95 percentile: 0.29ms
Threads fairness:
events (avg/stddev): 2500.0000/21.61
execution time (avg/stddev): 0.6794/0.00
sysbench 0.4.12: multi-threaded system evaluation benchmark
sysbench 0.4.12: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 4
Extra file open flags: 0
128 files, 16Mb each
2Gb total file size
Block size 16Kb
Periodic FSYNC enabled, calling fsync() each 100 requests.
Calling fsync() at the end of test, Enabled.
Using synchronous I/O mode
Doing sequential write (creation) test
Threads started!
Done.
Operations performed: 0 Read, 131072 Write, 128 Other = 131200 Total
Read 0b Written 2Gb Total transferred 2Gb (138.08Mb/sec)
8837.11 Requests/sec executed
Test execution summary:
total time: 14.8320s
total number of events: 131072
total time taken by event execution: 5.0050
per-request statistics:
min: 0.01ms
avg: 0.04ms
max: 517.42ms
approx. 95 percentile: 0.03ms
Threads fairness:
events (avg/stddev): 32768.0000/749.80
execution time (avg/stddev): 1.2513/0.25
sysbench 0.4.12: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 4
Extra file open flags: 0
128 files, 16Mb each
2Gb total file size
Block size 16Kb
Periodic FSYNC enabled, calling fsync() each 100 requests.
Calling fsync() at the end of test, Enabled.
Using synchronous I/O mode
Doing sequential read test
Threads started!
Done.
Operations performed: 131072 Read, 0 Write, 0 Other = 131072 Total
Read 2Gb Written 0b Total transferred 2Gb (153.53Mb/sec)
9825.76 Requests/sec executed
Test execution summary:
total time: 13.3396s
total number of events: 131072
total time taken by event execution: 53.1485
per-request statistics:
min: 0.00ms
avg: 0.41ms
max: 65.03ms
approx. 95 percentile: 0.69ms
Threads fairness:
events (avg/stddev): 32768.0000/200.01
execution time (avg/stddev): 13.2871/0.00

8
scripts/tests/test_all.sh

@ -6,7 +6,7 @@ else
procs=$1 procs=$1
fi fi
. test_cpu.sh
. test_threads.sh
. test_mem.sh
. test_fileio.sh
. test_cpu.sh $procs
. test_threads.sh $procs
. test_mem.sh $procs
. test_fileio.sh $procs

4
scripts/tests/test_cpu.sh

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
if [ -z $1 ]; then
if [ -z "$1" ] && [ -z "$procs" ]; then
procs=1 procs=1
else else
procs=$1 procs=$1
@ -13,4 +13,4 @@ bench="$bench_exec $benc_var"
machine_ident="$(uname -nmo | sed 's/ /_/g' | sed 's/\//\./g')_$(cat /var/lib/dbus/machine-id)" machine_ident="$(uname -nmo | sed 's/ /_/g' | sed 's/\//\./g')_$(cat /var/lib/dbus/machine-id)"
logfile="$PWD/results/$(date -Idate)_${machine_ident}.log" logfile="$PWD/results/$(date -Idate)_${machine_ident}.log"
touch $logfile touch $logfile
$bench --test=cpu --cpu-max-prime=20000 run | tee -ai $logfile
$bench $bench_var --test=cpu --cpu-max-prime=20000 run | tee -ai $logfile

6
scripts/tests/test_fileio.sh

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
if [ -z $1 ]; then
if [ -z "$1" ] && [ -z "$procs" ]; then
procs=1 procs=1
else else
procs=$1 procs=$1
@ -15,9 +15,9 @@ logfile="$PWD/results/$(date -Idate)_${machine_ident}.log"
mkdir -p tmp mkdir -p tmp
cd tmp cd tmp
touch $logfile touch $logfile
$bench --test=fileio --file-test-mode=seqwr run | tee -ai $logfile
$bench $bench_var --test=fileio --file-test-mode=seqwr run | tee -ai $logfile
free && sync && sudo sh -c 'echo 3 > /proc/sys/vm/drop_caches' && free free && sync && sudo sh -c 'echo 3 > /proc/sys/vm/drop_caches' && free
$bench --test=fileio --file-test-mode=seqrd run | tee -ai $logfile
$bench $bench_var --test=fileio --file-test-mode=seqrd run | tee -ai $logfile
rm -f test_file.* rm -f test_file.*
#$bench --test=fileio --file-test-mode=rndwr run #$bench --test=fileio --file-test-mode=rndwr run
#$bench --test=fileio --file-test-mode=rndrd run #$bench --test=fileio --file-test-mode=rndrd run

4
scripts/tests/test_mem.sh

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
if [ -z $1 ]; then
if [ -z "$1" ] && [ -z "$procs" ]; then
procs=1 procs=1
else else
procs=$1 procs=$1
@ -13,4 +13,4 @@ bench="$bench_exec $benc_var"
machine_ident="$(uname -nmo | sed 's/ /_/g' | sed 's/\//\./g')_$(cat /var/lib/dbus/machine-id)" machine_ident="$(uname -nmo | sed 's/ /_/g' | sed 's/\//\./g')_$(cat /var/lib/dbus/machine-id)"
logfile="$PWD/results/$(date -Idate)_${machine_ident}.log" logfile="$PWD/results/$(date -Idate)_${machine_ident}.log"
touch $logfile touch $logfile
$bench --test=mem run | tee -ai $logfile
$bench $bench_var --test=mem run | tee -ai $logfile

4
scripts/tests/test_threads.sh

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
if [ -z $1 ]; then
if [ -z "$1" ] && [ -z "$procs" ]; then
procs=1 procs=1
else else
procs=$1 procs=$1
@ -13,4 +13,4 @@ bench="$bench_exec $benc_var"
machine_ident="$(uname -nmo | sed 's/ /_/g' | sed 's/\//\./g')_$(cat /var/lib/dbus/machine-id)" machine_ident="$(uname -nmo | sed 's/ /_/g' | sed 's/\//\./g')_$(cat /var/lib/dbus/machine-id)"
logfile="$PWD/results/$(date -Idate)_${machine_ident}.log" logfile="$PWD/results/$(date -Idate)_${machine_ident}.log"
touch $logfile touch $logfile
$bench --test=threads run | tee -ai $logfile
$bench $bench_var --test=threads run | tee -ai $logfile
Loading…
Cancel
Save