RFR: 8262953: [TESTBUG] Test /runtime/containers/cgroup/PlainRead.java fails if CPU quoata is not enabled

Severin Gehwolf sgehwolf at openjdk.java.net
Fri Apr 16 09:55:45 UTC 2021


On Thu, 25 Mar 2021 20:11:30 GMT, Anton Ostrouhhov <github.com+22177208+aostrouhhov at openjdk.org> wrote:

> Hello!
> Both _CPU Quota_ and _CPU Period_ are missing from output if kernel was built without `CONFIG_CFS_BANDWIDTH`.
> 
> This is my first contribution so please tell me if i am wrong somewhere.

Hi @aostrouhhov!

> Both _CPU Quota_ and _CPU Period_ are missing from output if kernel was built without `CONFIG_CFS_BANDWIDTH`.

I think we need more information on how the actual system behaves in order to devise a sensible plan. Could you please provide the output of:


$ java -Xlog:os+container=trace -version


when run on the affected system? Is this a cgroups v1 or a cgroups v2 system? I'd also be interested in contents of files `/proc/cgroups`, `/proc/self/cgroup` and '/proc/self/mountinfo` on the affected system.

-------------

PR: https://git.openjdk.java.net/jdk/pull/3206


More information about the hotspot-runtime-dev mailing list