首页> 外国专利> Mechanism for improving the randomization of cache accesses utilizing abit-matrix multiplication permutation of cache addresses

Mechanism for improving the randomization of cache accesses utilizing abit-matrix multiplication permutation of cache addresses

机译:利用高速缓存地址的位矩阵乘法置换改善高速缓存访​​问随机性的机制

摘要

An electronic computer system including a central processor and a hierarchical memory system having a large relatively low speed random access system memory and a small high speed set-associative cache memory including a data store section for storing lines of data from the system memory and a cache directory for indicating, by means of line identifier fields at any time, the lines of the system memory data currently resident in cache, is provided with a way to improve the distribution of data across the congruence classes within the cache. A mechanism is provided for performing a permutation operation on an M bit portion (X) of the system memory address, which permutation determines the congruence class into which the address will map. The permutation mechanism performs a bit-matrix multiplication of said M-bit address with an M×M matrix (where M is a real positive integer greater than 1) to produce a permuted M-bit address (X'). The directory controls utilize the permuted M-bit address (X') to determine the congruence class of any given memory access and automatically access the congruence class of the permuted address (X') subsequent to the permutation operation to determine if one of the line identifiers which identifies, every member of a congruence class currently stored in the directory, matches an identifier field from the memory access request from the CPU. If the match is successful the data store portion of the cache is accessed at the permuted M-bit address (X') and the requested data line is accessed at the address field specified by the CPU.
机译:一种电子计算机系统,包括中央处理器和具有较大的较低速随机存取系统存储器和较小的高速集相关高速缓冲存储器的分级存储系统,该高速高速存储相关高速缓冲存储器包括用于存储来自系统存储器和高速缓冲存储器的数据行的数据存储部分目录用于通过行标识符字段在任何时间指示当前驻留在高速缓存中的系统存储器数据的行,该目录提供了一种改善跨高速缓存内的同余类分布的数据的方式。提供了一种用于对系统存储器地址的M位部分(X)执行置换操作的机制,该置换确定该地址将映射到的同余类。置换机制执行所述M比特地址与M×M矩阵(其中M是大于1的实数正整数)的比特矩阵乘法以产生置换的M比特地址(X')。目录控件使用置换的M位地址(X')确定任何给定内存访问的一致性类,并在置换操作之后自动访问置换地址(X')的一致性类,以确定是否其中一行标识当前存储在目录中的同等类的每个成员的标识符与来自CPU的内存访问请求中的标识符字段相匹配。如果匹配成功,则在已排列的M位地址(X')处访问缓存的数据存储部分,并在CPU指定的地址字段处访问所请求的数据线。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号