From: "Stéphane ANCELOT" <sancelot@free.fr>
To: "xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai] v3 heap mem-pool-size
Date: Thu, 28 May 2015 11:44:20 +0200 [thread overview]
Message-ID: <5566E374.3000706@free.fr> (raw)
In-Reply-To: <5566D83B.1020006@free.fr>
On 24/05/2015 10:29, Philippe Gerum wrote:
> On 05/07/2015 03:14 PM, Jeff Webb wrote:
>> On 05/07/2015 04:07 AM, Gilles Chanteperdrix wrote:
>>> On Thu, May 07, 2015 at 08:54:31AM +0200, Stéphane ANCELOT wrote:
>>>> Hi,
>>>>
>>>> Is there a better way to raise mem-pool-size other than specifying in
>>>> cmdline ?
>>>>
>>>> 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?
>>>
>> 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 to copperplate_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/
>
> You may be interested in using the tunables:
> http://xenomai.org/2015/05/application-setup-and-init/#Configuration_and_runtime_tunables
>
> I 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
next parent reply other threads:[~2015-05-28 9:44 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <5566D83B.1020006@free.fr>
2015-05-28 9:44 ` Stéphane ANCELOT [this message]
2015-05-07 6:54 [Xenomai] v3 heap mem-pool-size Stéphane ANCELOT
2015-05-07 9:07 ` Gilles Chanteperdrix
2015-05-07 13:14 ` Jeff Webb
2015-05-11 14:14 ` Philippe Gerum
2015-05-11 15:15 ` Stéphane ANCELOT
2015-05-11 15:57 ` Jeff Webb
2015-05-24 8:29 ` Philippe Gerum
2015-05-29 6:58 ` Stéphane ANCELOT
2015-05-07 13:44 ` Stéphane ANCELOT
2015-05-07 15:32 ` Gilles Chanteperdrix
2015-05-11 13:00 ` Stéphane ANCELOT
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5566E374.3000706@free.fr \
--to=sancelot@free.fr \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.