DocumentCode :
3090802
Title :
Hardware Counters Based Analysis of Memory Accesses in SMPs
Author :
Lorenzo, Oscar G. ; Pena, Tomás F. ; Cabaleiro, José C. ; Pichel, Juan C. ; Lorenzo, Juan A. ; Rivera, Francisco F.
Author_Institution :
CITIUS Centro de Investig. en Tecnoloxias da Informacion, Univ. of Santiago de Compostela, Santiago de Compostela, Spain
fYear :
2012
fDate :
10-13 July 2012
Firstpage :
595
Lastpage :
602
Abstract :
Modern microprocessors incorporate Hardware Counters (HC) that provide useful information with low overhead. HC are not commonly used because of the lack of tools to get their information in an easy way. In this paper, a set of tools to simplify the accessing and programming of Intel Itanium 2 ™EARs (Event Address Registers) is presented. The aim of these tools is to characterise the memory accesses of parallel codes, in multicore systems, in which the cache hierarchy can greatly influence the performance. The first tool allows the user to insert in the code, in a simple and transparent way, the instructions needed to monitor and manage hardware counters. Two versions of this tool have been implemented. The first one is a command line tool that takes as input a C source file with appropriate directives and outputs it with the monitoring code added. The other one is a graphical interface that allows the user to select the parts of the code to analise. The second tool takes the information gathered by the monitored parallel code provided by the hardware counters and displays it graphically. This tool shows the information in a comprehensive but simple way, allowing the user to adjust the level of detail. These tools were used to carry out a study of parallel irregular codes. Although this study has been made in a specific environment, the tools here presented can be used in any system as long as it is based on hardware counters present in current processors.
Keywords :
C language; counting circuits; electronic engineering computing; graphical user interfaces; microprocessor chips; multiprocessing systems; parallel processing; storage management; C source file; HC; Intel Itanium 2 EAR; SMP; cache hierarchy; code monitoring; command line tool; event address register; graphical interface; hardware counters; memory access; modern microprocessor; multicore system; parallel irregular code; Ear; Hardware; Histograms; Monitoring; Phasor measurement units; Program processors; Radiation detectors; Hardware counters; irregular codes; memory hierarchy; monitoring;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Parallel and Distributed Processing with Applications (ISPA), 2012 IEEE 10th International Symposium on
Conference_Location :
Leganes
Print_ISBN :
978-1-4673-1631-6
Type :
conf
DOI :
10.1109/ISPA.2012.89
Filename :
6280349
Link To Document :
بازگشت