• DocumentCode
    3025128
  • Title

    A new technique to reduce false sharing in parallel irregular codes based on distance functions

  • Author

    Pichel, Juan C. ; Heras, Dora B. ; Cabaleiro, José C. ; Rivera, Francisco F.

  • Author_Institution
    Dept. Electronica e Computacion, Santiago de Compostela Univ., Galicia, Spain
  • fYear
    2005
  • fDate
    7-9 Dec. 2005
  • Abstract
    In this paper a technique to deal with the problem of poor locality and false sharing in irregular codes on shared memory multiprocessors (SMPs) is proposed. This technique is based on the locality model for irregular codes previously developed and extensively proven by the authors on monoprocessors and multiprocessors. In the model, locality is established in run-time considering parameters that describe the structure of the sparse matrix which characterizes the irregular accesses. As an example of irregular code with false sharing a particular implementation of the sparse matrix-vector product (SpM×V) was selected. The problem of increasing locality and decreasing false sharing for a irregular problem is formulated as a graph. An adequate distribution of the graph among processors followed by a reordering of the nodes inside each processor produces the solution. The results show important improvements in the behavior of the irregular accesses: reductions in execution time and an improved program scalability.
  • Keywords
    graph theory; shared memory systems; sparse matrices; distance function scalability; false sharing reduction; graph partitioning; locality model; parallel irregular code; shared memory multiprocessor; sparse matrix-vector product; Algebra; Computer architecture; Data structures; Kernel; Performance analysis; Runtime; Scalability; Scanning probe microscopy; Sparse matrices; Tiles;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Parallel Architectures,Algorithms and Networks, 2005. ISPAN 2005. Proceedings. 8th International Symposium on
  • ISSN
    1087-4089
  • Print_ISBN
    0-7695-2509-1
  • Type

    conf

  • DOI
    10.1109/ISPAN.2005.10
  • Filename
    1575842