2006-10-02 22:27:46

by Lee Revell

[permalink] [raw]
Subject: Re: RT exec for exercising RT kernel capabilities

On Fri, 2006-07-14 at 22:10 -0400, Lee Revell wrote:
> On Sat, 2006-07-15 at 04:04 +0200, Thomas Gleixner wrote:
> > On Fri, 2006-07-14 at 18:34 -0400, Lee Revell wrote:
> > > On Thu, 2006-06-08 at 15:12 -0400, Mark Hounschell wrote:
> > > > ftp://ftp.compro.net/public/rt-exec/
> > >
> > > The high res timers do not seem to be working. Using 2.6.17-rt3 and
> > > glibc 2.3.6, I get the exact same (bad) results whether
> > > CONFIG_HIGH_RES_TIMERS is enabled or not.
> >
> > Can you please send me a boot log ?
>
> Sent off-list.

I've discovered the problem - I was running rt-exec as a non-root user.

Is the use of high res timers limited to root?

Lee


2006-10-02 22:37:54

by Thomas Gleixner

[permalink] [raw]
Subject: Re: RT exec for exercising RT kernel capabilities

On Mon, 2006-10-02 at 18:27 -0400, Lee Revell wrote:
> On Fri, 2006-07-14 at 22:10 -0400, Lee Revell wrote:
> > On Sat, 2006-07-15 at 04:04 +0200, Thomas Gleixner wrote:
> > > On Fri, 2006-07-14 at 18:34 -0400, Lee Revell wrote:
> > > > On Thu, 2006-06-08 at 15:12 -0400, Mark Hounschell wrote:
> > > > > ftp://ftp.compro.net/public/rt-exec/
> > > >
> > > > The high res timers do not seem to be working. Using 2.6.17-rt3 and
> > > > glibc 2.3.6, I get the exact same (bad) results whether
> > > > CONFIG_HIGH_RES_TIMERS is enabled or not.
> > >
> > > Can you please send me a boot log ?
> >
> > Sent off-list.
>
> I've discovered the problem - I was running rt-exec as a non-root user.
>
> Is the use of high res timers limited to root?

No. I guess the priority setting is not working as non-root.

tglx


2006-10-03 11:14:59

by Mark Hounschell

[permalink] [raw]
Subject: Re: RT exec for exercising RT kernel capabilities

Thomas Gleixner wrote:
> On Mon, 2006-10-02 at 18:27 -0400, Lee Revell wrote:
>> On Fri, 2006-07-14 at 22:10 -0400, Lee Revell wrote:
>>> On Sat, 2006-07-15 at 04:04 +0200, Thomas Gleixner wrote:
>>>> On Fri, 2006-07-14 at 18:34 -0400, Lee Revell wrote:
>>>>> On Thu, 2006-06-08 at 15:12 -0400, Mark Hounschell wrote:
>>>>>> ftp://ftp.compro.net/public/rt-exec/
>>>>> The high res timers do not seem to be working. Using 2.6.17-rt3 and
>>>>> glibc 2.3.6, I get the exact same (bad) results whether
>>>>> CONFIG_HIGH_RES_TIMERS is enabled or not.
>>>> Can you please send me a boot log ?
>>> Sent off-list.
>> I've discovered the problem - I was running rt-exec as a non-root user.
>>
>> Is the use of high res timers limited to root?
>
> No. I guess the priority setting is not working as non-root.
>
> tglx
>

I think I put something in the README about this? Yep..

Mark