首页> 外国专利> Method for reducing the number of coherency cycles within a directory- based cache coherency memory system uitilizing a memory state cache

Method for reducing the number of coherency cycles within a directory- based cache coherency memory system uitilizing a memory state cache

机译:减少基于目录的高速缓存一致性存储系统中的一致性周期数的方法,该方法使存储器状态高速缓存成为现实

摘要

An improved method for performing state cache line replacement operations in a multiprocessor computer system including plurality if data cache memories, a shared system memory, a state cache memory, and employing a centralized/distributed directory-based cache coherency system for maintaining consistency between lines of memory within the shared system memory and the plurality of data cache memories. The method for performing state cache line replacement operations includes the steps of: establishing a default system memory line state of SHARED for lines of memory represented in said state cache memory; reading the system memory line state for a previously stored state cache entry prior to a replacement of said previously stored state cache entry, said previously stored state cache entry being associated with a line of memory stored in said shared memory and at least one data cache memory; and performing a castout operation to update the line of memory within said shared memory and assigning a data cache memory line state of SHARED to said line of memory in each data cache memory containing said line of memory if said system memory line state for said previously stored state cache entry is OWNED. Since most lines of memory are in a shared state prior to replacement, setting the default state to a shared state, rather than a uncached state, reduces the number of invalidate coherency operations which must be performed during state cache line replacements.
机译:一种改进的方法,用于在多处理器计算机系统中执行状态高速缓存行替换操作,该系统包括多个if数据高速缓存,一个共享系统内存,一个状态高速缓存,并采用集中式/分布式基于目录的高速缓存一致性系统来保持行之间的一致性。共享系统存储器中的存储器和多个数据高速缓冲存储器。用于执行状态高速缓存行替换操作的方法包括以下步骤:为在所述状态高速缓存存储器中表示的存储器行建立默认的系统存储器行状态SHARED;在替换所述先前存储的状态高速缓存条目之前,读取先前存储的状态高速缓存条目的系统存储器行状态,所述先前存储的状态高速缓存条目与存储在所述共享存储器和至少一个数据高速缓存存储器中的一行存储器相关联;以及执行分出操作以更新所述共享存储器内的存储器行,并且如果先前存储的所述系统存储器行状态为所述存储行的每个数据高速缓冲存储器中的所述存储器行,则将共享数据的数据高速缓存行状态分配给所述存储器的行状态高速缓存条目为OWNED。由于大多数内存行在替换前都处于共享状态,因此将默认状态设置为共享状态而不是未缓存状态可以减少在状态缓存行替换期间必须执行的无效一致性操作的数量。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号