* RT example
@ 2007-01-24 18:58 Junior
2007-01-25 7:01 ` Robert Schwebel
0 siblings, 1 reply; 6+ messages in thread
From: Junior @ 2007-01-24 18:58 UTC (permalink / raw)
To: linux-rt-users
Hi All,
Does anyone have example code using the PREEMPT_RT patch?
I've installed the patch for 2.6.18 and notice I'm actually runiing slower that without the patch.
I'm pretty sure it's something I'm doing or not doing and an example or some other docs should be enough to get me started.
Thanks,
PS. I'm using an ARM9 platform
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: RT example
2007-01-24 18:58 RT example Junior
@ 2007-01-25 7:01 ` Robert Schwebel
2007-01-25 14:30 ` Junior
0 siblings, 1 reply; 6+ messages in thread
From: Robert Schwebel @ 2007-01-25 7:01 UTC (permalink / raw)
To: Junior; +Cc: linux-rt-users
On Wed, Jan 24, 2007 at 10:58:41AM -0800, Junior wrote:
> Does anyone have example code using the PREEMPT_RT patch?
You could for example start with cyclictest. It is also a good example
for how to write cyclic realtime programs on Linux.
> I've installed the patch for 2.6.18 and notice I'm actually runiing
> slower that without the patch. I'm pretty sure it's something I'm
> doing or not doing and an example or some other docs should be enough
> to get me started.
Note that realtime is not about running fast, but running "in time".
That may often mean that the overall system performance goes down.
> PS. I'm using an ARM9 platform
Do you have clocksource/clockevent support for your ARM9 chip?
Robert
--
Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
Pengutronix - Linux Solutions for Science and Industry
Handelsregister: Amtsgericht Hildesheim, HRA 2686
Hannoversche Str. 2, 31134 Hildesheim, Germany
Phone: +49-5121-206917-0 | Fax: +49-5121-206917-9
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: RT example
2007-01-25 7:01 ` Robert Schwebel
@ 2007-01-25 14:30 ` Junior
2007-01-25 15:11 ` Junior
0 siblings, 1 reply; 6+ messages in thread
From: Junior @ 2007-01-25 14:30 UTC (permalink / raw)
To: Robert Schwebel; +Cc: linux-rt-users
> On Wed, Jan 24, 2007 at 10:58:41AM -0800, Junior wrote:
>> Does anyone have example code using the PREEMPT_RT patch?
>
> You could for example start with cyclictest. It is also a good example
> for how to write cyclic realtime programs on Linux.
Thanks, I will start there.
> Note that realtime is not about running fast, but running "in time".
> That may often mean that the overall system performance goes down.
>
>> PS. I'm using an ARM9 platform
>
> Do you have clocksource/clockevent support for your ARM9 chip?
Aparently I don't. It's set as IS_TICK_BASED. How does this affect the system?
Thanks,
--Jr.
____________________________________________________________
ONE-CLICK WEBMAIL ACCESS - Easily monitor & access your email accounts!
Visit http://www.inbox.com/notifier and check it out!
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: RT example
2007-01-25 14:30 ` Junior
@ 2007-01-25 15:11 ` Junior
2007-01-27 19:34 ` Junior
0 siblings, 1 reply; 6+ messages in thread
From: Junior @ 2007-01-25 15:11 UTC (permalink / raw)
To: Robert Schwebel; +Cc: linux-rt-users
> On Wed, Jan 24, 2007 at 10:58:41AM -0800, Junior wrote:
>> Does anyone have example code using the PREEMPT_RT patch?
>
> You could for example start with cyclictest. It is also a good example
> for how to write cyclic realtime programs on Linux.
Thanks, I will start there.
Where do I get the rt library? (-lrt in makefile)?
cyclictest.c: In function `timerthread':
cyclictest.c:153: error: `SIGEV_THREAD_ID' undeclared (first use in this function)
Someone got this before but no solution on how to fix it.
> Note that realtime is not about running fast, but running "in time".
> That may often mean that the overall system performance goes down.
>
>> PS. I'm using an ARM9 platform
>
> Do you have clocksource/clockevent support for your ARM9 chip?
Aparently I don't. It's set as IS_TICK_BASED. How does this affect the system?
Thanks,
--Jr.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: RT example
2007-01-25 15:11 ` Junior
@ 2007-01-27 19:34 ` Junior
2007-02-02 15:37 ` Junior
0 siblings, 1 reply; 6+ messages in thread
From: Junior @ 2007-01-27 19:34 UTC (permalink / raw)
To: Junior, Robert Schwebel; +Cc: linux-rt-users
Hi All,
Does anyone have any comments on my quesions below.
I'm really looking for a good place to start and it would be a great help if someone could suggest one.
Or, someone could guide me in the right direction with a serial driver I'm working on. I'm trying to make the serial driver interrupt
get serviced with 10-12ms when its fired. Do I use a timer or is there something in the rt patch that I can adjust in response to interrupts?
Thanks much.
--Junior
> -----Original Message-----
> From: ejr@inbox.com
> Sent: Thu, 25 Jan 2007 07:11:30 -0800
> To: r.schwebel@pengutronix.de
> Subject: Re: RT example
>
>> On Wed, Jan 24, 2007 at 10:58:41AM -0800, Junior wrote:
>>> Does anyone have example code using the PREEMPT_RT patch?
>>
>> You could for example start with cyclictest. It is also a good example
>> for how to write cyclic realtime programs on Linux.
>
> Thanks, I will start there.
>
> Where do I get the rt library? (-lrt in makefile)?
>
> cyclictest.c: In function `timerthread':
> cyclictest.c:153: error: `SIGEV_THREAD_ID' undeclared (first use in this
> function)
>
> Someone got this before but no solution on how to fix it.
>
>
>> Note that realtime is not about running fast, but running "in time".
>> That may often mean that the overall system performance goes down.
>>
>>> PS. I'm using an ARM9 platform
>>
>> Do you have clocksource/clockevent support for your ARM9 chip?
>
> Aparently I don't. It's set as IS_TICK_BASED. How does this affect the
> system?
>
> Thanks,
> --Jr.
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: RT example
2007-01-27 19:34 ` Junior
@ 2007-02-02 15:37 ` Junior
0 siblings, 0 replies; 6+ messages in thread
From: Junior @ 2007-02-02 15:37 UTC (permalink / raw)
To: linux-rt-users
With no response, perhaps someone can tell me what are the basic needs for a ARM platform to use the rt patches.
So far, the pactches hurt rather than help me and I've remove them. So, there must be something I don't know I'm missing.
Your help will be appreciated.
--Jr.
> -----Original Message-----
> From: ejr@inbox.com
> Sent: Sat, 27 Jan 2007 11:34:05 -0800
> To: ejr@inbox.com, r.schwebel@pengutronix.de
> Subject: Re: RT example
>
> Hi All,
> Does anyone have any comments on my quesions below.
> I'm really looking for a good place to start and it would be a great help
> if someone could suggest one.
>
> Or, someone could guide me in the right direction with a serial driver
> I'm working on. I'm trying to make the serial driver interrupt
> get serviced with 10-12ms when its fired. Do I use a timer or is there
> something in the rt patch that I can adjust in response to interrupts?
>
> Thanks much.
> --Junior
>
>> -----Original Message-----
>> From: ejr@inbox.com
>> Sent: Thu, 25 Jan 2007 07:11:30 -0800
>> To: r.schwebel@pengutronix.de
>> Subject: Re: RT example
>>
>>> On Wed, Jan 24, 2007 at 10:58:41AM -0800, Junior wrote:
>>>> Does anyone have example code using the PREEMPT_RT patch?
>>>
>>> You could for example start with cyclictest. It is also a good example
>>> for how to write cyclic realtime programs on Linux.
>>
>> Thanks, I will start there.
>>
>> Where do I get the rt library? (-lrt in makefile)?
>>
>> cyclictest.c: In function `timerthread':
>> cyclictest.c:153: error: `SIGEV_THREAD_ID' undeclared (first use in this
>> function)
>>
>> Someone got this before but no solution on how to fix it.
>>
>>
>>> Note that realtime is not about running fast, but running "in time".
>>> That may often mean that the overall system performance goes down.
>>>
>>>> PS. I'm using an ARM9 platform
>>>
>>> Do you have clocksource/clockevent support for your ARM9 chip?
>>
>> Aparently I don't. It's set as IS_TICK_BASED. How does this affect the
>> system?
>>
>> Thanks,
>> --Jr.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-02-02 15:37 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-24 18:58 RT example Junior
2007-01-25 7:01 ` Robert Schwebel
2007-01-25 14:30 ` Junior
2007-01-25 15:11 ` Junior
2007-01-27 19:34 ` Junior
2007-02-02 15:37 ` Junior
[not found] <dbdbe3a7ef0.0000058dejr@inbox.com>
[not found] ` <20070125070133.gy28808@pengutronix.de>
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).