v3 heap mem-pool-size
Quoted 34 lines · Philippe Gerum
Quoted 14 lines · Jeff Webb
Quoted 6 lines · Gilles Chanteperdrix
Quoted 5 lines · Stéphane ANCELOT
Hi,
Is there a better way to raise mem-pool-size other than specifying in cmdline ?
Quoted 7 lines
Quoted 3 lines
0"007.389| WARNING: [main] heapobj_init() failed for 470 bytes,raise
--mem-pool-size?A command line option is nice, it allows you to do basically anything you want by calling your program from a script. What is it you want to do that can not be achieved this way?
Quoted 13 lines
If we don't want to call our application from a script to set appropriate Xenomai parameters, will supplying the --no-auto-init option to xeno-config allow us to set Xenomai run-time options to the desired values by manually calling
copperplate_init()from our application? Are the options that can be passed tocopperplate_init()the ones described here [1]? Do these options apply to applications based on the POSIX skin as well? If so, I am slightly confused because the documentation (e.g. [2], [3]) that states that all APIs except POSIX are based on the Copperplate library, so it would seem that Copperplate related stuff would not apply to POSIX applications. I apologize if this is a silly question, but I am still coming up to speed on the new Xenomai 3 architecture.There used to be an inconsistency regarding this, because POSIX apps did not share the same init sequence internally than non-POSIX ones. This has been fixed by recent changes, available from the master branch. The new (common) init sequence of all Xenomai applications is described in this document: http://xenomai.org/2015/05/application-setup-and-init/
Quoted 6 lines
You may be interested in using the tunables:
http://xenomai.org/2015/05/application-setup-and-init/#Configuration_and_runtime_tunablesI have checked this approach with a large, real world application, which looks good so far. Please let me know if that addresses your requirements as well. Thanks,
Hi,
So, if I understand, if I want two programs using shared heaps area, I have to define session setting ?
Regards,
Steph