mathematics
and
computer
science

LANS

LANS Publications

"Evaluation of Hierarchical Mesh Reorderings"

M. M. Strout, N. Osheim, D. Rostron, P. D. Hovland, and A. Pothen

Computational Science, ICCS 2009, vol. 5544, Springer Berlin/Heidelberg, , pp. 540-549. Also Preprint ANL/MCS-P1578-0209

Preprint Version: [pdf]

Irregular and sparse scientific computing programs frequently experience performance losses because of inefficient use of the memory
system in most machines. Previous work has shown that, for a graph
model, performing a partitioning and then reordering within each partition (hierarchical reordering) improves performance. More recent work has shown that reordering heuristics based on a hypergraph model result in better reorderings than those based on a graph model. This paper studies the effects of hierarchical reordering strategies within the hypergraph model. In our experiments, the reorderings are applied to the nodes and elements of tetrahedral meshes, which are used as input to a mesh optimization application. This application includes computations such as loops over the elements in the mesh and sparse matrix multiplication based on the structure of the mesh. We show that cache performance degrades over time with consecutive packing, but not with breadth-first ordering, and that hierarchical reorderings involving hypergraph partitioning followed by consecutive packing or breadth-first orderings in each partition improve overall execution time.