发明公开
EP0394642A2 Data prefetching in caches 失效
在缓存中预取数据

Data prefetching in caches
摘要:
A method using CH Loc (change-local) type information is used for data prefetch (D-prefetch) decision making. This information is stored in history tables H, there being one such table for each CP at, for example, the buffer control element (BCE). For each line L, H[L] indicates the information for L in H. Two different types of histories may be kept at H:

(1) XI-invalidates - At each H[L], there is recorded whether L was XI-invalidated without refetching.
(2) CH Loc - At each H[L], there is also recorded local-change history, i.e., whether L was stored into since the last fetch.

It is also possible to keep a global H at the storage control element (SCE). In this case, the SCE maintains a table I recording, for each line L, information I[L] recording whether L involved XI-­invalidates during the last accesses by a CP. Upon a cache miss to L from a processor CP i , the SCE prefetches some of those lines that involved XI-­invalidates (indicated by I) into cache C i , if missing there. The management of table I is simple. When an XI-invalidate on L occurs, e.g., upon a store or an EX fetch, the corresponding entry is set. When L is accessed, e.g., upon D-fetch misses, without XI-invalidate, the entry in I is reset. Another criteria for turning an I entry OFF is when the line is fetched, e.g., on demand or upon prefetch.
公开/授权文献
信息查询
0/0