lkml.org 
[lkml]   [2006]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: RT exec for exercising RT kernel capabilities
Mark Hounschell wrote:
> Mark Hounschell wrote:
>> Thomas Gleixner wrote:
>>> Mark,
>>>
>>> On Thu, 2006-06-08 at 15:12 -0400, Mark Hounschell wrote:
>>>> With the ongoing work being done to rt kernel enhancements by Ingo and friends,
>>>> I would like to offer the use of a user land test (rt-exec). The rt-exec tests
>>>> well the deterministic real-time capabilities of a computer. Maybe it could
>>>> useful in some way to the effort or to anyone interested in making this type of
>>>> determination about their kernel/computer.
>>>>
>>>> A README describing the rt-exec can be found at
>>>> ftp://ftp.compro.net/public/rt-exec/README
>>>>
>>>> It can be downloaded from
>>>> ftp://ftp.compro.net/public/rt-exec/rt-exec-1.0.0.tar.bz2
>>>>
>>>> Complaints, comments, or suggestions welcome.
>>> Nice tool.
>>>
>>> Some remarks. You can build high resolution timer support without the
>>> extra lib package from the HRT sourceforge site. You need a recent glibc
>>> and some quirks in the source. See the cyclictest program I'm using.
>>> http://www.tglx.de/projects/misc/cyclictest/cyclictest-v0.8.tar.bz2
>>>
>> I didn't realize that. Right you are.
>>
> Here is a new one that no longer requires the HRT sourceforge package. Thanks
> again.
>
> ftp://ftp.compro.net/public/rt-exec/rt-exec-1.0.1.tar.bz2
>
>>> It would also be cute to add tests for the PI support for
>>> pthread_mutexes.
>>>
>>> tglx
>> I'm not sure what one needs to do in user land to actually test that but I'll
>> investigate.
>>
> Still investigating...


Am I even close in assuming that to enable the PI support you have to use

pthread_mutexattr_setprotocol(mutexattr, PTHREAD_PRIO_INHERIT);

I have only glibc 2.3 and 2.4 and neither of them understand what
PTHREAD_PRIO_INHERIT is.

Can anyone point me to an some Doc or examples of how to enable PI for
pthread_mutexes?

Sorry I'm ignorant on the subject. I do understand the principle of PI and may
even be able to figure out how to test it in user land but how do I turn it on?

Thanks
Mark


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-06-09 22:07    [W:0.044 / U:4.480 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site