LTP realtime tests
Hi RT folks,
looking into LTP realtime tests (testcases/realtime/ [1]), the code certainly deserves cleanup.
Looking at [2], it does not mention these tests at all. Can anyone comment on relevance of these tests to current RT? Does anyone use these tests?
Thanks for feedback.
Kind regards,
Petr
[1] https://github.com/linux-test-project/ltp/tree/master/testcases/realtime
[2] https://elinux.org/Realtime_Testing_Best_Practices#Test_programs
Hi Petr,
we are running these tests and from what I've seen the quality is very poor. We had to make changes to a lot of them to make them pass reliably:
most of the tests: Missing checks of return value for pthread function and resulting deadlock
prio-wake and prio-preempt: Bound to a single cpu coresched_football: Needs a sleep to run reliable (I send a mail some time ago to this mailing list
regarding the validity of the test, which got forwarded to lkml by cyril, but no reply)
Some tests do not return the correct result e.g.:
testpi-5, testpi-6, sched_jitter, gtod_latency
I haven't really looked into most of these tests.
J?rg
Am 05.12.2019 um 14:50 schrieb Petr Vorel:
Quoted 17 lines
Hi RT folks,
looking into LTP realtime tests (testcases/realtime/ [1]), the code certainly deserves cleanup.
Looking at [2], it does not mention these tests at all. Can anyone comment on relevance of these tests to current RT? Does anyone use these tests?
Thanks for feedback.
Kind regards,
Petr[1] https://github.com/linux-test-project/ltp/tree/master/testcases/realtime
[2] https://elinux.org/Realtime_Testing_Best_Practices#Test_programs
CC:
Quoted 35 lines · Joerg Vehlow
Hi Petr,
we are running these tests and from what I've seen the quality is very poor.
We had to make changes to a lot of them to make them pass reliably:
most of the tests: Missing checks of return value for pthread function and resulting deadlock prio-wake and prio-preempt: Bound to a single cpu coresched_football: Needs a sleep to run reliable (I send a mail some time ago to this mailing list regarding the validity of the test, which got forwarded to lkml by cyril, but no reply)Some tests do not return the correct result e.g.:
testpi-5, testpi-6,sched_jitter,gtod_latencyI haven't really looked into most of these tests.
J?rg
Am 05.12.2019 um 14:50 schrieb Petr Vorel:
Quoted 17 lines
Hi RT folks,
looking into LTP realtime tests (testcases/realtime/ [1]), the code certainly deserves cleanup.
Looking at [2], it does not mention these tests at all. Can anyone comment on relevance of these tests to current RT? Does anyone use these tests?
Thanks for feedback.
Kind regards,
Petr[1] https://github.com/linux-test-project/ltp/tree/master/testcases/realtime
[2] https://elinux.org/Realtime_Testing_Best_Practices#Test_programs
Signature · 2 lines
Best regards, grygorii