When I profile an application which runs for ~15 seconds, and enable only one h/w event for counting clockticks, the Translating Raw File takes close to 6 hours to finish. I'm running on Ubuntu, Ryzen 2700x desktop. Details show uProf running on single thread at 100% for those 6 hours. This seems extraordinarily long and unfeasible for analysis work. Is this expected?
PS - I haven't enabled any symbol server either.
Seems like UProf is used in a Server environment. But you mentioned it is being used in a Desktop.
Anyways, found other Users posting questions about Uprof and Ubuntu at AMD Server Forum here: https://community.amd.com/community/server-gurus
Possibly someone might be able to find out why Ryzen is running on one thread at 100%.
Thanks for you reply.
Do you mean uProf is more suitable for servers? I did not find such recommendations in the manual.
Unfortunately, there are no similar posts in the server thread as well.
Do you know if it is expected for Translating Raw File stage to run on a single thread? Maybe i can start debugging from there.
Sorry, No, I didn't mean to give you the impression that Uprof is more suitable for Servers. Just mentioned that is where I see most of the questions concerning Uprof.
Even if you are not working in a server environment, you might still want to post your question there and see if anyone can help you.
Or you can open a online AMD Request Forum and contact AMD Support and see what they say from here: Online Service Request | AMD
Or you can try this generic Forum where they will direct your question to the proper Forum: https://community.amd.com/community/devgurus
Sorry, I can't be more of a help.
Helps if you mention your Computer spec like Windows version and Make & Model of hardware in your Desktop including GPU and CPU. This will give other Users a starting point on helping you with your problem.
https://community.amd.com/community/server-gurus is the right forum for uProf related queries.
uProf is supported on both desktop and server environments.
The long delay you have observed is abnormal and we would like to know more about the issue. It would be helpful if you can provide the below details.
1) Which version of uProf you used? You can try with the latest 2.0.493 for Linux.
2) If you used command line, let us know the options you passed.
3) If you used GUI app, let us know the settings/configs you used. Was 'collect system wide' enabled? Was 'call stack' enabled?
4) Ubuntu version and Kernel version.
We would like to reproduce the issue at our end, the exact steps to reproduce the issue would be really helpful.
You may want to try with the latest AMDuProf v3.2 version available at https://developer.amd.com/amd-uprof/. This release contains fixes for faster processing of raw data apart from other features.