Skip to main content

Spin detection hardware for improved management of multithreaded systems

Publication ,  Journal Article
Li, T; Lebeck, AR; Sorin, DJ
Published in: IEEE Transactions on Parallel and Distributed Systems
June 1, 2006

Spinning is a synchronization mechanism commonly used in applications and operating systems. Excessive spinning, however, often indicates performance or correctness (e.g., livelock) problems. Detecting if applications and operating systems are spinning is essential for achieving high performance, especially in consolidated servers running virtual machines. Prior research has used source or binary instrumentation to detect spinning. However, these approaches place a significant burden on programmers and may even be infeasible in certain situations. In this paper, we propose efficient hardware to detect spinning in unmodified applications and operating systems. Based on this hardware, we develop 1) scheduling and power policies that adaptively manage resources for spinning threads, 2) system support that helps detect when a multithreaded program is livelocked, and 3) hardware performance counters that accurately reflect system performance. Using full-system simulation with SPEC OMP, SPLASH-2, and Wisconsin commercial workloads, we demonstrate that our mechanisms effectively improve the management of multithreaded systems. © 2006 IEEE.

Duke Scholars

Altmetric Attention Stats
Dimensions Citation Stats

Published In

IEEE Transactions on Parallel and Distributed Systems

DOI

ISSN

1045-9219

Publication Date

June 1, 2006

Volume

17

Issue

6

Start / End Page

508 / 521

Related Subject Headings

  • Distributed Computing
  • 4606 Distributed computing and systems software
  • 1005 Communications Technologies
  • 0805 Distributed Computing
  • 0803 Computer Software
 

Citation

APA
Chicago
ICMJE
MLA
NLM
Li, T., Lebeck, A. R., & Sorin, D. J. (2006). Spin detection hardware for improved management of multithreaded systems. IEEE Transactions on Parallel and Distributed Systems, 17(6), 508–521. https://doi.org/10.1109/TPDS.2006.78
Li, T., A. R. Lebeck, and D. J. Sorin. “Spin detection hardware for improved management of multithreaded systems.” IEEE Transactions on Parallel and Distributed Systems 17, no. 6 (June 1, 2006): 508–21. https://doi.org/10.1109/TPDS.2006.78.
Li T, Lebeck AR, Sorin DJ. Spin detection hardware for improved management of multithreaded systems. IEEE Transactions on Parallel and Distributed Systems. 2006 Jun 1;17(6):508–21.
Li, T., et al. “Spin detection hardware for improved management of multithreaded systems.” IEEE Transactions on Parallel and Distributed Systems, vol. 17, no. 6, June 2006, pp. 508–21. Scopus, doi:10.1109/TPDS.2006.78.
Li T, Lebeck AR, Sorin DJ. Spin detection hardware for improved management of multithreaded systems. IEEE Transactions on Parallel and Distributed Systems. 2006 Jun 1;17(6):508–521.

Published In

IEEE Transactions on Parallel and Distributed Systems

DOI

ISSN

1045-9219

Publication Date

June 1, 2006

Volume

17

Issue

6

Start / End Page

508 / 521

Related Subject Headings

  • Distributed Computing
  • 4606 Distributed computing and systems software
  • 1005 Communications Technologies
  • 0805 Distributed Computing
  • 0803 Computer Software