Dual-thread speculation: a simple approach to uncover thread-level parallelism on a simultaneous multithreaded processor

  • Authors:
  • Fredrik Warg;Per Stenstrom

  • Affiliations:
  • Nema Labs AB, Chalmers Innovation, Goteborg, Sweden;Computer Science and Engineering, Chalmers University of Technology, Goteborg, Sweden

  • Venue:
  • International Journal of Parallel Programming
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

As chip multiprocessors with simultaneous multithreaded cores are becoming commonplace, there is a need for simple approaches to exploit thread-level parallelism. In this paper, we consider thread-level speculation as a means to reap thread-level parallelism out of application binaries. We first investigate the trade-offs between scheduling speculative threads on the same core and on different cores. While threads contend for the same resources using the former approach, the latter approach is plagued by the overhead for inter-core communication. Despite the impact of resource contention, our detailed simulations show that the first approach provides the best performance due to lower inter-thread communication cost. The key contribution of the paper is the proposed design and evaluation of the dual-thread speculation system. This design point has very low complexity and reaps most of the gains of a system.