Repository logo

Infoscience

  • English
  • French
Log In
Logo EPFL, École polytechnique fédérale de Lausanne

Infoscience

  • English
  • French
Log In
  1. Home
  2. Academic and Research Output
  3. Conferences, Workshops, Symposiums, and Seminars
  4. Thread-Placement Learning
 
conference paper

Thread-Placement Learning

Antoniadis, Karolos  
•
Guerraoui, Rachid  
•
Trigonakis, Vasileios  
January 1, 2020
2020 Ieee 40Th International Conference On Distributed Computing Systems (Icdcs)
40th IEEE International Conference on Distributed Computing Systems (ICDCS)

In a non-uniform memory access machine, the placement of software threads to hardware cores can have a significant effect on the performance of concurrent applications. Detecting the best possible placement for each application is a necessity for thread scheduling. Yet, due to the difficulty of this problem, operating-system schedulers do not really try to understand the needs of applications, but rather focus on (non-portable) scheduling heuristics.

In this paper, we introduce thread-placement learning (TPLE), a technique for understanding the placement requirements of applications. TPLE utilizes machine learning and performance counters for choosing between different placement policies. To feed the machine learning model, TPLE requires a set of portable microbenchmarks that produce training data i.e., performance counter measurements for all the target placement policies. We use this data to train a classifier that is able to choose between these policies online in order to change the thread-placement of a running application.

We demonstrate the practicality of TPLE by implementing a thread-placement algorithm, named Slate. Slate is able to automatically and online (i.e., in runtime) select between the two most commonly-used placement policies, namely locality and round-robin placement on the nodes of a multicore. To the best of our knowledge, Slate is the first online thread-placement algorithm that utilizes machine learning in combination with performance counters. We evaluate Slate and show that it achieves up to 93% accuracy in its decisions and outperforms the Linux scheduler by up to 16%.

  • Details
  • Metrics
Type
conference paper
DOI
10.1109/ICDCS47774.2020.00050
Web of Science ID

WOS:000667971400080

Author(s)
Antoniadis, Karolos  
Guerraoui, Rachid  
Trigonakis, Vasileios  
Date Issued

2020-01-01

Publisher

IEEE COMPUTER SOC

Publisher place

Los Alamitos

Published in
2020 Ieee 40Th International Conference On Distributed Computing Systems (Icdcs)
ISBN of the book

978-1-7281-7002-2

Series title/Series vol.

IEEE International Conference on Distributed Computing Systems

Start page

877

End page

887

Subjects

Computer Science, Hardware & Architecture

•

Computer Science, Information Systems

•

Computer Science, Software Engineering

•

Computer Science, Theory & Methods

•

Computer Science

Editorial or Peer reviewed

REVIEWED

Written at

EPFL

EPFL units
DCL  
Event nameEvent placeEvent date
40th IEEE International Conference on Distributed Computing Systems (ICDCS)

ELECTR NETWORK

Nov 29-Dec 01, 2020

Available on Infoscience
July 31, 2021
Use this identifier to reference this record
https://infoscience.epfl.ch/handle/20.500.14299/180260
Logo EPFL, École polytechnique fédérale de Lausanne
  • Contact
  • infoscience@epfl.ch

  • Follow us on Facebook
  • Follow us on Instagram
  • Follow us on LinkedIn
  • Follow us on X
  • Follow us on Youtube
AccessibilityLegal noticePrivacy policyCookie settingsEnd User AgreementGet helpFeedback

Infoscience is a service managed and provided by the Library and IT Services of EPFL. © EPFL, tous droits réservés