发明名称 IMPROVING COMPUTER PERFORMANCE BY SIMULATED CACHE ASSOCIATIVITY
摘要 A computer system using virtual memory addressing and having a direct-mapped cache is operated in a manner to simulate the effect of a set associative cache by detecting cache misses and remapping pages in the main memory so that memory references which would have caused thrashing can instead coexist in the cache. Two memory addresses which are in different pages but which map to the same location in the cache may not reside in the direct-mapped cache at the same time, so alternate reference to these addresses by a task executing on the CPU would cause thrashing. However, if the location of one of these addresses in main memory is changed, the data items having these addresses can coexist in the cache, and performance will be markedly improved because thrashing will no longer result. For a CPU executing a virtual memory operating system, a page of data or instructions can be moved to a different physical page frame but remain the same virtual address. This is accomplished by simply updating the page-mapping tables to reflect the new physical location of the page, and copying the data from the old page frame to the new one. The thrashing condition is detected and corrected dynamically by latching cache miss addresses and periodically sampling the latch, the remapping pages containing the addresses found upon sampling. The direct-mapped cache must be large enough to hold two or more pages.
申请公布号 WO9222867(A1) 申请公布日期 1992.12.23
申请号 WO1992US04281 申请日期 1992.05.21
申请人 DIGITAL EQUIPMENT CORPORATION 发明人 SITES, RICHARD, L.
分类号 G06F12/08;G06F12/10 主分类号 G06F12/08
代理机构 代理人
主权项
地址