首页> 外国专利> Data cache scrub mechanism for large L2/L3 data cache structures

Data cache scrub mechanism for large L2/L3 data cache structures

机译:大型L2 / L3数据缓存结构的数据缓存清理机制

摘要

A method of reducing errors in a cache memory of a computer system (e.g., an L2 cache) by periodically issuing a series of purge commands to the L2 cache, sequentially flushing cache lines from the L2 cache to an L3 cache in response to the purge commands, and correcting errors (single-bit) in the cache lines as they are flushed to the L3 cache. Purge commands are issued only when the processor cores associated with the L2 cache have an idle cycle available in a store pipe to the cache. The flush rate of the purge commands can be programmably set, and the purge mechanism can be implemented either in software running on the computer system, or in hardware integrated with the L2 cache. In the case of the software, the purge mechanism can be incorporated into the operating system. In the case of hardware, a purge engine can be provided which advantageously utilizes the store pipe that is provided between the L1 and L2 caches. The L2 cache can be forced to victimize cache lines, by setting tag bits for the cache lines to a value that misses in the L2 cache (e.g., cache-inhibited space). With the eviction mechanism of the cache placed in a direct-mapped mode, the address misses will result in eviction of the cache lines, thereby flushing them to the L3 cache.
机译:一种通过周期性地向L2高速缓存发出一系列清除命令,响应于清除而从L2高速缓存到L3高速缓存顺序刷新高速缓存行的方法,来减少计算机系统的高速缓存(例如,L2高速缓存)中的错误的方法。命令,并在刷新到L3缓存时更正缓存行中的错误(单位)。仅当与L2高速缓存关联的处理器核心在通往高速缓存的存储管道中具有空闲周期时才发出清除命令。清除命令的刷新率可以通过编程设置,清除机制可以在计算机系统上运行的软件或与L2高速缓存集成的硬件中实现。在软件的情况下,清除机制可以合并到操作系统中。在硬件的情况下,可以提供净化引擎,该净化引擎有利地利用在L1和L2高速缓存之间提供的存储管道。通过将高速缓存行的标记位设置为在L2高速缓存中未命中的值(例如,禁止高速缓存的空间),可以迫使L2高速缓存牺牲高速缓存行。通过将缓存的逐出机制置于直接映射模式下,地址丢失将导致逐出缓存行,从而将它们刷新到L3缓存。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号