CPU more than 100% #822
-
Hello, we run jprofiler for CPU and allocations and collecting results into a JFR file. After examining jfr file we can see that application + JVM CPU usage is reported as 120% but overall machine CPU is reported at 100%. This seems not ok. I'd like to know how async profiler collects this percentage stats (overall machine CPU and jvm (user + system) CPU). JVM runs in a docker container |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
as said elsewhere, the defaul way to collect profiles is via cpu-clock events, per thread, unless jprofiler is making uses of itimer, which seems not given that you have more samples in the jfr profiling data than via cpu statistics collected outside of async-profiler... |
Beta Was this translation helpful? Give feedback.
-
What does jprofiler have to do with this?!
Can you show an example .jfr? |
Beta Was this translation helpful? Give feedback.
Right, async-profiler previously obtained the number of available processors from the JVM.
This has been changed in #751 - now it shows whatever OS reports. So the bug is likely fixed already.