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
posta un anno fa351 visualizzazioni
1 Risposta
0

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

AWS
con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande