Software Archive
Read-only legacy content
17061 Discussions

how to use VTune to analyze data TLB miss on phi in symmetric mode and native mode

ye_f_1
Beginner
533 Views

 want to run  big  program on phi and CPU in symmetric .I doubt there are lots of TLB miss in this program.So I want to use VTune to analyze data TLB miss.By the way,how to enable 2MB page on phi ?

0 Kudos
4 Replies
TimP
Honored Contributor III
533 Views

You'll probably need a repeatable excerpt from your program which runs no more than 5 minutes (running a script on host which is launched in VTune)

To start with, you might try analyzing with and without transparent huge pages:

https://software.intel.com/en-us/blogs/2013/07/09/transparent-huge-pages-on-intel-xeon-phi-coprocessors

https://software.intel.com/sites/default/files/7-Performance-analysis-on-Intel-Xeon-Phi-Coprocessor.pdf

The linpack benchmarks supplied with MPSS should have some hints about huge pages.

0 Kudos
ye_f_1
Beginner
533 Views

Hi Tim
   I run the following command and get error information.
   wj@mcc21:~/mic_test$ mpirun -host mcc21 -n 1 ./cpu : -host mic0 -n 1 amplxe-cl  -c advanced-hotspots /home/wj/graph/mic
/home/wj/bin/amplxe-cl: /home/wj/bin/amplxe-cl: cannot execute binary file

   But when I run another program in native mode,it works well.
   amplxe-cl -r ./ -target-system=mic-native:0 -collect advanced-hotspots /home/wj/

   what's wrong?

0 Kudos
feng_y_
Beginner
533 Views

I get the same problem.

0 Kudos
TimP
Honored Contributor III
533 Views

My MIC (KNC B0 4GB) and the host linux are too old for a full upgrade to current VTune.  Yesterday I was getting messages about VTune not accepting the disparities when trying to use either the latest or the last working VTune with the latest compilers.

0 Kudos
Reply