From bf658e9eee9a2fcc0039ff2c667d9e260d5e56b4 Mon Sep 17 00:00:00 2001 From: Naoto Yamaguchi Date: Sun, 1 Dec 2024 15:40:34 +0900 Subject: 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 --- .../rcar-gen3/agl-flutter-ivi-demo.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'meta-agl-ic-container/recipes-container/container-manager-config/cm-config-agl-flutter-ivi-demo/rcar-gen3/agl-flutter-ivi-demo.json') diff --git a/meta-agl-ic-container/recipes-container/container-manager-config/cm-config-agl-flutter-ivi-demo/rcar-gen3/agl-flutter-ivi-demo.json b/meta-agl-ic-container/recipes-container/container-manager-config/cm-config-agl-flutter-ivi-demo/rcar-gen3/agl-flutter-ivi-demo.json index 78a03ef8..f8799738 100644 --- a/meta-agl-ic-container/recipes-container/container-manager-config/cm-config-agl-flutter-ivi-demo/rcar-gen3/agl-flutter-ivi-demo.json +++ b/meta-agl-ic-container/recipes-container/container-manager-config/cm-config-agl-flutter-ivi-demo/rcar-gen3/agl-flutter-ivi-demo.json @@ -26,6 +26,18 @@ "HOME=/home/root" ] }, + "resource": [ + { + "type": "cgroupv2", + "object": "cpuset.cpus", + "value": "1-7" + }, + { + "type": "prlimit", + "object": "rtprio", + "value": "50" + } + ], "fs": { "mount": [ { -- cgit 1.2.3-korg