Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Neil_Henderson
Beginner
72 Views

How to profile memory allocation?

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
72 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
Roman_D_Intel
Employee
72 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
Reply