Re: Posix realtime thread scheduling latencies
Leon Woestenberg <[email protected]>
| Newsgroups | gmane.linux.ports.arm.general |
|---|---|
| Message-ID | <[email protected]> |
Hello Daniel, On Mon, Aug 3, 2009 at 3:47 PM, Daniel Himmelein<[email protected]> wrote: > I observed some strange behaviour with scheduling realtime pthreads on > Linux (2.6.26, Freescale i.MX31 (ARM11) board). > 1) It seems you need to add the PREEMPT_RT patch which enables PREEMPT_RT rather than PREEMPT. Hard real-time scheduling is not yet fully upstream in the Linux kernel, and you seem to be using a part of the API that is devoted to real-time scheduling, but for now, will only schedule in a soft-real-time manner. http://rt.wiki.kernel.org/index.php/CONFIG_PREEMPT_RT_Patch 2) If you do have that patch applied, make sure your .config uses CONFIG_PREEMPT_RT Regards, Leon. ------------------------------------------------------------------- List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm FAQ: http://www.arm.linux.org.uk/mailinglists/faq.php Etiquette: http://www.arm.linux.org.uk/mailinglists/etiquette.php