Title :
A Virtual Sample Generation Approach for Speculative Multithreading Using Feature Sets and Abstract Syntax Trees
Author :
Bin Liu ; Yinliang Zhao ; Meirong Li ; Yanzhao Liu ; Boqin Feng
Author_Institution :
Sch. of Electron. & Inf. Eng., Xi´an Jiaotong Univ., Xi´an, China
Abstract :
Speculative multithreading (SpMT) is a thread level automatic parallelization technique to accelerate sequential programs. Since approaches based on heuristic rules only get the local optimal speculative thread solution and have reached their speedup performance limit, machine learning approaches have been introduced into speculative multithreading to avoid the shortcomings of the heuristic rules relied on experience. However, few irregular programs can meet the need for training model of machine learning. To solve this problem, we first build feature sets based on Olden benchmarks and then disturb them into new sets. With the new sets, virtual samples are generated by abstract syntax trees (ASTs). By this means, we effectively resolve the shortage of samples for speculative multithreading based on machine learning. On Prophet, which is a generic SpMT processor to evaluate the performance of multithread programs, the validity of virtual samples is verified and reaches an average speedup of 1.47. Experiments show that the virtual samples can simulate a variety of procedure structures of Olden benchmarks and this sample generation technique can provide sufficient samples for training model.
Keywords :
computational linguistics; learning (artificial intelligence); multi-threading; set theory; software performance evaluation; trees (mathematics); AST; Olden benchmarks; Prophet; abstract syntax trees; feature sets; generic SpMT processor; machine learning approach; multithread programs; performance evaluation; sequential programs; speculative multithreading; thread level automatic parallelization technique; training model; virtual sample generation approach; virtual sample verification; virtual samples; Abstracts; Algorithm design and analysis; Feature extraction; Instruction sets; Multithreading; Partitioning algorithms; Training; Automatic Parallelization; Machine Learning; Program Features; Speculative Multithreading; Virtual Samples;
Conference_Titel :
Parallel and Distributed Computing, Applications and Technologies (PDCAT), 2012 13th International Conference on
Conference_Location :
Beijing
Print_ISBN :
978-0-7695-4879-1
DOI :
10.1109/PDCAT.2012.33