Cargando…

Approximate Data Dependence Profiling Based on Abstract Interval and Congruent Domains

Although parallel processing is mainstream, existing programs are often serial, and usually re-engineering cost is high. Data dependence profiling allows for automatically assessing parallelisation potential; Yet, data dependence profiling is notoriously slow and requires large memory, as it general...

Descripción completa

Detalles Bibliográficos
Autores principales: Abbas, Mostafa, Omar, Rasha, El-Mahdy, Ahmed, Rohou, Erven
Formato: Online Artículo Texto
Lenguaje:English
Publicado: 2020
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7343425/
http://dx.doi.org/10.1007/978-3-030-52794-5_1
_version_ 1783555754799661056
author Abbas, Mostafa
Omar, Rasha
El-Mahdy, Ahmed
Rohou, Erven
author_facet Abbas, Mostafa
Omar, Rasha
El-Mahdy, Ahmed
Rohou, Erven
author_sort Abbas, Mostafa
collection PubMed
description Although parallel processing is mainstream, existing programs are often serial, and usually re-engineering cost is high. Data dependence profiling allows for automatically assessing parallelisation potential; Yet, data dependence profiling is notoriously slow and requires large memory, as it generally requires keeping track of each memory access. This paper considers employing a simple abstract single-trace analysis method using simple interval and congruent modulo domains to track dependencies at lower time and memory costs. The method gathers and abstracts the set of all memory reference addresses for each static memory access instruction. This method removes the need for keeping a large shadow memory and only requires a single pair-wise analysis pass to detect dependencies among memory instructions through simple intersection operations. Moreover, the combination of interval and congruent domains improves precision when compared with only using an interval domain representation, mainly when the data is not accessed in a dense access pattern. We further improve precision through partitioning memory space into blocks, where references in each block abstracted independently. An initial performance study is conducted on SPEC CPU-2006 benchmark programs and polyhedral benchmark suite. Results show that the method reduces execution time overhead by 1.4[Formula: see text] for polyhedral and 10.7[Formula: see text] for SPEC2006 on average; and significantly reduces memory by 109780[Formula: see text] and 6981[Formula: see text] for polyhedral and SPEC2006 respectively; the method has an average precision of 99.05% and 61.37% for polyhedral and SPEC respectively. Using memory partitioning resulted in improving mean precision to be 82.25% and decreasing memory reduction to be 47[Formula: see text] for SPEC2006 suite.
format Online
Article
Text
id pubmed-7343425
institution National Center for Biotechnology Information
language English
publishDate 2020
record_format MEDLINE/PubMed
spelling pubmed-73434252020-07-09 Approximate Data Dependence Profiling Based on Abstract Interval and Congruent Domains Abbas, Mostafa Omar, Rasha El-Mahdy, Ahmed Rohou, Erven Architecture of Computing Systems – ARCS 2020 Article Although parallel processing is mainstream, existing programs are often serial, and usually re-engineering cost is high. Data dependence profiling allows for automatically assessing parallelisation potential; Yet, data dependence profiling is notoriously slow and requires large memory, as it generally requires keeping track of each memory access. This paper considers employing a simple abstract single-trace analysis method using simple interval and congruent modulo domains to track dependencies at lower time and memory costs. The method gathers and abstracts the set of all memory reference addresses for each static memory access instruction. This method removes the need for keeping a large shadow memory and only requires a single pair-wise analysis pass to detect dependencies among memory instructions through simple intersection operations. Moreover, the combination of interval and congruent domains improves precision when compared with only using an interval domain representation, mainly when the data is not accessed in a dense access pattern. We further improve precision through partitioning memory space into blocks, where references in each block abstracted independently. An initial performance study is conducted on SPEC CPU-2006 benchmark programs and polyhedral benchmark suite. Results show that the method reduces execution time overhead by 1.4[Formula: see text] for polyhedral and 10.7[Formula: see text] for SPEC2006 on average; and significantly reduces memory by 109780[Formula: see text] and 6981[Formula: see text] for polyhedral and SPEC2006 respectively; the method has an average precision of 99.05% and 61.37% for polyhedral and SPEC respectively. Using memory partitioning resulted in improving mean precision to be 82.25% and decreasing memory reduction to be 47[Formula: see text] for SPEC2006 suite. 2020-06-12 /pmc/articles/PMC7343425/ http://dx.doi.org/10.1007/978-3-030-52794-5_1 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
Abbas, Mostafa
Omar, Rasha
El-Mahdy, Ahmed
Rohou, Erven
Approximate Data Dependence Profiling Based on Abstract Interval and Congruent Domains
title Approximate Data Dependence Profiling Based on Abstract Interval and Congruent Domains
title_full Approximate Data Dependence Profiling Based on Abstract Interval and Congruent Domains
title_fullStr Approximate Data Dependence Profiling Based on Abstract Interval and Congruent Domains
title_full_unstemmed Approximate Data Dependence Profiling Based on Abstract Interval and Congruent Domains
title_short Approximate Data Dependence Profiling Based on Abstract Interval and Congruent Domains
title_sort approximate data dependence profiling based on abstract interval and congruent domains
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7343425/
http://dx.doi.org/10.1007/978-3-030-52794-5_1
work_keys_str_mv AT abbasmostafa approximatedatadependenceprofilingbasedonabstractintervalandcongruentdomains
AT omarrasha approximatedatadependenceprofilingbasedonabstractintervalandcongruentdomains
AT elmahdyahmed approximatedatadependenceprofilingbasedonabstractintervalandcongruentdomains
AT rohouerven approximatedatadependenceprofilingbasedonabstractintervalandcongruentdomains