[External] : Re: Backport cgroups v2 to 8u
Poonam Parhar
poonam.bajaj at oracle.com
Wed Oct 5 17:19:02 UTC 2022
Hi Jonathan,
As I mentioned before, we are working on the 6 issues first in this order:
1. JDK-8230305: Cgroups v2: Container awareness
2. JDK-8231111: Cgroups v2: Rework Metrics in java.base so as to recognize unified hierarchy
3. JDK-8253714: [cgroups v2] Soft memory limit incorrectly using memory.high
4. JDK-8237479: 8230305 causes slowdebug build failure
5. JDK-8253727: [cgroups v2] Memory and swap limits reported incorrectly
6. JDK-8278951: containers/cgroup/PlainRead.java fails on Ubuntu 21.10
We will be backporting other issues after these are integrated.
We have all of the issues that you listed below on our list except for these:
JDK-8262379: Add regression test for JDK-8257746
JDK-8284756: [11u] Remove unused isUseContainerSupport in CgroupV1Subsystem
JDK-8240189: [TESTBUG] Some cgroup tests are failing after JDK-8231111
JDK-8206456: [TESTBUG] docker jtreg tests fail on systems without cpuset.effective_cpus / cpuset.effective_mems
I like your suggestion of adding labels jdk8u-<name> in the bugs that we are working on. Ivan Bereziuk is working on these backports, and we will add jdk8u-ibereziuk to the bugs in progress from our side.
Thanks,
Poonam
On 10/5/22, 3:50 AM, "Jonathan Dowland" <jdowland at redhat.com> wrote:
On Wed, Oct 05, 2022 at 11:40:11AM +0100, Jonathan Dowland wrote:
>Severin has shared the "hit list" of things we think should be
>backported, which is largely in the order they need to happen. Please
>point out if there's anything missing, or out of order.
Ah Severin's list was not ordered. This is approximately the order we
think they need to be done in:
JDK-8230305: Cgroups v2: Container awareness
JDK-8231111: Cgroups v2: Rework Metrics in java.base so as to recognize unified hierarchy
JDK-8237479: 8230305 causes slowdebug build failure
JDK-8253714: [cgroups v2] Soft memory limit incorrectly using memory.high
JDK-8239785: Cgroups: Incorrect detection logic on old systems in hotspot
JDK-8253727: [cgroups v2] Memory and swap limits reported incorrectly
JDK-8239559: Cgroups: Incorrect detection logic on some systems
JDK-8244500: jtreg test error in test/hotspot/jtreg/containers/docker/TestMemoryAwareness.java
JDK-8278951: containers/cgroup/PlainRead.java fails on Ubuntu 21.10
JDK-8253797: [cgroups v2] Account for the fact that swap accounting is disabled on some systems
JDK-8245543: Cgroups: Incorrect detection logic on some systems (still reproducible)
JDK-8254001: [Metrics] Enhance parsing of cgroup interface files for version detection
JDK-8252359: HotSpot Not Identifying it is Running in a Container
JDK-8253435: Cgroup: 'stomping of _mount_path' crash if manually mounted cpusets exist
JDK-8253939: [TESTBUG] Increase coverage of the cgroups detection code
JDK-8262379: Add regression test for JDK-8257746
These ones I'm not sure about ordering
JDK-8284102: [TESTBUG] Retroactively add regression test for JDK-8272124
JDK-8284756: [11u] Remove unused isUseContainerSupport in CgroupV1Subsystem
JDK-8266391: Replace use of reflection in jdk.internal.platform.Metrics
JDK-8254997: Remove unimplemented OSContainer::read_memory_limit_in_bytes
JDK-8252957: Wrong comment in CgroupV1Subsystem::cpu_quota
JDK-8240189: [TESTBUG] Some cgroup tests are failing after JDK-8231111
And I did this one to ease one of the earlier backports, it was not
strictly necessary but resolved conflicts that would otherwise occur,
and looked like a good idea
JDK-8206456: [TESTBUG] docker jtreg tests fail on systems without cpuset.effective_cpus / cpuset.effective_mems
--
👱🏻 Jonathan Dowland <jdowland at redhat.com>
Senior Software Engineer, OpenJDK, Red Hat
More information about the jdk8u-dev
mailing list