Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tools to analyse CPU cache performance for Java applications?

I've no preference as regards OS; any tool will be fine so long as it allows me to measure cache performance on Core 2 and i7 architectures.

like image 322
Engineer Avatar asked Aug 21 '12 18:08

Engineer


3 Answers

This team have a product http://www.jclarity.com/ which is new but use the CPU performance counters to extract cache hit/miss information and other low level stuff.

like image 188
Peter Lawrey Avatar answered Oct 02 '22 08:10

Peter Lawrey


It seems to me that the only tool that does this at present is Intel VTune Performance Analyzer. It's not horrifically expensive, but it doesn't come cheap, either.

This article by Intel outlines processes to improve Java app performance using this tool.

like image 39
Engineer Avatar answered Oct 02 '22 07:10

Engineer


I'm not sure if that would be enough for you, but I used several times JVisualVM (included in the JDKs, at least the Sun one) as a profiling tool and I was pretty happy with it.

To find it, go to: JAVA_HOME/bin/jvisualvm(.exe)

like image 38
aymeric Avatar answered Oct 02 '22 08:10

aymeric