On 05/13/2016 03:27 PM, Marcel Van Mierlo wrote:
> Hi,
> 
> 
> Which parameters limit the number of psos skin tasks that can be created 
> using t_create()? (ARM (Beagle), Xenomai 3.0).
> 
> At the moment I am getting ERR_NOTCB back after creating about 118 tasks 
> (just calling t_create not t_start). In production we are hitting the limit 
> at about 70 tasks...though sometimes we can go a bit higher.
> 
>>From the documentation I see:
> 
> * t_create() returns ERR_NOTCB upon memory allocation failure when
> trying to get a task control block from the nucleus heap. There is
> no control block limit for tasks.
> 
> 
> So I adjusted the following:
> 
> CONFIG_XENO_OPT_SYS_HEAPSZ=1024
> CONFIG_XENO_OPT_PRIVATE_HEAPSZ=128
> CONFIG_XENO_OPT_SHARED_HEAPSZ=128
> 

You likely need to raise CONFIG_XENO_OPT_REGISTRY_NRSLOTS.

-- 
Philippe.

_______________________________________________
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai

Reply via email to