Analytical modeling and optimization for affinity based thread scheduling on multicore systems

Fengguang Song, Shirley Moore, Jack Dongarra

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

15 Scopus citations

Abstract

This paper proposes an analytical model to estimate the cost of running an affinity-based thread schedule on multicore systems. The model consists of three submodels to evaluate the cost of executing a thread schedule: an affinity-graph submodel, a memory hierarchy submodel, and a cost submodel that characterize programs, machines, and costs respectively. We applied the analytical model to both synthetic and realworld applications. The estimated cost accurately predicts which schedule will provide better performance. Due to the NP-hardness of the scheduling problem, we designed an approximation algorithm to compute near-optimal solutions. We have extended the algorithm to support threads with data dependences. We conducted experiments with a computational fluid dynamics (CFD) kernel and Cholesky factorization on both UMA SMP and NUMA DSM machines. The results show that using the optimized thread schedule can improve the program performance by 25% to 400%, demonstrating that our method for determining an optimized thread schedule for multicore systems is efficient and practical.

Original languageEnglish
Title of host publication2009 IEEE International Conference on Cluster Computing and Workshops, CLUSTER '09
DOIs
StatePublished - 2009
Externally publishedYes
Event2009 IEEE International Conference on Cluster Computing and Workshops, CLUSTER '09 - New Orleans, LA, United States
Duration: Aug 31 2009Sep 4 2009

Publication series

NameProceedings - IEEE International Conference on Cluster Computing, ICCC
ISSN (Print)1552-5244

Conference

Conference2009 IEEE International Conference on Cluster Computing and Workshops, CLUSTER '09
Country/TerritoryUnited States
CityNew Orleans, LA
Period08/31/0909/4/09

Fingerprint

Dive into the research topics of 'Analytical modeling and optimization for affinity based thread scheduling on multicore systems'. Together they form a unique fingerprint.

Cite this