RFC: jdk.PhysicalMemory vs. jdk.ContainerConfiguration expected behaviour?
Severin Gehwolf
sgehwolf at redhat.com
Fri Nov 11 14:13:05 UTC 2022
Hi,
On Fri, 2022-11-11 at 12:27 +0000, Erik Gahlin wrote:
> Hi Severin,
>
> There should be some way to get the memory of the container host, but
> I'm not sure it should be stored in jdk.PhysicalMemory#totalSize.
>
> It may make sense to normalize all event data to the same logical
> entity, regardless if it is physical, virtualized or containeried. I
> believe (but not sure) the CPU Load event shows 100% if all the cpu
> time is used in a container.
>
> An alternative would be to add a field to the container events which
> specifies total memory of the host.
OK, makes sense to me. It's fine (IMO) as long as there is some way to
relate host and container memory. I'll update the bug and propose a
patch.
Thanks,
Severin
More information about the hotspot-jfr-dev
mailing list