首页> 外文期刊>Concurrency and computation: practice and experience >A hardware counter-based toolkit for the analysis of memory accesses in SMPs
【24h】

A hardware counter-based toolkit for the analysis of memory accesses in SMPs

机译:基于硬件计数器的工具包,用于分析SMP中的内存访问

获取原文
获取原文并翻译 | 示例

摘要

In this paper, a set of three hardware counter (HC)-based tools to characterise memory access of parallelrncodes in Symmetric Multiprocessors (SMPs) is presented. This toolkit simplifies accessing and programmingrnHCs, which are included in modern microprocessors. Hardware counters are used to obtain informationrnabout memory accesses in a parallel code at very low cost. This information is presented to the user in arnfriendly way. The first tool can be used to automatically monitor the memory accesses of a system and tornanalyse a code even if the source is not available. The second tool allows the user to insert in a source code,rnin a simple and transparent way, the instructions needed to monitor and manage HCs. This way, specific partsrnof the code can be analysed. The user can either add appropriate directives to a C code or use a graphicalrninterface to select those parts of the code to be analysed. The tool takes this source file and automaticallyrnadds the monitoring code. The third tool takes the information gathered by the aforementioned tools, processesrnit and displays it graphically. This tool shows the information in a comprehensive and simple way,rnallowing the user to adjust the level of detail. The aim of these tools was to characterise the memory accessesrnof parallel codes in multicore systems, in which the cache hierarchy can greatly influence the performance.rnFor illustrative purposes, these tools were used to carry out two case studies, a sparse matrix vector productrnand a dot product. These studies have been made in two different environments. Anyway, they can be usedrnin almost any system as long as the necessary HCs are available.
机译:本文提出了一套基于硬件计数器(HC)的工具,用于描述对称多处理器(SMP)中并行代码的内存访问。该工具包简化了现代微处理器中包含的HC的访问和编程。硬件计数器用于以非常低的成本获取有关并行代码中的内存访问的信息。该信息以友好的方式呈现给用户。第一个工具可用于自动监视系统的内存访问并分析代码,即使该源不可用也是如此。第二个工具允许用户以简单透明的方式在源代码中插入监视和管理HC所需的指令。这样,可以分析代码的特定部分。用户可以在C代码中添加适当的指令,也可以使用图形界面来选择要分析的代码部分。该工具将获取此源文件,并自动添加监视代码。第三个工具获取上述工具收集的信息,进行处理并以图形方式显示。该工具以全面,简单的方式显示信息,使用户无法调整详细程度。这些工具的目的是表征多核系统中的内存访问并行代码,在其中缓存层次结构会极大地影响性能。出于说明性目的,这些工具用于进行两个案例研究:稀疏矩阵向量乘积和点产品。这些研究是在两种不同的环境中进行的。无论如何,只要有必要的HC,它们就可以在几乎任何系统中使用。

著录项

  • 来源
  • 作者单位

    Centro de Investigación en Tecnoloxías da Información (CITIUS), University of Santiago de Compostela,Santiago de Compostela, Spain;

    Centro de Investigación en Tecnoloxías da Información (CITIUS), University of Santiago de Compostela,Santiago de Compostela, Spain;

    Centro de Investigación en Tecnoloxías da Información (CITIUS), University of Santiago de Compostela,Santiago de Compostela, Spain;

    Centro de Investigación en Tecnoloxías da Información (CITIUS), University of Santiago de Compostela,Santiago de Compostela, Spain;

    Centro de Investigación en Tecnoloxías da Información (CITIUS), University of Santiago de Compostela,Santiago de Compostela, Spain;

    Centro de Investigación en Tecnoloxías da Información (CITIUS), University of Santiago de Compostela,Santiago de Compostela, Spain;

  • 收录信息
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

    hardware counters; parallel codes; monitoring; memory hierarchy; irregular codes;

    机译:硬件柜台;并行代码;监控;内存层次;不规则码;

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号