DocumentCode
2722021
Title
Mesh traversal and sorting for efficient memory usage in scientific codes
Author
Barrio, Pablo ; Carreras, Carlos
Author_Institution
Dipt. Ing. Electron., Univ. Politec. de Madrid, Madrid, Spain
fYear
2011
fDate
17-19 Nov. 2011
Firstpage
1
Lastpage
8
Abstract
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 commonly 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 linear 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 dramatically: 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 sequential access memories, where we have observed reductions of up to 99% in the required low-level memory size.
Keywords
cache storage; distributed processing; cache system; domain decompositions; general-purpose CPU; high performance computing environment; loop transformations; memory usage; mesh connectivity; mesh sorting; mesh traversal; scientific codes; sequential access memories; unstructured grids; Field programmable gate arrays; Graphics processing unit; Memory management; Partitioning algorithms; Sorting; Strips; System-on-a-chip;
fLanguage
English
Publisher
ieee
Conference_Titel
Performance Computing and Communications Conference (IPCCC), 2011 IEEE 30th International
Conference_Location
Orlando, FL
ISSN
1097-2641
Print_ISBN
978-1-4673-0010-0
Type
conf
DOI
10.1109/PCCC.2011.6108106
Filename
6108106
Link To Document