* [Xenomai-help] Xenomai IRQ question
@ 2012-01-16 23:36 Terry Fryar
2012-01-17 0:23 ` Gilles Chanteperdrix
0 siblings, 1 reply; 5+ messages in thread
From: Terry Fryar @ 2012-01-16 23:36 UTC (permalink / raw)
To: xenomai
[-- Attachment #1: Type: text/plain, Size: 249 bytes --]
Using xenomai irq's in user mode on a beaglexm. It appears that irq latency
is around 44 microseconds from the edge until the isr is executed. Is there
any way to reduce the latency? Already using 99 as the priority for the isr
task.
Thanks!
[-- Attachment #2: Type: text/html, Size: 845 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Xenomai-help] Xenomai IRQ question
2012-01-16 23:36 [Xenomai-help] Xenomai IRQ question Terry Fryar
@ 2012-01-17 0:23 ` Gilles Chanteperdrix
2012-01-17 16:25 ` Terry Fryar
0 siblings, 1 reply; 5+ messages in thread
From: Gilles Chanteperdrix @ 2012-01-17 0:23 UTC (permalink / raw)
To: Terry Fryar; +Cc: xenomai
On 01/17/2012 12:36 AM, Terry Fryar wrote:
> Using xenomai irq's in user mode on a beaglexm. It appears that irq latency
> is around 44 microseconds from the edge until the isr is executed. Is there
> any way to reduce the latency? Already using 99 as the priority for the isr
> task.
Handle the irq in kernel mode using an RTDM driver.
--
Gilles.
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [Xenomai-help] Xenomai IRQ question
2012-01-17 0:23 ` Gilles Chanteperdrix
@ 2012-01-17 16:25 ` Terry Fryar
2012-01-17 19:27 ` Gilles Chanteperdrix
0 siblings, 1 reply; 5+ messages in thread
From: Terry Fryar @ 2012-01-17 16:25 UTC (permalink / raw)
To: 'Gilles Chanteperdrix'; +Cc: xenomai
Ok, on a falling edge irq, I'm using an RTDM driver and I'm down to 2.3uS,
which is quite an improvement. However, it's still not fast enough...I need
to hit a window of about 500nS. Any other suggestions?
I use the rtdm_irq_request to hook the ISR, and I set up the irq by hand
using mem mapping to directly access the registers on the beagle. At this
point, I'm not sure where else to try and speed things up?
Thanks!
-----Original Message-----
From: Gilles Chanteperdrix [mailto:gilles.chanteperdrix@xenomai.org]
Sent: Monday, January 16, 2012 6:24 PM
To: Terry Fryar
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Xenomai IRQ question
On 01/17/2012 12:36 AM, Terry Fryar wrote:
> Using xenomai irq's in user mode on a beaglexm. It appears that irq
> latency is around 44 microseconds from the edge until the isr is
> executed. Is there any way to reduce the latency? Already using 99
> as the priority for the isr task.
Handle the irq in kernel mode using an RTDM driver.
--
Gilles.
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [Xenomai-help] Xenomai IRQ question
2012-01-17 16:25 ` Terry Fryar
@ 2012-01-17 19:27 ` Gilles Chanteperdrix
2012-01-17 21:01 ` Terry Fryar
0 siblings, 1 reply; 5+ messages in thread
From: Gilles Chanteperdrix @ 2012-01-17 19:27 UTC (permalink / raw)
To: Terry Fryar; +Cc: xenomai
On 01/17/2012 05:25 PM, Terry Fryar wrote:
> Ok, on a falling edge irq, I'm using an RTDM driver and I'm down to 2.3uS,
> which is quite an improvement. However, it's still not fast enough...I need
> to hit a window of about 500nS. Any other suggestions?
>From what I recall, irq latency under load on a 720 MHz OMAP3 is more
around 20us.
>
> I use the rtdm_irq_request to hook the ISR, and I set up the irq by hand
> using mem mapping to directly access the registers on the beagle. At this
> point, I'm not sure where else to try and speed things up?
500ns is not much. I do not think we support this kind of latency on any
processor.
--
Gilles.
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [Xenomai-help] Xenomai IRQ question
2012-01-17 19:27 ` Gilles Chanteperdrix
@ 2012-01-17 21:01 ` Terry Fryar
0 siblings, 0 replies; 5+ messages in thread
From: Terry Fryar @ 2012-01-17 21:01 UTC (permalink / raw)
To: 'Gilles Chanteperdrix'; +Cc: xenomai
Ok, thanks Gilles!!
-----Original Message-----
From: Gilles Chanteperdrix [mailto:gilles.chanteperdrix@xenomai.org]
Sent: Tuesday, January 17, 2012 1:28 PM
To: Terry Fryar
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Xenomai IRQ question
On 01/17/2012 05:25 PM, Terry Fryar wrote:
> Ok, on a falling edge irq, I'm using an RTDM driver and I'm down to
> 2.3uS, which is quite an improvement. However, it's still not fast
> enough...I need to hit a window of about 500nS. Any other suggestions?
>From what I recall, irq latency under load on a 720 MHz OMAP3 is more around
20us.
>
> I use the rtdm_irq_request to hook the ISR, and I set up the irq by
> hand using mem mapping to directly access the registers on the beagle.
> At this point, I'm not sure where else to try and speed things up?
500ns is not much. I do not think we support this kind of latency on any
processor.
--
Gilles.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-01-17 21:01 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-16 23:36 [Xenomai-help] Xenomai IRQ question Terry Fryar
2012-01-17 0:23 ` Gilles Chanteperdrix
2012-01-17 16:25 ` Terry Fryar
2012-01-17 19:27 ` Gilles Chanteperdrix
2012-01-17 21:01 ` Terry Fryar
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.