Energy efficient spin-locking in multi-core machines
Facoltà di INGEGNERIA DELL'INFORMAZIONE, INFORMATICA E STATISTICA Corso di laurea in INGEGNERIA INFORMATICA - ENGINEERING IN COMPUTER SCIENCE - LM Cattedra di Advanced Operating Systems and Virtualization
Candidato Salvatore Rivieccio 1405255
Relatore Correlatore Francesco Quaglia Pierangelo Di Sanzo
A/A 2015/2016 1 0 - Abstract
In this thesis I will show an implementation of spin-locks that works in an energy
efficient fashion, exploiting the capability of last generation hardware and new
software components in order to rise or reduce the CPU frequency when
running spinlock operation. In particular this work consists in a linux kernel
module and a user-space program that make possible to run with the lowest
frequency admissible when a thread is spin-locking, waiting to enter a critical
section. These changes are thread-grain, which means that only interested
threads are affected whereas the system keeps running as usual. Standard
libraries’ spinlocks do not provide energy efficiency support, those kind of
optimizations are related to the application behaviors or to kernel-level
solutions, like governors.