首页> 外国专利> Method and apparatus for multithreaded cache with cache eviction based on thread identifier

Method and apparatus for multithreaded cache with cache eviction based on thread identifier

机译:基于线程标识符的具有缓存逐出的多线程缓存的方法和装置

摘要

A cache memory for use in a multithreaded processor includes a number of set-associative thread caches, with one or more of the thread caches each implementing a thread-based eviction process that reduces the amount of replacement policy storage required in the cache memory. At least a given one of the thread caches in an illustrative embodiment includes a memory array having multiple sets of memory locations, and a directory for storing tags each corresponding to at least a portion of a particular address of one of the memory locations. The directory has multiple entries each storing multiple ones of the tags, such that if there are n sets of memory locations in the memory array, there are n tags associated with each directory entry. The directory is utilized in implementing a set-associative address mapping between access requests and memory locations of the memory array. An entry in a particular one of the memory locations is selected for eviction from the given thread cache in conjunction with a cache miss event, based at least in part on at least a portion of a thread identifier of the given thread cache.
机译:用于多线程处理器的高速缓存存储器包括多个集合关联线程高速缓存,其中一个或多个线程高速缓存分别实现基于线程的驱逐过程,该过程减少了高速缓存存储器中所需的替换策略存储量。在说明性实施例中,至少给定的线程高速缓存中的一个包括具有多组存储器位置的存储器阵列,以及用于存储标签的目录,每个标签均对应于存储器位置之一的特定地址的至少一部分。该目录具有多个条目,每个条目存储多个标签,因此,如果内存阵列中有n组存储位置,则每个目录条目都将有n个标签。该目录用于实现访问请求和存储阵列的存储位置之间的组关联地址映射。至少部分地基于给定线程高速缓存的线程标识符的至少一部分,与高速缓存未命中事件一起从给定线程高速缓存中选择特定的存储器位置中的条目以逐出。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号