On 20/06/2011 18:34, Gilles Chanteperdrix wrote:
On 06/20/2011 06:16 PM, Philippe Gerum wrote:
On Mon, 2011-06-20 at 16:25 +0100, Jakub Nowacki wrote:
On 06/20/2011 04:02 PM, Gilles Chanteperdrix wrote:
You have to increase CONFIG_XENO_OPT_SYS_STACKPOOLSZ.

It is 128 Kb now. Should it be more? Is there any (thumb) rule for this
value?

Max # of concurrent kernel-based Xenomai threads x stack_size. 8k stack
minimum is a safe bet for x86_64.

Typically, RTDM (driver) tasks in kernel space are Xenomai ones, so you
would need to reserve stack space for each of them in this amount.

The switchtest driver is RTDM-based, and may run a number of RTDM tasks,
depending on the test scenario.

The default scenario being to run 6 rtdm tasks by cpu (that would make
48 on an 8 cores processor).

Thanks for the explanation. I've changed the stack pool size to 512kb, which is slightly more then minimum, and it allowed the test to run.

As for the tests, I don't think I have to be more pessimistic in it. I have to (finally) do some lab testing, which would potentially reveal some problems. Nonetheless, thanks for the suggestions.

Cheers,

Jakub



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

Reply via email to