RFR: 8317453: NMT: Performance benchmarks are needed to measure speed and memory [v57]
Gerard Ziemski
gziemski at openjdk.org
Tue Feb 25 20:59:01 UTC 2025
On Tue, 25 Feb 2025 19:35:42 GMT, Gerard Ziemski <gziemski at openjdk.org> wrote:
>> 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...
>
> Gerard Ziemski has updated the pull request incrementally with one additional commit since the last revision:
>
> fix Linux arm build
Moving to a new PR.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23115#issuecomment-2683274882
More information about the hotspot-dev
mailing list