Title
Programming a Multicore Architecture without Coherency and Atomic Operations
Abstract
It is hard to reason about the state of a multicore system-on-chip, because operations on memory need multiple cycles to complete, since cores communicate via an interconnect like a network-on-chip. To simplify programming, atomicity is required, by means of atomic read-modify-write (RMW) operations, a strong memory model, and hardware cache coherency. As a result, multicore architectures are very complex, but this stems from the fact that they are designed with an imperative programming paradigm in mind, i.e. based on threads that communicate via shared memory. In this paper, we show the impact on a multicore architecture, when the programming paradigm is changed and a λ-calculus-based (functional) language is used instead. Ordering requirements of memory operations are more relaxed and synchronization is simplified, because λ-calculus does not have a notion of state or memory, and therefore does not impose ordering requirements on the platform. We implemented a functional language for multicores with a weak memory model, without the need of hardware cache coherency, any atomic RMW operation, or mutex---the execution is atomic-free. Experiments show that even on a system with (transparently applied) software cache coherency, execution scales properly up to 32 cores. This shows that concurrent hardware complexity can be reduced by making different choices in the software layers on top.
Year
DOI
Venue
2014
10.1145/2560683.2560697
PMAM
Keywords
DocType
ISBN
hardware cache coherency,shared memory,atomic operations,weak memory model,multicore architecture,concurrent hardware complexity,strong memory model,multicore system-on-chip,memory operation,programming paradigm,imperative programming paradigm,distributed shared memory,functional language,cache coherency,embedded system,memory model
Conference
978-1-4503-2657-5
Citations 
PageRank 
References 
0
0.34
21
Authors
3
Name
Order
Citations
PageRank
Jochem H. Rutgers1252.63
marco j g bekooij21619.00
Gerard J. M. Smit388889.18