-
公开(公告)号:US09734070B2
公开(公告)日:2017-08-15
申请号:US14921468
申请日:2015-10-23
发明人: Alain Artieri , Subbarao Palacharla , Laurent Moll , Raghu Sankuratri , Kedar Bhole , Vinod Chamarty
IPC分类号: G06F12/08 , G06F12/084 , G06F12/0895 , G06F12/0842 , G06F12/0846 , G06F12/127 , G06F12/0864 , G06F12/123
CPC分类号: G06F12/084 , G06F12/0842 , G06F12/0846 , G06F12/0864 , G06F12/0895 , G06F12/123 , G06F12/127 , G06F2212/1044 , G06F2212/1048 , G06F2212/601 , G06F2212/62
摘要: A cache controller adaptively partitions a shared cache. The adaptive partitioning cache controller includes tag comparison and staling logic and selection logic that are responsive to client access requests and various parameters. A component cache is assigned a target occupancy which is compared to a current occupancy. A conditional identification of stale cache lines is used to manage data stored in the shared cache. When a conflict or cache miss is identified, selection logic identifies candidates for replacement preferably among cache lines identified as stale. Each cache line is assigned to a bucket with a fixed number of buckets per component cache. Allocated cache lines are assigned to a bucket as a function of the target occupancy. After a select number of buckets are filled, subsequent allocations result in the oldest cache lines being marked stale. Cache lines are deemed stale when their respective component cache active indicator is de-asserted.