Summary In this article, we present mutable locks, a synchronization construct with the same semantic of traditional locks (such as spin locks or sleep locks), but with a self-tuned optimized trade-off between responsiveness and CPU-time usage during threads' wait phases. Mutable locks tackle the need for efficient synchronization supports in the era of multicore machines, where the run-time performance should be optimized while reducing resource usage. This goal should be achieved with no intervention by the programmers. Our proposal is intended for exploitation in generic concurrent applications, where scarce or no knowledge is available about the underlying software/hardware stack and the workload. This is an adverse scenario for static choices between spinning and sleeping, which is tackled by our mutable locks thanks to their hybrid waiting phase and self-tuning capabilities.

Mutable locks: Combining the best of spin and sleep locks / Marotta, Romolo; Tiriticco, Davide; DI SANZO, Pierangelo; Pellegrini, Alessandro; Ciciani, Bruno; Quaglia, Francesco. - In: CONCURRENCY AND COMPUTATION. - ISSN 1532-0626. - (2020). [10.1002/cpe.5858]

Mutable locks: Combining the best of spin and sleep locks

Romolo Marotta;Pierangelo Di Sanzo;Alessandro Pellegrini;Bruno Ciciani;Francesco Quaglia
2020

Abstract

Summary In this article, we present mutable locks, a synchronization construct with the same semantic of traditional locks (such as spin locks or sleep locks), but with a self-tuned optimized trade-off between responsiveness and CPU-time usage during threads' wait phases. Mutable locks tackle the need for efficient synchronization supports in the era of multicore machines, where the run-time performance should be optimized while reducing resource usage. This goal should be achieved with no intervention by the programmers. Our proposal is intended for exploitation in generic concurrent applications, where scarce or no knowledge is available about the underlying software/hardware stack and the workload. This is an adverse scenario for static choices between spinning and sleeping, which is tackled by our mutable locks thanks to their hybrid waiting phase and self-tuning capabilities.
2020
locking supports; multicore platforms; self-tuning; shared-memory algorithms; thread synchronization
01 Pubblicazione su rivista::01a Articolo in rivista
Mutable locks: Combining the best of spin and sleep locks / Marotta, Romolo; Tiriticco, Davide; DI SANZO, Pierangelo; Pellegrini, Alessandro; Ciciani, Bruno; Quaglia, Francesco. - In: CONCURRENCY AND COMPUTATION. - ISSN 1532-0626. - (2020). [10.1002/cpe.5858]
File allegati a questo prodotto
File Dimensione Formato  
Marotta_Mutable-Locks-Combining_2020.pdf

solo gestori archivio

Note: Article in press
Tipologia: Versione editoriale (versione pubblicata con il layout dell'editore)
Licenza: Tutti i diritti riservati (All rights reserved)
Dimensione 1.9 MB
Formato Adobe PDF
1.9 MB Adobe PDF   Contatta l'autore
Marotta_Mutable-Locks-Combining_2020_postprint.pdf

accesso aperto

Note: https://doi.org/10.1002/cpe.5858
Tipologia: Documento in Post-print (versione successiva alla peer review e accettata per la pubblicazione)
Licenza: Tutti i diritti riservati (All rights reserved)
Dimensione 4.16 MB
Formato Adobe PDF
4.16 MB Adobe PDF

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/1419416
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 3
  • ???jsp.display-item.citation.isi??? 2
social impact