In this work, we consider the C++ Actor Framework (CAF), a recent proposal that revamped the interest in building concurrent and distributed applications using the actor programming model in C++. CAF has been optimized for high-throughput computing, whereas message latency between actors is greatly influenced by the message data rate: At low and moderate rates the latency is higher than at high data rates. To this end, we propose a modification of the polling strategies in the work-stealing CAF scheduler, which can reduce message latency at low and moderate data rates up to two orders of magnitude without compromising the overall throughput and message latency at maximum pressure. The technique proposed uses a lightweight event notification protocol that is general enough to be used used to optimize the runtime of other frameworks experiencing similar issues.

Reducing Message Latency and CPU Utilization in the CAF Actor Framework / Torquati, M; Menga, T; De Matteis, T; De Sensi, D; Mencagli, G. - (2018), pp. 145-153. (Intervento presentato al convegno 26th Euromicro International Conference on Parallel, Distributed, and Network-Based Processing, PDP 2018 tenutosi a gbr) [10.1109/PDP2018.2018.00028].

Reducing Message Latency and CPU Utilization in the CAF Actor Framework

De Sensi D;
2018

Abstract

In this work, we consider the C++ Actor Framework (CAF), a recent proposal that revamped the interest in building concurrent and distributed applications using the actor programming model in C++. CAF has been optimized for high-throughput computing, whereas message latency between actors is greatly influenced by the message data rate: At low and moderate rates the latency is higher than at high data rates. To this end, we propose a modification of the polling strategies in the work-stealing CAF scheduler, which can reduce message latency at low and moderate data rates up to two orders of magnitude without compromising the overall throughput and message latency at maximum pressure. The technique proposed uses a lightweight event notification protocol that is general enough to be used used to optimize the runtime of other frameworks experiencing similar issues.
2018
26th Euromicro International Conference on Parallel, Distributed, and Network-Based Processing, PDP 2018
Actor model; CAF; message latency; multi-cores; polling strategies; work-stealing; Computer Networks and Communications; Hardware and Architecture
04 Pubblicazione in atti di convegno::04b Atto di convegno in volume
Reducing Message Latency and CPU Utilization in the CAF Actor Framework / Torquati, M; Menga, T; De Matteis, T; De Sensi, D; Mencagli, G. - (2018), pp. 145-153. (Intervento presentato al convegno 26th Euromicro International Conference on Parallel, Distributed, and Network-Based Processing, PDP 2018 tenutosi a gbr) [10.1109/PDP2018.2018.00028].
File allegati a questo prodotto
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11573/1656240
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 5
  • ???jsp.display-item.citation.isi??? 3
social impact