Skip to contentSkip to conversation

Time between ISR and RT Task

Xenomai-help [email protected] 2 participants 2 messages Aug 3, 2006

lore
Share & tools
lore
#0 lore raw

Hello

I have run a few programs with Xenomai tasks and have no problems. But I notice that the time between ISR and RT task ( RT task is suspended and resumed by the ISR) is shorter when Linux have a lot of work ( average load around 10 ) as when Linux has nothing to do( al : 0.05 ).

My simple Question is why ?? :)

thx
Ted

Signature · 2 lines
Echte DSL-Flatrate dauerhaft für 0,- Euro*. Nur noch kurze Zeit!
"Feel free" mit GMX DSL: http://www.gmx.net/de/go/dsl
#1 lore raw
Quoted 3 lines · [email protected] wrote:

Hello

I have run a few programs with Xenomai tasks and have no problems. But I notice that the time between ISR and RT task ( RT task is suspended and resumed by the ISR) is shorter when Linux have a lot of work ( average load around 10 ) as when Linux has nothing to do( al : 0.05 ).

Do you observe this for worst case, or for average case latencies? Do you observe this when you boot with the idle=poll parameter ?

When idle, Linux uses the 'hlt' instruction, that stops the CPU until an interrupt happen, maybe waking up from this state take a little bit more time than when an interrupt is received directly?

Signature · 1 line
					    Gilles Chanteperdrix.