Skip to contentSkip to conversation

core-image-sato-sdk-ptest: use 3G of RAM

PATCH In review Changqing Li 2 participants 2 messages Jan 26, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 core-image-sato-sdk-ptest: use 3G of RAM

[YOCTO #14164]

Some ptest cases, for example, libinput ptest intermittent failure on arm64, this should caused by OOM Killer.

---
 meta/recipes-sato/images/core-image-sato-sdk-ptest.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-sato/images/core-image-sato-sdk-ptest.bb +1 -1
index bf749acd79..b3ce859d76 100644
@@ -17,7 +17,7 @@ IMAGE_ROOTFS_EXTRA_SPACE = "1124288"
 
 # ptests need more memory than standard to avoid the OOM killer
 # also lttng-tools needs /tmp that has at least 1G
-QB_MEM = "-m 2048"
+QB_MEM = "-m 3072"
 
 # Sadly at the moment the full set of ptests is not robust enough and sporadically fails in random places
 PTEST_EXPECT_FAILURE = "1"
Signature · 1 line
2.17.1
#1 lore raw
Quoted 22 lines · Changqing Li

[YOCTO #14164]

Some ptest cases, for example, libinput ptest intermittent failure on arm64, this should caused by OOM Killer.

---
 meta/recipes-sato/images/core-image-sato-sdk-ptest.bb | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-sato/images/core-image-sato-sdk-ptest.bb +0 -0
index bf749acd79..b3ce859d76 100644
@@ -17,7 +17,7 @@ IMAGE_ROOTFS_EXTRA_SPACE = "1124288"

 # ptests need more memory than standard to avoid the OOM killer
 # also lttng-tools needs /tmp that has at least 1G

meta/recipes-sato/images/core-image-sato-sdk-ptest.bb IMAGE_ROOTFS_EXTRA_SPACE = "1124288" · line 20

Quoted 2 lines
meta/recipes-sato/images/core-image-sato-sdk-ptest.bb +1 -1
-QB_MEM = "-m 2048"
+QB_MEM = "-m 3072"

What is libinput doing that needs 3GB of memory? Is this because its loading a whole graphics stack for testing or something? It seems odd that we need that much memory for input drivers!

Cheers,

Richard