Re: [libevl][PATCH 2/2] tests: sched-quota-accuracy: Add preempting FIFO thread

Philippe Gerum <[email protected]> Sat, 20 Jun 2026 12:41:14 +0200
Newsgroups dev.linux.lists.xenomai
Message-ID <[email protected]>
Jan Kiszka <[email protected]> writes:

> From: Jan Kiszka <[email protected]>
>
> Test that higher-prio SCHED_FIFO threads do not run on the bill of
> SCHED_QUOTA threads and that their accounting is not otherwise
> disturbed.
>

This patch introduced a regression when determining the accuracy of the
policy with respect to allotting threads the expected runtime budget:

root@phytec-mira-evl:~# evl test sched-quota-accuracy
sched-quota-accuracy: 494.0%

The proper result would rather be close to the following:

root@phytec-mira-evl:~# evl test sched-quota-accuracy
sched-quota-accuracy: 99.1%

-- 
Philippe.