-
公开(公告)号:US10360160B2
公开(公告)日:2019-07-23
申请号:US15331803
申请日:2016-10-21
Applicant: Samsung Electronics Co., Ltd.
Inventor: Tarun Nakra , Kevin Heuer , Khang Nguyen
IPC: G06F12/00 , G06F12/128 , G06F12/0891 , G06F12/0897 , G06F12/123
Abstract: According to one general aspect, an apparatus may include a cache and a cache replacement unit. The cache may be arranged in a plurality of cache sets each configured to store data. A number of cache sets are designated as leader cache sets and each leader cache set is associated with a first replacement policy or a second replacement policy. The cache replacement unit may be configured to monitor an effectiveness of the first replacement policy and, at least, the second replacement policy to accurately predict cache line replacement. The cache replacement unit may be configured to select the first replacement policy or the second replacement policy to be a dominant replacement policy. The cache replacement unit may be configured to dynamically scale the number of cache sets that are designated as leader cache sets based at least in part upon the effectiveness of the dominant replacement policy.