[OE-core] [PATCH 7/9] core-image-sato-sdk-ptest: use 2G of RAM

Khem Raj raj.khem at gmail.com
Mon Jan 27 21:02:25 UTC 2020


On Mon, Jan 27, 2020 at 12:56 PM Alexander Kanavin
<alex.kanavin at gmail.com> wrote:
>
> This is only used on x86_64 and arm64 by the autobuilder, so we should be fine.
>

OK. lets set this for those two architectures for now. The image can
be built beyond Autobuilders for
other arches as well. Perhaps this setting is a candidate for auto.conf on AB

> Alex
>
> On Mon, 27 Jan 2020 at 21:54, Khem Raj <raj.khem at gmail.com> wrote:
>>
>> On Mon, Jan 27, 2020 at 6:20 AM Alexander Kanavin
>> <alex.kanavin at gmail.com> wrote:
>> >
>> > Particularly, 1G wasn't enough for lttng-tools ptests as
>> > half of that went to /tmp, and lttng-tools needs more.
>> >
>> > Signed-off-by: Alexander Kanavin <alex.kanavin at gmail.com>
>> > ---
>> >  meta/recipes-sato/images/core-image-sato-sdk-ptest.bb | 3 ++-
>> >  1 file changed, 2 insertions(+), 1 deletion(-)
>> >
>> > diff --git a/meta/recipes-sato/images/core-image-sato-sdk-ptest.bb b/meta/recipes-sato/images/core-image-sato-sdk-ptest.bb
>> > index 7490b773d2e..58c257c49fb 100644
>> > --- a/meta/recipes-sato/images/core-image-sato-sdk-ptest.bb
>> > +++ b/meta/recipes-sato/images/core-image-sato-sdk-ptest.bb
>> > @@ -16,4 +16,5 @@ IMAGE_OVERHEAD_FACTOR = "1.0"
>> >  IMAGE_ROOTFS_EXTRA_SPACE = "1124288"
>> >
>> >  # ptests need more memory than standard to avoid the OOM killer
>> > -QB_MEM = "-m 1024"
>> > +# also lttng-tools needs /tmp that has at least 1G
>> > +QB_MEM = "-m 2048"
>>
>> perhaps we need to be cautious here and check if all qemu machines can
>> support 2G emulation.
>>
>> > --
>> > 2.17.1
>> >
>> > --
>> > _______________________________________________
>> > Openembedded-core mailing list
>> > Openembedded-core at lists.openembedded.org
>> > http://lists.openembedded.org/mailman/listinfo/openembedded-core


More information about the Openembedded-core mailing list