Cargando…
Using Heuristic Value Prediction and Dynamic Task Granularity Resizing to Improve Software Speculation
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...
Autores principales: | , , , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Hindawi Publishing Corporation
2014
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4054886/ https://www.ncbi.nlm.nih.gov/pubmed/24971374 http://dx.doi.org/10.1155/2014/478013 |
_version_ | 1782320560438509568 |
---|---|
author | Xu, Fan Shen, Li Wang, Zhiying Su, Bo Guo, Hui Chen, Wei |
author_facet | Xu, Fan Shen, Li Wang, Zhiying Su, Bo Guo, Hui Chen, Wei |
author_sort | Xu, Fan |
collection | PubMed |
description | 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. |
format | Online Article Text |
id | pubmed-4054886 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2014 |
publisher | Hindawi Publishing Corporation |
record_format | MEDLINE/PubMed |
spelling | pubmed-40548862014-06-26 Using Heuristic Value Prediction and Dynamic Task Granularity Resizing to Improve Software Speculation Xu, Fan Shen, Li Wang, Zhiying Su, Bo Guo, Hui Chen, Wei ScientificWorldJournal Research Article 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. Hindawi Publishing Corporation 2014 2014-05-20 /pmc/articles/PMC4054886/ /pubmed/24971374 http://dx.doi.org/10.1155/2014/478013 Text en Copyright © 2014 Fan Xu et al. https://creativecommons.org/licenses/by/3.0/ This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. |
spellingShingle | Research Article Xu, Fan Shen, Li Wang, Zhiying Su, Bo Guo, Hui Chen, Wei Using Heuristic Value Prediction and Dynamic Task Granularity Resizing to Improve Software Speculation |
title | Using Heuristic Value Prediction and Dynamic Task Granularity Resizing to Improve Software Speculation |
title_full | Using Heuristic Value Prediction and Dynamic Task Granularity Resizing to Improve Software Speculation |
title_fullStr | Using Heuristic Value Prediction and Dynamic Task Granularity Resizing to Improve Software Speculation |
title_full_unstemmed | Using Heuristic Value Prediction and Dynamic Task Granularity Resizing to Improve Software Speculation |
title_short | Using Heuristic Value Prediction and Dynamic Task Granularity Resizing to Improve Software Speculation |
title_sort | using heuristic value prediction and dynamic task granularity resizing to improve software speculation |
topic | Research Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4054886/ https://www.ncbi.nlm.nih.gov/pubmed/24971374 http://dx.doi.org/10.1155/2014/478013 |
work_keys_str_mv | AT xufan usingheuristicvaluepredictionanddynamictaskgranularityresizingtoimprovesoftwarespeculation AT shenli usingheuristicvaluepredictionanddynamictaskgranularityresizingtoimprovesoftwarespeculation AT wangzhiying usingheuristicvaluepredictionanddynamictaskgranularityresizingtoimprovesoftwarespeculation AT subo usingheuristicvaluepredictionanddynamictaskgranularityresizingtoimprovesoftwarespeculation AT guohui usingheuristicvaluepredictionanddynamictaskgranularityresizingtoimprovesoftwarespeculation AT chenwei usingheuristicvaluepredictionanddynamictaskgranularityresizingtoimprovesoftwarespeculation |