On Fri, Apr 18, 2008 at 5:08 PM, Bosko Radivojevic
<[EMAIL PROTECTED]> wrote:
> On Fri, Apr 18, 2008 at 4:48 PM, Gilles Chanteperdrix
>  <[EMAIL PROTECTED]> wrote:
>
>  >  It's funny to notice how much you asked for the 2.6.24 patch for
>  >  actually not using it.
>
>  :) Actually, I've tried with the 2.6.24.3, Adeos 1.9-01 & Xenomai
>  2.4.3 before I posted my mail, but results are the same. And, yes, I'm
>  using it heavily, but because of some other 'compatibility issues' I
>  still haven't fully migrated to the 2.6.24. Thank you very much for
>  migrating Adeos to 2.6.24, I really appreciate it.
>
>
>  >  - handle interrupts in kernel space, so that you will be limited by
>  >  interrupt latency, not user-space scheduling latency
>  >  - use trunk so that user-space context switches involving real-time
>  >  threads do not happen with hardware interrupts off.
>
>  Will I get anything using xenomai-trunk, and still handling interrupt
>  from user-space?

No, the 250us switch time is due to the full cache flush which happens
at each user-space context switch on ARM (this happens because of the
ARM VIVT cache).

The only way to avoid it would be to use ucLinux. Unfortunately, the
status of ucLinux on ARM is quite fuzzy at the moment. It seems some
nommu patches have been merged in the mainstream Linux, but the kernel
still needs further patching. Which is why I have not yet tried
Xenomai over ucLinux on ARM.

Another approach is to use the FCSE extension found on some ARMs
cores, (I think ARM 926EJ-S and onwards). Using this extension imposes
some limitations (maximum number of processes and maximum RAM size for
each process). Richard Cochran posted a patch to modify Linux to use
this extension on Adeos mailing list. I had no time yet to test it,
but I think adapting Xenomai to this patch requires little work if
any.

-- 
 Gilles

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to