A Light-Weight Rollback Mechanism for Testing Kernel Variants in Auto-Tuning

作者:Hirasawa Shoichi*; Takizawa Hiroyuki; Kobayashi Hiroaki
来源:IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2015, E98D(12): 2178-2186.
DOI:10.1587/transinf.2015PAP0028

摘要

Automatic performance tuning of a practical application could be time-consuming and sometimes infeasible, because it often needs to evaluate the performances of a large number of code variants to find the best one. In this paper, hence, a light-weight rollback mechanism is proposed to evaluate each of code variants at a low cost. In the proposed mechanism, once one code variant of a target code block is executed, the execution state is rolled back to the previous state of not yet executing the block so as to repeatedly execute only the block to find the best code variant. It also has a feature of terminating a code variant whose execution time is longer than the shortest execution time so far. As a result, it can prevent executing the whole application many times and thus reduces the timing overhead of an auto-tuning process required for finding the best code variant.

  • 出版日期2015-12

全文