Does EC2 hypervisor vPMU Performance Counters support stack collection?

0

I'm looking to profile and sample my application and system performance using Intel VTune, which internally relies on Hardware event based analysis provided by the arch_perfmon cpu extension available on larger instances spanning a single socket.

The setup seems to work until attempting to collect stack information, running the built-in self-test shows the following errors:

HW event-based analysis with stacks
Example of analysis types: Hotspots with HW event-based sampling and call stacks
    Collection: Fail
vtune: Warning: To profile kernel modules during the session, make sure they are available in the /lib/modules/kernel_version/ location.
vtune: Error: amplxe-perf:
callchain: type DWARF
callchain: stack dump size 1024
Using CPUID GenuineIntel-6-6A-6
DEBUGINFOD_URLS=
Compression enabled, disabling build id collection at the end of the session.
Lowering default frequency rate from 4000 to 2750.
Please consider tweaking /proc/sys/kernel/perf_event_max_sample_rate.
nr_cblocks: 0
affinity: SYS
mmap flush: 1
comp level: 1
WARNING: The use of --call-graph=dwarf may require all the user registers, specifying a subset with --user-regs may render DWARF unwinding unreliable, so the minimal registers set (IP, SP) is explicitly forced.
WARNING: The use of --call-graph=dwarf may require all the user registers, specifying a subset with --user-regs may render DWARF unwinding unreliable, so the minimal registers set (IP, SP) is explicitly forced.
Error:
CPU_CLK_UNHALTED.THREAD: PMU Hardware or event type doesn't support branch stack sampling.

Is this a limitation of the EC2 hypervisor, of the Intel processors used or something else preventing this from working?

profile picture
preguntada hace un año351 visualizaciones
1 Respuesta
0

Assuming vTune uses the PEBS extensions of the PMUs it is currently not supported on virtualised EC2 Nitro instances.

AWS
respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas