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

Khem Raj raj.khem at gmail.com
Mon Jan 27 22:07:51 UTC 2020


On Mon, Jan 27, 2020 at 1:46 PM Alexander Kanavin
<alex.kanavin at gmail.com> wrote:
>
> This would be over-engineering; I highly doubt anyone would want to run this in qemu for any other architecture than those two. Without kvm or other HW accelerated virtualization many of those ptests will simply fail on timeout, and if not, they'll still be running when the heat death of the universe occurs.

I was not aware if this image is only meant for x86/arm64.
I do build the same images as AB for qemumips and boot them, although
tests are not run yet regularly matter of time. But building them
itself catches many build issues.

if these images do not have value for other machines then perhaps some
message or comment in recipe, will save some debugging time for
someone in future who is trying to boot it on other arches.

>
> Alex
>
> On Mon, 27 Jan 2020 at 22:02, Khem Raj <raj.khem at gmail.com> wrote:
>>
>> 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