-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can I use LIKWID to analyze code run outside of Julia? #62
Comments
LIKWID set's up performance counters, the only thing that might happen is that OpenFHE uses threads internally? As an example to measure OpenBLAS one has to do something like
|
Thanks for the hint, we will take a look 👍 |
To expand: LIKWID simply tracks what happens in certain CPU cores. Whatever runs on these cores - Julia or not Julia - will be measured. When you use In the example that Valentin linked, we tell LIKWID.jl explicitly which CPU-cores to monitor. For example, we could track the performance of all CPU-cores or we could select those on which the relevant threads are running (we could pin the OpenBLAS threads to a specific subset of the available cores). |
Thank you for your help! If not, what should I do to track all the cores? |
Yes. |
We'd like to analyze the performance of OpenFHE.jl, which internally uses CxxWrap.jl to call functions in a BB-provided C++ library (OpenFHE). However, when I measure operations that clearly take non-negligible time, I always get a
RETIRED_SSE_AVX_FLOPS_ALL
value of zero, and also the FLOPs/s are zero.Is it a tool-specific issue that we just need to figure out, or is this generally not possible to do with LIKWID.jl?
cc @ArseniyKholod
The text was updated successfully, but these errors were encountered: