summaryrefslogtreecommitdiffstats
path: root/meta-agl-ic-container/recipes-container/container-manager-config/cm-config-agl-qt-ivi-demo
diff options
context:
space:
mode:
authorNaoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>2024-12-01 15:40:34 +0900
committerNaoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>2024-12-01 16:06:21 +0900
commitbf658e9eee9a2fcc0039ff2c667d9e260d5e56b4 (patch)
tree43f13ee8f0907ae1fb0cb738a39d92b38217ad32 /meta-agl-ic-container/recipes-container/container-manager-config/cm-config-agl-qt-ivi-demo
parentc152bca6461c72d527af8f38545d8a0bc2324747 (diff)
Change container manager configs from cgroupv1 to v2
AGL was migrate to cgroup v2 integration from cgroup v1 and v2 mixin integration. Existing container-manager does not support cgroupv2 based resource control. This patch change resource control settings from cgroup v1 base to cgroup v2 base. Bug-AGL: SPEC-5284 Change-Id: I91761248f36b78b4ae4936d54d60acb92366f999 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Diffstat (limited to 'meta-agl-ic-container/recipes-container/container-manager-config/cm-config-agl-qt-ivi-demo')
-rw-r--r--meta-agl-ic-container/recipes-container/container-manager-config/cm-config-agl-qt-ivi-demo/nanopct6/agl-qt-ivi-demo.json9
-rw-r--r--meta-agl-ic-container/recipes-container/container-manager-config/cm-config-agl-qt-ivi-demo/rcar-gen3/agl-qt-ivi-demo.json12
2 files changed, 19 insertions, 2 deletions
diff --git a/meta-agl-ic-container/recipes-container/container-manager-config/cm-config-agl-qt-ivi-demo/nanopct6/agl-qt-ivi-demo.json b/meta-agl-ic-container/recipes-container/container-manager-config/cm-config-agl-qt-ivi-demo/nanopct6/agl-qt-ivi-demo.json
index b74170ef..ef92b4cc 100644
--- a/meta-agl-ic-container/recipes-container/container-manager-config/cm-config-agl-qt-ivi-demo/nanopct6/agl-qt-ivi-demo.json
+++ b/meta-agl-ic-container/recipes-container/container-manager-config/cm-config-agl-qt-ivi-demo/nanopct6/agl-qt-ivi-demo.json
@@ -31,9 +31,14 @@
},
"resource": [
{
- "type": "cgroup",
+ "type": "cgroupv2",
"object": "cpuset.cpus",
- "value": "0-6"
+ "value": "1-7"
+ },
+ {
+ "type": "cgroupv2",
+ "object": "memory.max",
+ "value": "8G"
},
{
"type": "prlimit",
diff --git a/meta-agl-ic-container/recipes-container/container-manager-config/cm-config-agl-qt-ivi-demo/rcar-gen3/agl-qt-ivi-demo.json b/meta-agl-ic-container/recipes-container/container-manager-config/cm-config-agl-qt-ivi-demo/rcar-gen3/agl-qt-ivi-demo.json
index ccbf66b6..bf01e0e2 100644
--- a/meta-agl-ic-container/recipes-container/container-manager-config/cm-config-agl-qt-ivi-demo/rcar-gen3/agl-qt-ivi-demo.json
+++ b/meta-agl-ic-container/recipes-container/container-manager-config/cm-config-agl-qt-ivi-demo/rcar-gen3/agl-qt-ivi-demo.json
@@ -27,6 +27,18 @@
"HOME=/home/root"
]
},
+ "resource": [
+ {
+ "type": "cgroupv2",
+ "object": "cpuset.cpus",
+ "value": "1-7"
+ },
+ {
+ "type": "prlimit",
+ "object": "rtprio",
+ "value": "50"
+ }
+ ],
"fs": {
"mount": [
{