On Fri, 2010-01-08 at 11:14 +0100, Gilles Chanteperdrix wrote:
> due to bugs, it may happen that the latency test spots are due to
> involuntary mode switches to secondary mode. This is bad, because users
> testing xenomai quickly on their platform may find a bad latency, and go
> quickly to conclusions without even posting a mail on the mailing lists.
> Avoiding this looks simple: we should enable T_WARNSW on the sampling
> thread, and make it the default behaviour. But unfortunately, there are
> platforms around such as some low-end ppc where switches to secondary
> mode are normal, so stopping the test when hitting such mode switches
> may not be the best thing to do.
> So, what do you think should be done?
Let's report those switches in the test output without stopping it, so
that we may have some hints when pathological latencies happen.
Xenomai-core mailing list