"VTune Amplifier XE"

Utiliser Intel VTune pour identifier les goulets d'étranglements

C'est le premier concours Accelerate sur lequel nous avons aussi facilement accès aux outils d'Intel tel qu'Intel Inspector, ou Intel VTune.
Lors de l'édition précédente, Maxime et moi avions souffert de ce manque. Nous avions identifié trop tard un goulet dans notre code en nous connectant en mode bureau sur la MTL par SSH pour exécuter Vtune et en regardant le profil d'exécution.

Minimize frustration and maximize tuning effort with Amdahl's Law

I recently had a question from a customer who had introduced a succesful optimization to a hot function in his application, but did not see as much improvement in the overall application as he expected. This is a fairly common occurence in the iterative process of performance tuning. Usually it happens for one of two reasons.

VTune™ Amplifier XE 在 Ubuntu* 11.04 上使用碰到的问题

在Ubuntu* 11.04上通过Sudo安装完Intel® VTune™ Amplifier XE 2011。整个过程没有任何报错信息。

使用amplxe-gui,调用工具的图形界面,创建一个项目,选择目标的应用程序。然后通过工具对目标程序进行热点分析(Hotspots Analysis), 意外得到出错信息。



同样的问题也会发生在并行性分析(Concurrency Analysis)和锁及等待分析(Locks And Waits Analysis)。

Pipeline Speak, Part 2: The Second Part of the Sandy Bridge Pipeline

Last week I posted a blog explaining the front-end of the pipeline on Intel® Microarchitecture Codename Sandy Bridge. Today's blog completes the discussion of the pipeline by explaining the back-end, and then why it's helpful to know this stuff in general.

The Back-End

如何着手使用VTune™ Amplifier XE针对你的项目进行性能调优,以及进行常规化自动测试

介绍最新的VTune™ Amplifier XE的文章写了不少,虽然新的产品集成的VTune™ Performance Analyzer和Intel Thread Profiler的大部分功能,可能用户还是难以针对自己的项目找到突破口。

记得以前写过一篇名为<12步法-用英特尔的性能工具诊断性能问题>, 可能对大家有些帮助。觉得有必要针对新的产品,重新写一篇简单指导,顺便把以前有用的文章“串联”进本文。

还是论述下三个层次上的调优。

VTune™ Amplifier XE: 命令行上直接使用用户分析参数,无需创建新的分析类型

VTune™ Amplifier XE 2011是一款新型的性能分析工具,集VTune™ Performance Analyzer 和 Intel Thread Profiler 功能之大成。尤其可贵的是此产品预定义了很多分析类型可供用户选择,避免了用户花费大量的时间去搞懂一些太细节的(尤其是和处理器有关的)参数设置。当然用户也可以根据需求去创建自己的分析类型,见此文

凡是有利就有“弊”。有些用户是使用命令行来完成自动性能测试过程,有关命令行amplxe-cl的使用,见此文。当用户要增加自定义的分析类型,而这只能在图形界面完成,然后用“amplxe-cl –collect-list”显示所有的分析类型,非常的不方便。

所以我们需要另辟蹊径,找到更为有效的方法。

如何从VTune™ Amplifier XE 2011的分析结果中快速找到你关心的线程

VTune™ Amplifier XE 2011 的 Concurrency 分析报告可以给出基于时间线的线程状态图。在此报告中,线程的名字缺省以线程的入口函数来命名。本工具提供了一种方法:用户可以对线程的名字重命名 ( 在分析报告)。这是因为:

1)当一个应用含有大量的线程,寻找一个自己关心的线程,殊为不易。

2)由于缺省使用入口函数为线程名。当多个线程使用相同函数作为入口函数,不易分辨。

以下是一个使用产品中ittnotify接口的例子。

参考代码:itt_set_thread_name.cpp

Intel® VTune™ Amplifier XE 2011 功能演示 (中文视频)

全部中文演示,每节5-10分钟,快速掌握产品的使用技巧。

Intel® VTune™ Amplifier XE 2011 功能演示1 - 总述 (中文)- /zh-cn/forums/showthread.php

Intel® VTune™ Amplifier XE 2011 功能演示2 - 热点分析(中文)- /zh-cn/forums/showthread.php

S’abonner à &quot;VTune Amplifier XE&quot;