Re: Priority Inheritance Test (Real-Time Preemption)

Ingo Molnar
2004-11-21T23:25:53Z

* Esben Nielsen <simlo@phys.au.dk> wrote:

> Hi,
> From realfeel I wrote a small, simple test to test how well priority
> inheritance mechanism works.

cool - this is a really useful testsuite.

> I tested it on V0.7.26-0 and my own U9.2-priom. Both implementations
> fails when the mutex is congested by more than 1 non-real-time task.
> [...]

i can confirm your measurements.

I have fixed all the PI bugs that your suite uncovered (there were quite
a number of them!), the fixes are included in the V0.7.30-0 patch
available at the usual place:

http://redhat.com/~mingo/realtime-preempt/

with this patch i get the expected histogram with entries only in the
0-1 msec buckets.

Ingo