On Automated Memoization in the Field of Simulation Parameter Studies
On Automated Memoization in the Field of Simulation Parameter Studies
复制标题
论仿真参数研究领域的自动记忆
DOI:
10.1145/3186316
复制
发表时间:
2018
期刊:
影响因子:
--
通讯作者:
K. Wehrle
中科院分区:
文献类型:
--
作者:
M. Stoffers;D. Schemmel;O. Soria Dustmann;K. Wehrle
Processes in computer simulations tend to be highly repetitive. In particular, parameter studies further exasperate the situation as the same model is repeatedly executed with only partially varying parameters. Consequently, computer simulations perform identical computations, with identical code, identical input, and hence identical output. These redundant computations waste significant amounts of time and energy.Memoization, dating back to 1968, enables the caching of such identical intermediate results, thereby significantly speeding up those computations. However, until now, automated approaches were limited to pure functions. At ACM SIGSIM-PADS 2016 we published, to the best of our knowledge, the first practical approach for automated memoization for impure code. In this work, we extend this approach and evaluate the performance characteristics of a number of extensions that deal with questions posed at PADS: (1) To reduce and bound the memory footprint, we investigate several cache eviction strategies. (2) We allow the original and the memoized code to coexist via a runtime-switch and analyze the crossover point, thereby mitigating memoization overhead. (3) By optionally persisting the Memoization Cache to disk, we expand the scope to exploratory parameter studies where cached results can now be reused across multiple simulation runs.Altogether, automated memoization for impure code is a valuable technique, the versatility of which we explore further in this article. It sped up a case study of an OFDM network simulation by a factor of more than 80 with an only marginal increase of memory consumption.
登录
查看更多内容
DOI:
--
发表时间:
1985
期刊:
International Joint Conference on Artificial Intelligence
影响因子:
--
作者:
Jack Mostow;D. Cohen
通讯作者:
D. Cohen
DOI:
--
发表时间:
1996
期刊:
Proceedings of Symposium on Parallel and Distributed Tools
影响因子:
--
作者:
D. West;K. Panesar
通讯作者:
K. Panesar
DOI:
--
发表时间:
2015
期刊:
SIGSIM Principles of Advanced Discrete Simulation
影响因子:
--
作者:
Davide Cingolani;Alessandro Pellegrini;F. Quaglia
通讯作者:
F. Quaglia
影响因子:
--
作者:
Umut A. Acar
通讯作者:
Umut A. Acar
DOI:
10.1145/2901378.2901386
发表时间:
2016
期刊:
Proceedings of the 2016 ACM SIGSIM Conference on Principles of Advanced Discrete Simulation
影响因子:
--
作者:
M. Stoffers;D. Schemmel;O. Soria Dustmann;K. Wehrle
通讯作者:
K. Wehrle