RFR: 8317453: NMT: Performance benchmarks are needed to measure speed and memory [v51]
Gerard Ziemski
gziemski at openjdk.org
Fri Feb 21 20:50:41 UTC 2025
> Here is another, hopefully, closer to the final iteration of NMT benchmarking mechanism.
>
> Please see the design document attached to the issue for details - `NMTBenchmark design document.pages.pdf`
>
> Here is a sample output (don't forget to scroll all the way right to see the malloc byte size mini histograms!):
>
>
> malloc summary:
>
> time:8,951,473[ns] [samples:117,717]
> memory requested:28,474,918 bytes, allocated:29,904,416 bytes,
> malloc overhead=1,429,498 bytes [5.02%], NMT headers overhead=2,118,906 bytes [7.44%]
>
> NMT type: objects: bytes: time: count%: bytes%: time%: overhead:
> -------------------------------------------------------------------------------------------------------------------------
> Java Heap: 0 0 0 0.0% 0.0% 0.0% 0.0% ▁▁▁▁▁▁▁▁▁▁
> Class: 8,598 727,856 607,047 7.3% 2.4% 6.8% 18.2% ▁▁▁▁▁▁▂▆▆▅
> Thread: 196 68,256 64,875 0.2% 0.2% 0.7% 7.0% ▁▁▇▁▃█▁▁▅█
> Thread Stack: 0 0 0 0.0% 0.0% 0.0% 0.0% ▁▁▁▁▁▁▁▁▁▁
> Code: 10,094 2,036,528 916,348 8.6% 6.8% 10.2% 9.9% ▁▁▁▁▅█▆▁▅▃
> GC: 1,813 20,372,160 1,214,642 1.5% 68.1% 13.6% 3.7% ▁▂▁▂▃▁▂▂▆▅
> GCCardSet: 299 28,736 13,174 0.3% 0.1% 0.1% 11.6% ▁▁▁▁▁▁▁▂▅▁
> Compiler: 55 13,728 171,364 0.0% 0.0% 1.9% 6.9% ▁▁▁▁▂▁▁▂▄▅
> JVMCI: 0 0 0 0.0% 0.0% 0.0% 0.0% ▁▁▁▁▁▁▁▁▁▁
> Internal: 5,066 339,184 1,418,578 4.3% 1.1% 15.8% 18.0% ▁▁▁▁▁▁▂▁▂▅
> Other: 6 244,736 21,303 0.0% 0.8% 0.2% 37.9% ▁▂▁▁▁▁▁▁▁▅
> Symbol: 9,844 1,493,280 752,665 8.4% 5.0% 8.4% 14.1% ▁▁▁▁▁▂▁▄▁▅
> Native Memory Tracking: 367 30,736 17,654 0.3% 0.1% 0.2% 7...
Gerard Ziemski has updated the pull request incrementally with one additional commit since the last revision:
fix a bug in recording free
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/23115/files
- new: https://git.openjdk.org/jdk/pull/23115/files/60394ecf..da6d4997
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=23115&range=50
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=23115&range=49-50
Stats: 120 lines in 4 files changed: 46 ins; 27 del; 47 mod
Patch: https://git.openjdk.org/jdk/pull/23115.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/23115/head:pull/23115
PR: https://git.openjdk.org/jdk/pull/23115
More information about the hotspot-dev
mailing list