Improved Data Locality Using Morton-order Curve on the Example of LU Decomposition

Martin Perdacher, Claudia Plant, Christian Böhm

Publications: Contribution to bookContribution to proceedingsPeer Reviewed

Abstract

The LU decomposition is an essential element used in many linear algebra applications. Furthermore, it is used in UNPACK to benchmark the performance of modern multi-core processor environments. These processors offer a large memory hierarchy including multiple registers and various levels of cache. Registers or L1 data cache are small in size but also very fast. The L2 or L3 cache memory is usually shared among other cores and larger but slower. For the LU decomposition, the latency of fetching data from the main memory to the registers to perform a calculation also depends on the input matrix's memory access pattern. Here, we look at the block factorization algorithm, where the LU decomposition performance depends on the performance of the matrix multiplication. In both cases, the LU decomposition and the matrix multiplication, such a matrix is traversed by three nested loops. In this paper, we propose to traverse such loops in an order defined by a space-filling curve. This traversal dramatically improves data locality and offers effective exploitation of the memory hierarchy. Besides the canonical for line-by-line) access pattern, we demonstrate the traversal in Hilbert-, Peano and Morton order. Our extensive experiments show that the Morton order (or Z-order) and the inverse Morton order (or H-order) have a better runtime performance compared to the others.

Original languageEnglish
Title of host publication2020 IEEE International Conference on Big Data
Subtitle of host publicationDec 10 - Dec 13, 2020 • Virtual Event
EditorsXintao Wu, Chris Jermaine, Li Xiong, Olivera Kotevska, Siyuan Lu, Weija Xu, Srinivas Aluru, Chengxiang Zhai, Eyhab Al-Masri, Zhiyuan Chen, Cheff Saltz
PublisherIEEE
Pages351-360
Number of pages10
ISBN (Electronic)978-1-7281-6251-5
ISBN (Print)978-1-7281-6252-2
DOIs
Publication statusPublished - 10 Dec 2020
Event2020 IEEE International Conference on Big Data - online, Atlanta, United States
Duration: 10 Dec 202013 Dec 2020
http://bigdataieee.org/BigData2020/index.html

Conference

Conference2020 IEEE International Conference on Big Data
Abbreviated titleBigData 2020
Country/TerritoryUnited States
CityAtlanta
Period10/12/2013/12/20
Internet address

Austrian Fields of Science 2012

  • 102023 Supercomputing

Keywords

  • Cache-oblivious
  • Matrix algebra
  • Matrix factorizations
  • Z-order curve
  • MATRIX
  • matrix-mulitplication
  • cache-oblivious
  • space-filling curve
  • LU decomposition
  • ARRAYS

Fingerprint

Dive into the research topics of 'Improved Data Locality Using Morton-order Curve on the Example of LU Decomposition'. Together they form a unique fingerprint.
  • A Novel Hilbert Curve for Cache-locality Preserving Loops

    Bohm, C., Perdacher, M. & Plant, C., 1 Jun 2021, In: IEEE Transactions on Big Data. 7, 2, p. 241-254 14 p.

    Publications: Contribution to journalArticlePeer Reviewed

  • Cache-oblivious High-performance Similarity Join

    Perdacher, M., Plant, C. & Böhm, C., 2019, Proceedings of the 2019 International Conference on Management of Data, SIGMOD Conference 2019, Amsterdam, The Netherlands, June 30 - July 5, 2019.. p. 87-104 18 p.

    Publications: Contribution to bookContribution to proceedingsPeer Reviewed

  • Cache-oblivious Loops Based on a Novel Space-filling Curve

    Böhm, C., Perdacher, M. & Plant, C., Dec 2016, Proceedings - 2016 IEEE International Conference on Big Data, Big Data 2016: 5-8 Dec. 2016. Ak, R., Karypis, G., Xia, Y., Hu, X. T., Yu, P. S., Joshi, J., Ungar, L., Liu, L., Sato, A-H., Suzumura, T., Rachuri, S., Govindaraju, R. & Xu, W. (eds.). [Piscataway, NJ]: IEEE Xplore, p. 17-26 10 p.

    Publications: Contribution to bookContribution to proceedingsPeer Reviewed

Cite this