Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
4985 Discussions

How to profile memory allocation?

Neil_Henderson
Beginner
296 Views
Hi,
Can anyone recommend the best way to use VTune to profile an application and find out whether memory allocation is a bottleneck please? Are there certain counters to use?
Thanks,
Neil
0 Kudos
2 Replies
Peter_W_Intel
Employee
296 Views
Hi Neil,

I suppose there is no event counter in VTune Analyzer to support "memory allocation" measurement.

We have "memory bandwidth" measurementfrom event counters -

1. Intel Core 2 Duo processor:

Memory Bandwidth =
(64 * BUS_TRANS_MEM.ALL_AGENTS * CPU Frequency) / CPU_CLK_UNHALTED.CORE

2. Intel Core i7 processors:

Please see this article


Regards, Peter
0 Kudos
Roman_D_Intel
Employee
296 Views
Neil,

there are two blogs on ISN related to your question: "Memory management challenges in parallel applications" (Windows-specific) and "Is your memory management multi-core ready?" (Linux-specific).

I hope this info helps you.

Roman
0 Kudos
Reply