Two Software-Based Models of Thread Level Speculation
- π€ Speaker: Cosmin Oancea (University of Cambridge)
- π Date & Time: Friday 01 June 2007, 15:15 - 16:15
- π Venue: GS15, Computer Laboratory
Abstract
Although thread-level speculation (TLS) has proved to be a promising direction for exploiting the programs’ inherent parallelism, their application to mainstream use is still delayed. On the one hand, hardware-centric approaches involve non-trivial and expensive changes to the basic cache-coherence infrastructure, which have not as yet been integrated in the design of the commercial processors. On the other hand, current software solutions use too much extra-memory, or incur non-constant and potentially high overheads, or are not applicable to general program patterns.
We present here two software-based TLS models that address the observed shortcomings of existing solutions: First, the speculative memory size is adaptable, but in general much smaller than the one of the sequential program. Second, the speculative operation overhead is nearly constant and comparable with the ``ideal’’ case of the related approaches, to the result that the system’s performance can be easily anticipated. Third, we achieve these without using any synchronization primitive, as we find the latter prohibitively expensive. Fourth, dependencies are tracked at the instruction/iteration level, and therefore our models tolerate well dependency-violations, as long as they are rear events. Finally, our solutions do not rely on specialized compiler support, and hence, they can be easily integrated in a dynamic compiler or used directly by the programmer.
We show that our models yield significant speed-ups, as high as 260% on a four processor SMP machine, even when nearly all of the memory access operations are guarded with speculative support. We argue that due to these properties, our framework is better suited than others to expose TLS to mainstream use.
Series This talk is part of the Computer Laboratory Programming Research Group Seminar series.
Included in Lists
- All Talks (aka the CURE list)
- bld31
- Cambridge talks
- Computer Laboratory Programming Research Group Seminar
- Department of Computer Science and Technology talks and seminars
- GS15, Computer Laboratory
- Interested Talks
- School of Technology
- Trust & Technology Initiative - interesting events
- yk449
Note: Ex-directory lists are not shown.
![[Talks.cam]](/static/images/talkslogosmall.gif)


Friday 01 June 2007, 15:15-16:15