summaryrefslogtreecommitdiff
path: root/openembedded/sysbench.yaml
blob: 1d64c577a9eee87f66ab5ea610ecbdb8e81cff78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
metadata:
    name: sysbench
    format: "Lava-Test-Shell Test Definition 1.0"
    description: "Sysbench test for Linaro OpenEmbedded builds. SysBench is a modular, cross-platform
                  and multi-threaded benchmark tool for evaluating OS parameters that are important for
                  a system running a database under intensive load. The test runs sysbench test in loop
                  and increases the number of threads after each iteration."
    maintainer:
        - arthur.she@linaro.org
    os:
        - openembedded
    devices:
        - arndale
        - beaglebone-black
        - rtsm_fvp_base-aemv8a
        - juno
    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}'