aboutsummaryrefslogtreecommitdiff
path: root/automated/linux/cyclicdeadline/cyclicdeadline.yaml
blob: 9f3c16b3afded8ec707238c079d64a4b1d8765ef (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
41
42
43
44
45
46
47
metadata:
    name: cyclicdeadline
    format: "Lava-Test-Shell Test Definition 1.0"
    description: "cyclicdeadline is a test that is similar to cyclictest
                  but instead of using SCHED_FIFO and nanosleep() to
                  measure jitter, it uses SCHED_DEADLINE and has the
                  deadline be the wakeup interval."
    maintainer:
        - Daniel Wagner <wagi@monom.org>
    os:
        - debian
        - ubuntu
        - fedora
        - centos
        - openembedded
    scope:
        - performance
        - preempt-rt
    environment:
        - lava-test-shell
    devices:
        - hi6220-hikey
        - apq8016-sbc
        - mustang
        - moonshot
        - thunderX
        - d03
        - d05

params:
    # Base interval of thread in us.
    INTERVAL: "1000"
    # Step size in us.
    STEP: "500"
    # Number of threads to test
    THREADS: "1"
    # Execute cyclicdeadline for given time
    DURATION: "5m"
    # Maximal accepted latency in us
    # This value is device/kernel specific and needs to be set in the job!
    MAX_LATENCY: "50"

run:
    steps:
        - cd ./automated/linux/cyclicdeadline/
        - ./cyclicdeadline.sh -i "${INTERVAL}" -s "${STEP}" -t "${THREADS}" -D "${DURATION}" -m "${MAX_LATENCY}"
        - ../../utils/send-to-lava.sh ./output/result.txt