首页> 外国专利> High level (L2) cache and method for efficiently updating directory entries utilizing an n-position priority queue and priority indicators

High level (L2) cache and method for efficiently updating directory entries utilizing an n-position priority queue and priority indicators

机译:高级(L2)高速缓存和利用n位优先级队列和优先级指示符有效更新目录条目的方法

摘要

A high-level (L2) cache and a efficient method for writing directory entries into an array of directory entries are disclosed. The high-level (L2) cache operates differently depending upon whether a MESI (Modified, Exclusive, Shared, Invalid) state of a cache line in Invalid or Modified when the cache line's low-level (L1) Inclusive bit is set. Initially, the high-level (L2) cache retrieves a directory entry from the array of directory entries. This directory entry is placed into an n- position priority queue. Associated with the n-position priority queue is a set of priority indicators. These priority indicators are updated when a directory entry is placed into the n-position priority queue to indicate which order the various directory entries were placed into the n- position priority queue. If the directory entry is waiting for results to be received from the system bus, the directory entry will remain in the queue until such results are received. If the directory entry is not waiting for results to be received, it will be written back to the array of directory entries. For the directory entries waiting upon results to be received, those entries will be modified using information contained in the results, then written to the array of directory entries. The high- level (L2) cache can also resolve collisions between a processor request and a system request originating from another computing unit. If a system request would not alter a line in the low-level (L1) cache, the high- level (L2) cache will wait until the system request finishes accessing a shared resource to process the processor request, thereby avoiding the sending of a RETRY signal to the processor.
机译:公开了一种高级(L2)高速缓存和用于将目录项写入目录项阵列的有效方法。高级别(L2)高速缓存的操作方式不同,具体取决于设置高速缓存行的低级(L1)包含(Inclusive)位时,高速缓存行的MESI(已修改,互斥,共享,无效)状态为无效还是已修改。最初,高级(L2)高速缓存从目录条目数组中检索目录条目。该目录条目放置在n位优先级队列中。与n位优先级队列相关联的是一组优先级指示器。当将目录条目放置到n位优先级队列中时,这些优先级指示符将更新,以指示将各种目录条目放置在n位优先级队列中的顺序。如果目录条目正在等待从系统总线接收结果,则目录条目将保留在队列中,直到收到此类结果为止。如果目录条目不等待接收结果,它将被写回到目录条目数组中。对于等待接收结果的目录条目,将使用结果中包含的信息来修改这些条目,然后将其写入目录条目数组。高级(L2)高速缓存还可以解决处理器请求与源自另一个计算单元的系统请求之间的冲突。如果系统请求不会更改低级(L1)高速缓存中的行,则高级(L2)高速缓存将等待,直到系统请求完成访问共享资源以处理处理器请求为止,从而避免了发送向处理器返回信号。

著录项

  • 公开/公告号US5963978A

    专利类型

  • 公开/公告日1999-10-05

    原文格式PDF

  • 申请/专利权人 INTERNATIONAL BUSINESS MACHINES CORPORATION;

    申请/专利号US19960726944

  • 发明设计人 KURT ALAN FEISTE;

    申请日1996-10-07

  • 分类号G06F12/08;G06F13/18;

  • 国家 US

  • 入库时间 2022-08-22 02:07:06

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号