blob: 1edd0a4113686a6731bf4fbf190d48b6391bc06d [file] [log] [blame]
Chase Qidc409a32017-01-09 16:28:04 +08001metadata:
2 name: sysbench
Milosz Wasilewski9063b982020-06-30 13:43:03 +01003 format: "Lava-Test Test Definition 1.0"
Chase Qidc409a32017-01-09 16:28:04 +08004 description: "SysBench is a modular, cross-platform and multi-threaded
5 benchmark tool for evaluating OS parameters that are
6 important for a system running a database under intensive
7 load. Current features allow to test fileio, cpu, memory,
8 threads, mutex and oltp."
9 maintainer:
10 - chase.qi@linaro.org
11 os:
12 - debian
13 - ubuntu
14 - fedora
15 - centos
Chase Qi050e4e22017-02-06 11:49:05 +080016 - openembedded
Chase Qidc409a32017-01-09 16:28:04 +080017 scope:
18 - performance
19 environment:
20 - lava-test-shell
21 devices:
22 - hi6220-hikey
23 - apq8016-sbc
24 - mustang
25 - moonshot
26 - thunderX
27 - d03
28 - d05
29
30params:
Chase Qi050e4e22017-02-06 11:49:05 +080031 # "${TESTS}" could be one or more of the following tests.
32 # TESTS: cpu memory threads mutex fileio oltp
Chase Qidc409a32017-01-09 16:28:04 +080033 # TESTS: "oltp"
Nicolas Dechesne80d02bd2017-05-15 17:46:31 +020034 TESTS: "percpu cpu memory threads mutex fileio"
Chase Qie0dc6f62017-05-16 19:01:52 +080035 # Number of threads to run.
36 # Run $(nproc) threads by default.
37 NUM_THREADS: "NPROC"
Chase Qidc409a32017-01-09 16:28:04 +080038 SKIP_INSTALL: "false"
39
40run:
41 steps:
42 - cd ./automated/linux/sysbench/
43 - ./sysbench.sh -n "${NUM_THREADS}" -t "${TESTS}" -s "${SKIP_INSTALL}"
44 - ../../utils/send-to-lava.sh ./output/result.txt