summaryrefslogtreecommitdiff
path: root/ubuntu/sysbench.yaml
diff options
context:
space:
mode:
authorArthur She <arthur.she@linaro.org>2014-10-27 06:46:20 -0700
committerMilosz Wasilewski <milosz.wasilewski@linaro.org>2014-11-12 15:02:01 +0000
commitf3c243168ded8b65e2126e48f2d64888642f4743 (patch)
tree4cc605c327cd37ce92d3f0dbef4866be4e2ea6e6 /ubuntu/sysbench.yaml
parent252f24d1a061f03708c2bc22e66c3edfeead7951 (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 'ubuntu/sysbench.yaml')
-rw-r--r--ubuntu/sysbench.yaml31
1 files changed, 31 insertions, 0 deletions
diff --git a/ubuntu/sysbench.yaml b/ubuntu/sysbench.yaml
new file mode 100644
index 0000000..0ee8427
--- /dev/null
+++ b/ubuntu/sysbench.yaml
@@ -0,0 +1,31 @@
+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:
+ - ubuntu
+ devices:
+ - arndale
+ - beaglebone-black
+ - rtsm_fvp_base-aemv8a
+ scope:
+ - performance
+ - preempt-rt
+
+install:
+ deps:
+ - sysbench
+
+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}'