Finding Morton-Like Layouts for Multi-Dimensional Arrays Using Evolutionary Algorithms

09/13/2023
by   Stephen Nicholas Swatman, et al.
0

The layout of multi-dimensional data can have a significant impact on the efficacy of hardware caches and, by extension, the performance of applications. Common multi-dimensional layouts include the canonical row-major and column-major layouts as well as the Morton curve layout. In this paper, we describe how the Morton layout can be generalized to a very large family of multi-dimensional data layouts with widely varying performance characteristics. We posit that this design space can be efficiently explored using a combinatorial evolutionary methodology based on genetic algorithms. To this end, we propose a chromosomal representation for such layouts as well as a methodology for estimating the fitness of array layouts using cache simulation. We show that our fitness function correlates to kernel running time in real hardware, and that our evolutionary strategy allows us to find candidates with favorable simulated cache properties in four out of the eight real-world applications under consideration in a small number of generations. Finally, we demonstrate that the array layouts found using our evolutionary method perform well not only in simulated environments but that they can effect significant performance gains – up to a factor ten in extreme cases – in real hardware.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/13/2016

Deleting and Testing Forbidden Patterns in Multi-Dimensional Arrays

Understanding the local behaviour of structured multi-dimensional data i...
research
04/26/2018

Optimal-margin evolutionary classifier

We introduce a novel approach for discriminative classification using ev...
research
11/05/2022

Modeling Multi-Dimensional Datasets via a Fast Scale-Free Network Model

Compared with network datasets, multi-dimensional data are much more com...
research
03/16/2018

Distributed Caching for Complex Querying of Raw Arrays

As applications continue to generate multi-dimensional data at exponenti...
research
05/05/2023

Generic and Robust Root Cause Localization for Multi-Dimensional Data in Online Service Systems

Localizing root causes for multi-dimensional data is critical to ensure ...
research
03/03/2010

Properties of the Discrete Pulse Transform for Multi-Dimensional Arrays

This report presents properties of the Discrete Pulse Transform on multi...
research
11/14/2018

Layout Design for Intelligent Warehouse by Evolution with Fitness Approximation

With the rapid growth of the express industry, intelligent warehouses th...

Please sign up or login with your details

Forgot password? Click here to reset