Hi,

I had a slight problem with freezing tasks in RTXI using Xenomai. Namely, task was working normally for some time and then froze, but just RTXI/task not the whole system. I've found that it was caused by the stack size of a task set to 2000B during the creation. Changing it to 0, i.e., automatic stack size fixed the freezing. My question is what is a preferred value there? Before on the list I asked about a problem with the stack size in the kernel being to small for switchtest to run properly on i7 machine. There, one of the answers was that safe bet is 8kB for 64-bit machine. I'm not sure should I leave the stack size in rt_task_create to 0 or to some high value or it should be machine dependent? What is being put on this stack and how to determine it's size depending on the complexity of the task (number of vars?)?

Cheers,

Jakub


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

Reply via email to