Cargando…

Pattern-Aware Staging for Hybrid Memory Systems

The ever increasing demand for higher memory performance and—at the same time—larger memory capacity is leading the industry towards hybrid main memory designs, i.e., memory systems that consist of multiple different memory technologies. This trend, however, naturally leads to one important question...

Descripción completa

Detalles Bibliográficos
Autores principales: Arima, Eishi, Schulz, Martin
Formato: Online Artículo Texto
Lenguaje:English
Publicado: 2020
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7295340/
http://dx.doi.org/10.1007/978-3-030-50743-5_24
_version_ 1783546631931559936
author Arima, Eishi
Schulz, Martin
author_facet Arima, Eishi
Schulz, Martin
author_sort Arima, Eishi
collection PubMed
description The ever increasing demand for higher memory performance and—at the same time—larger memory capacity is leading the industry towards hybrid main memory designs, i.e., memory systems that consist of multiple different memory technologies. This trend, however, naturally leads to one important question: how can we efficiently utilize such hybrid memories? Our paper proposes a software-based approach to solve this challenge by deploying a pattern-aware staging technique. Our work is based on the following observations: (a) the high-bandwidth fast memory outperforms the large memory for memory intensive tasks; (b) but those tasks can run for much longer than a bulk data copy to/from the fast memory, especially when the access pattern is more irregular/sparse. We exploit these observations by applying the following staging technique if the accesses are irregular and sparse: (1) copying a chunk (few GB of sequential data) from large to fast memory; (2) performing a memory intensive task on the chunk; and (3) writing it back to the large memory. To check the regularity/sparseness of the accesses at runtime with negligible performance impact, we develop a lightweight pattern detection mechanism using a helper threading inspired approach with two different Bloom filters. Our case study using various scientific codes on a real system shows that our approach achieves significant speed-ups compared to executions with using only the large memory or hardware caching: 3[Formula: see text] or 41% speedups in the best, respectively.
format Online
Article
Text
id pubmed-7295340
institution National Center for Biotechnology Information
language English
publishDate 2020
record_format MEDLINE/PubMed
spelling pubmed-72953402020-06-16 Pattern-Aware Staging for Hybrid Memory Systems Arima, Eishi Schulz, Martin High Performance Computing Article The ever increasing demand for higher memory performance and—at the same time—larger memory capacity is leading the industry towards hybrid main memory designs, i.e., memory systems that consist of multiple different memory technologies. This trend, however, naturally leads to one important question: how can we efficiently utilize such hybrid memories? Our paper proposes a software-based approach to solve this challenge by deploying a pattern-aware staging technique. Our work is based on the following observations: (a) the high-bandwidth fast memory outperforms the large memory for memory intensive tasks; (b) but those tasks can run for much longer than a bulk data copy to/from the fast memory, especially when the access pattern is more irregular/sparse. We exploit these observations by applying the following staging technique if the accesses are irregular and sparse: (1) copying a chunk (few GB of sequential data) from large to fast memory; (2) performing a memory intensive task on the chunk; and (3) writing it back to the large memory. To check the regularity/sparseness of the accesses at runtime with negligible performance impact, we develop a lightweight pattern detection mechanism using a helper threading inspired approach with two different Bloom filters. Our case study using various scientific codes on a real system shows that our approach achieves significant speed-ups compared to executions with using only the large memory or hardware caching: 3[Formula: see text] or 41% speedups in the best, respectively. 2020-05-22 /pmc/articles/PMC7295340/ http://dx.doi.org/10.1007/978-3-030-50743-5_24 Text en © Springer Nature Switzerland AG 2020 This article is made available via the PMC Open Access Subset for unrestricted research re-use and secondary analysis in any form or by any means with acknowledgement of the original source. These permissions are granted for the duration of the World Health Organization (WHO) declaration of COVID-19 as a global pandemic.
spellingShingle Article
Arima, Eishi
Schulz, Martin
Pattern-Aware Staging for Hybrid Memory Systems
title Pattern-Aware Staging for Hybrid Memory Systems
title_full Pattern-Aware Staging for Hybrid Memory Systems
title_fullStr Pattern-Aware Staging for Hybrid Memory Systems
title_full_unstemmed Pattern-Aware Staging for Hybrid Memory Systems
title_short Pattern-Aware Staging for Hybrid Memory Systems
title_sort pattern-aware staging for hybrid memory systems
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7295340/
http://dx.doi.org/10.1007/978-3-030-50743-5_24
work_keys_str_mv AT arimaeishi patternawarestagingforhybridmemorysystems
AT schulzmartin patternawarestagingforhybridmemorysystems