Cgroup v2 effects on opensearch and opensearch dashboards

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
2.13.0

Describe the issue:
Multiple cloud providers kubernetes is moving to cgroup v2 wanted to know its impact on opensearch and opensearch dashboards,
There are a few queries based on the opensource issues and links that I found.

  1. According to the following links Wrong memory ceiling in cgroup v2 environments · Issue #47259 · nodejs/node · GitHub , Mitigate Potential Memory Pressure Effects With cgroup v2 · Issue #724 · microsoft/azure-container-apps · GitHub there were few performance issues with node js applications on cgroup v2 environment which are mitigated in the 20.x versions of Node js. But currently the supported node js version for opensearch dashboards is 18. Does this have any impact on the performance?

  2. Also in the 2.10 release notes [Proposal] Support AL2023/NodeJS18 for OpenSearch/Dashboards Releases · Issue #1563 · opensearch-project/opensearch-build · GitHub suggests that AL2023 image is supported, which by default uses cgroup v2 environment. So are these issues not observed for opensearch dashboards?

  3. Also are there any other issues with the cgroup v2 environment for opensearch or opensearch dashboards, like there is one open issue that was found [Feature] `_nodes/stats/os` support for cgroup v2 · Issue #12945 · opensearch-project/OpenSearch · GitHub, and a closed performance issue on opensearch Performance issue after cgroup v2 upgrade · Issue #6452 · opensearch-project/OpenSearch · GitHub

Hey @anegi2424 ,

With respect to CGroups v2 support on the JVM (relates to OpenSearch core) there were quite a lot of issues resolved in different JDK major / patch releases [1]. The 2.13.x+ ships with latest JDK-21 release, if you stay on bundled JDK, the CGroups v2 should be in a good shape (besides the open issues that you mentioned). Thank you.

[1] Loading...

Hi @reta,
What about opensearch dashboards is that as well compatible with the cgroup v2 environment? My first query is on that.
Thanks

Hi @anegi2424 , I need someone else to comment on that, I sadly have no awareness. Thank you.