| metadata: |
| name: pmqtest |
| format: "Lava-Test Test Definition 1.0" |
| description: "Pmqtest measures the latency of interprocess communication |
| with POSIX messages queues. The test starts pairs of threads |
| that are synchronized via mq_send/mw_receive() and measures |
| the latency between sending and receiving the message." |
| maintainer: |
| - chase.qi@linaro.org |
| os: |
| - debian |
| - ubuntu |
| - centos |
| - fedora |
| - openembedded |
| scope: |
| - performance |
| - preempt-rt |
| devices: |
| - hi6220-hikey |
| - apq8016-sbc |
| - mustang |
| - moonshot |
| - thunderX |
| - d03 |
| - d05 |
| |
| params: |
| DURATION: "5m" |
| # Maximal accepted latency in us |
| # This value is device/kernel specific and needs to be set in the job! |
| MAX_LATENCY: "100" |
| |
| run: |
| steps: |
| - cd ./automated/linux/pmqtest/ |
| - ./pmqtest.sh -D "${DURATION}" -m "${MAX_LATENCY}" |
| - ../../utils/send-to-lava.sh ./output/result.txt |