title: Using heuristic value prediction and dynamic task granularity resizing to improve software speculation.
abstract: Exploiting potential thread-level parallelism (TLP) is becoming the key factor to improving performance of programs on multicore or many-core systems. Among various kinds of parallel execution models, the software-based speculative parallel model has become a research focus due to its low cost, high efficiency, flexibility, and scalability. The performance of the guest program under the software-based speculative parallel execution model is closely related to the speculation accuracy, the control overhead, and the rollback overhead of the model. In this paper, we first analyzed the conventional speculative parallel model and presented an analytic model of its expectation of the overall overhead, then optimized the conventional model based on the analytic model, and finally proposed a novel speculative parallel model named HEUSPEC. The HEUSPEC model includes three key techniques, namely, the heuristic value prediction, the value based correctness checking, and the dynamic task granularity resizing. We have implemented the runtime system of the model in ANSI C language. The experiment results show that when the speedup of the HEUSPEC model can reach 2.20 on the average (15% higher than conventional model) when depth is equal to 3 and 4.51 on the average (12% higher than conventional model) when speculative depth is equal to 7. Besides, it shows good scalability and lower memory cost.
authors: National University of Defense Technology, Changsha, Hunan 410073, China.
authors: Fan
authors: 0000-0002-1358-0193
authors: F
authors: Xu
authors: National University of Defense Technology, Changsha, Hunan 410073, China.
authors: Li
authors: L
authors: Shen
authors: National University of Defense Technology, Changsha, Hunan 410073, China.
authors: Zhiying
authors: Z
authors: Wang
authors: National University of Defense Technology, Changsha, Hunan 410073, China.
authors: Bo
authors: 0000-0003-4735-5565
authors: B
authors: Su
authors: National University of Defense Technology, Changsha, Hunan 410073, China.
authors: Hui
authors: H
authors: Guo
authors: National University of Defense Technology, Changsha, Hunan 410073, China.
authors: Wei
authors: W
authors: Chen
mesh_terms: D000465:Algorithms; D001185:Artificial Intelligence; D008962:Models, Theoretical; D012984:Software