1. Efficient Stack Distance Approximation Based on Workload Characteristics
- Author
-
Sooyoung Lim and Dongchul Park
- Subjects
Stack distance ,reuse distance ,cache ,inter reference distance ,MRC ,miss ratio curve ,Electrical engineering. Electronics. Nuclear engineering ,TK1-9971 - Abstract
A stack distance of a reference is the depth from which the reference must be extracted from a stack. It has been widely applied to a variety of applications utilizing temporal locality information. However, calculating an exact stack distance requires significant computational complexity that is impractical for online production systems. This paper proposes an efficient algorithm that approximates a stack distance based on workload characteristics. The proposed algorithm utilizes two simple reference metrics: inter-reference distance and a quasi-unique reference count. More importantly, its approximation algorithm requires surprisingly simple calculation. Consequently, it significantly reduces computational overhead while exhibiting exceptional accuracy and runs extremely fast. Moreover, it allows configurable parameters for performance optimization by making optimal use of workload characteristics. Our extensive experiments with diverse realistic workloads demonstrate our stack distance approximation algorithm outperforms the current state-of-the-art algorithm with higher accuracy ( $3.7\times $ ), lower memory footprint ( $3.05\times $ ) and fast execution (less than 0.05 seconds) on average. In addition, with configuration parameters, our refined algorithm can achieve a 28% average additional accuracy improvement.
- Published
- 2022
- Full Text
- View/download PDF