Yes vtune profilers could be used on bare metal instances. Here is a cook book that helps you set up a VM instance in AWS for performance profiling with Intel® VTune™ Profiler
Hope this helps.
Thanks for the reply.
And as it is going to be bare metal instance, I assume I don't have to take into consideration about some configurations usually required using Intel VTune Profiler on a typical/normal virtual machine?
I am using Intel Vtune Profiler inside my virtual machine hosted on my local machine. Vtune is working good but there are some options that are not possible on a typical virtual machine.
Vtune user based sampling works fine on AWS instances however, HW-events based sampling inside VM is supported only for a limited set of EC2 instances. Those who run on top of Nitro hypervisor in C5 this is explained in the article I have shared.( You may face some difficulty in viewing the article as of now due to some backend updates but it will be back soon)
And about you not being to run certain options on your virtual machine ,
1)which are these options that cant be run on your VM.
2)Have you tried enabling PMU counters.
3)Which operating system and hypervisor are you using for your virtual machine?
Thanks for your comprehensive feedback. You guys have great support culture !
- My operating system is Linux
- On my virtual machine I have CentOS Linux release 7.5.1805..........But my machine is not Intel...it is AMD.
- Hypervisor is QEMU/KVM
Although I have AMD machine, is there any way I can use HW-events based sampling on VM? Because I can only use user based sampling. But I would really like to deep dive into hardware details. How can I enable PMU Counters?