RFR: 8298482: Implement ParallelGC NUMAStats for Linux [v2]
Nick Gasson
ngasson at openjdk.org
Wed Jan 4 12:29:14 UTC 2023
On Tue, 3 Jan 2023 12:05:35 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:
>> I don't think so: for HugeTLBFS it makes some redundant calls but in my testing always returns the node ID for the containing huge page even if the address given is not huge page aligned, and for THP you don't know whether a particular address is backed by a huge page so you have to step with the smallest granularity anyway. With large pages enabled the "small/large pages" count is misleading but I don't know any way to get this information on Linux except by parsing `/proc/self/smaps` which we probably don't want to do.
>
> I see; thanks for the clarification. Re the misleading "small/large pages" count, can it be dropped? Or, what useful info does this count convey towards identifying wrongly placed OS pages?
I don't think it adds any useful information now that the large page count is always zero: it's really just repeating the space size from the line above. I've removed it in the latest commit.
-------------
PR: https://git.openjdk.org/jdk/pull/11635
More information about the hotspot-gc-dev
mailing list