diff options
author | Arthur She <arthur.she@linaro.org> | 2014-10-27 06:46:20 -0700 |
---|---|---|
committer | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2014-11-12 15:02:01 +0000 |
commit | f3c243168ded8b65e2126e48f2d64888642f4743 (patch) | |
tree | 4cc605c327cd37ce92d3f0dbef4866be4e2ea6e6 /openembedded | |
parent | 252f24d1a061f03708c2bc22e66c3edfeead7951 (diff) |
sysbench: Add sysbench.yaml for both ubuntu & OE
Run sysbench in loop and increase the number of thread after each
iteration
Change-Id: I40db577fb2312da6efb79ccca8b7b697cb117741
Diffstat (limited to 'openembedded')
-rw-r--r-- | openembedded/sysbench.yaml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/openembedded/sysbench.yaml b/openembedded/sysbench.yaml new file mode 100644 index 0000000..5f72995 --- /dev/null +++ b/openembedded/sysbench.yaml @@ -0,0 +1,37 @@ +metadata: + name: sysbench + format: "Lava-Test-Shell Test Definition 1.0" + description: + "Run sysbench test in loop and increase the number of thread after each iteration" + maintainer: + - arthur.she@linaro.org + os: + - openembedded + devices: + - arndale + - beaglebone-black + - rtsm_fvp_base-aemv8a + scope: + - performance + - preempt-rt + +install: + bzr-repos: + - lp:sysbench + steps: + - 'cd sysbench' + - 'find . | xargs touch' + - './autogen.sh' + - './configure --without-mysql' + - 'make all install' + +params: + TIMES: 8 # The number of times 'sysbench' will be run + TEST: cpu # Could be cpu, threads, fileio, memory or mutex + MAX_REQUESTS: 50000 # Limit for total number of requests + DURATION: 20 # Limit for total execution time in seconds + FILE_TEST_MODE: seqrewr # Possible values: seqwr, seqrewr, seqrd, rndrd, rndwr, rndwr + +run: + steps: + - './common/scripts/sysbench.sh ${TIMES} ${TEST} ${MAX_REQUESTS} ${DURATION} ${FILE_TEST_MODE}' |