Explore related resources

Find more information about the topics in this Learning Path:

Give feedback

How would you rate this Learning Path?

Review frequently asked questions

AI-assisted

These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.

Close
?
Which process ID should I target when running async-profiler?
Profile the Tomcat process. Use your system’s process listing to find the PID, and start profiling while wrk2 is actively generating load.
Do I need to install async-profiler on the same machine as Tomcat?
Yes. Install and run async-profiler on the same Arm-based Linux machine where Tomcat is running to ensure accurate profiling.
Where should I run wrk2 to generate load?
Run wrk2 from an x86_64 Ubuntu client so that it sends HTTP requests to the Tomcat server that you’re profiling. Confirm that you can reach the Tomcat endpoint before starting the benchmark.
How do I confirm that perf is capturing Java method names with the JVMTI agent?
Check that the profile output shows Java method names rather than raw memory addresses. If the output doesn’t, verify that libperf-jvmti.so is present and loaded by the JVM.
What should I look for in the generated flame graphs?
Open profile.svg in a browser to analyze the sampled profiling result from the benchmark. Expect a visualization of sampled stacks during the benchmark. The widest stacks indicate where time is spent, so that you can focus on the hottest Java methods and code paths.

Share

Tell others about this Learning Path.

Back
Return to Servers and Cloud Computing