On 09/24/2012 03:33 PM, Henri Roosen wrote:
> Hi,
>
> I'm currently doing some tests on an Intel ATOM D2700 and try to run
> Xenomai threads on different cores. Currently using kernel 3.4.6,
> x86-32 SMP, and Xenomai 2.6.1 SMP.
>
> It seems the kernel detects the ATOM's TSC as unusable in SMP
> configuration and switches to the jiffies clock. This because there is
> an offset between both TSC counters of both cores. It seems even
> though the CPU has constant_tsc and nonstop_tsc, there is no guarantee
> for the counters to have the same value. I guess just the offset stays
> the same.
>
> My question is what are the implications for Xenomai not being able to
> have a TSC in SMP configuration, as Xenomai heavily relies on the TSC?
Xenomai should not take what Linux does into accout, and continue to use
the TSC, you should see if that is the case by running
cat /proc/xenomai/timer
Something else you should check is whether Linux stops using the TSC
without CONFIG_IPIPE, because the fact that Linux declares the TSC
unusable may be an unwanted consequence of the I-pipe patch, for
instance the changes done for dynamic tsc detection.
--
Gilles.
_______________________________________________
Xenomai mailing list
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai