Mesh traversal and sorting for efficient memory usage in scientific codes


Autoria(s): Barrio López-Cortijo, Pablo; Carreras Vaquer, Carlos
Data(s)

01/11/2011

Resumo

Applications that operate on meshes are very popular in High Performance Computing (HPC) environments. In the past, many techniques have been developed in order to optimize the memory accesses for these datasets. Different loop transformations and domain decompositions are com- monly used for structured meshes. However, unstructured grids are more challenging. The memory accesses, based on the mesh connectivity, do not map well to the usual lin- ear memory model. This work presents a method to improve the memory performance which is suitable for HPC codes that operate on meshes. We develop a method to adjust the sequence in which the data are used inside the algorithm, by means of traversing and sorting the mesh. This sorted mesh can be transferred sequentially to the lower memory levels and allows for minimum data transfer requirements. The method also reduces the lower memory requirements dra- matically: up to 63% of the L1 cache misses are removed in a traditional cache system. We have obtained speedups of up to 2.58 on memory operations as measured in a general- purpose CPU. An improvement is also observed with se- quential access memories, where we have observed reduc- tions of up to 99% in the required low-level memory size.

Formato

application/pdf

Identificador

http://oa.upm.es/21749/

Idioma(s)

eng

Publicador

E.T.S.I. Telecomunicación (UPM)

Relação

http://oa.upm.es/21749/1/INVE_MEM_2011_114411.pdf

http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=6108106&tag=1

info:eu-repo/semantics/altIdentifier/doi/null

Direitos

http://creativecommons.org/licenses/by-nc-nd/3.0/es/

info:eu-repo/semantics/openAccess

Fonte

IEEE 30th International Performance Computing and Communications Conference (IPCCC) | IEEE 30th International Performance Computing and Communications Conference (IPCCC) | 17/11/2011 - 19/11/2012 | Orlando, EEUU

Palavras-Chave #Telecomunicaciones #Informática
Tipo

info:eu-repo/semantics/conferenceObject

Ponencia en Congreso o Jornada

PeerReviewed