Towards a Deterministic Fine-Grained Task Ordering Using Multi-Versioned Memory
Resumo
Task-based programming models aim to simplify parallel programming. A runtime system schedules tasks to execute on cores. An essential component of this runtime is to track and manage dependencies between tasks. A typical approach is to rely on programmers to annotate tasks and data structures, essentially manually specifying the input and output of each task. As such, dependencies are associated with named program objects, making this approach problematic for pointer-based data structures. Furthermore, because the runtime system must track these dependencies, for efficient runtime performance the read and write sets should be kept small. We presume a memory system with architecturally visible support for multiple versions of data stored at the same program address. This paper proposes and evaluates a task-based execution model that uses this versioned memory system to deterministically parallelize sequential code. We have built a task-based runtime layer that uses this type of memory system for dependence tracking. We demonstrate the advantages of the proposed model by parallelizing pointer-heavy code, obtaining speedup of up to 19x on a 32-core system.
Palavras-chave:
Programming, Data structures, Runtime, Synchronization, Data models, Semantics, Task-based programming, Parallel programming, Versioned memory
Publicado
17/10/2017
Como Citar
GILAD, Eran; MAYZELS, Tehila; RAAB, Elazar; OSKIN, Mark; ETSION, Yoav.
Towards a Deterministic Fine-Grained Task Ordering Using Multi-Versioned Memory. In: INTERNATIONAL SYMPOSIUM ON COMPUTER ARCHITECTURE AND HIGH PERFORMANCE COMPUTING (SBAC-PAD), 29. , 2017, Campinas/SP.
Anais [...].
Porto Alegre: Sociedade Brasileira de Computação,
2017
.
p. 105-112.
