首页> 外国专利> System and method for employing a global bit for page sharing in a linear-addressed cache

System and method for employing a global bit for page sharing in a linear-addressed cache

机译:在线性寻址的高速缓存中采用全局位进行页面共享的系统和方法

摘要

A system and method for storing only one copy of a data block that is shared by two or more processes is described. In one embodiment, a global/non-global predictor predicts whether a data block, specified by a linear address, is shared or not shared by two or more processes. If the data block is predicted to be non-shared, then a portion of the linear address referencing the data block is combined with a process identifier that is unique to form a global/non-global linear address. If the data block is predicted to be shared, then the global/non-global linear address is the linear address itself. If the prediction as to whether or not the data block is shared is incorrect, then the actual value of whether or not the data block is shared is used in computing a corrected global/non-global linear address. If the data referenced by either the global/non-global linear address that was predicted correctly or the corrected global/non-global linear address resides in the global/non-global linear-addressed cache memory, then that data block is accessed and transmitted to a requesting processor. If the data referenced by either the global/non-global linear address that was predicted correctly or the corrected global/non-global linear address does not reside in the global/non-global linear-addressed cache memory, then a cache line selected by a replacement policy has its data block replaced with a data block from a storage device at a higher hierarchical level as specified by the linear address.
机译:描述了一种用于仅存储由两个或更多个过程共享的数据块的一个副本的系统和方法。在一个实施例中,全局/非全局预测器预测由线性地址指定的数据块是否被两个或更多个进程共享或不共享。如果预测该数据块是非共享的,则将引用该数据块的线性地址的一部分与唯一的过程标识符组合,以形成全局/非全局线性地址。如果预测数据块将被共享,则全局/非全局线性地址就是线性地址本身。如果关于是否共享数据块的预测是不正确的,则在计算校正的全局/非全局线性地址时使用是否共享数据块的实际值。如果由正确预测的全局/非全局线性地址或已更正的全局/非全局线性地址引用的数据驻留在全局/非全局线性寻址高速缓存中,则将访​​问并发送该数据块到请求处理器。如果被正确预测的全局/非全局线性地址或已校正的全局/非全局线性地址所引用的数据未驻留在全局/非全局线性寻址的高速缓存中,则由替换策略将其数据块替换为线性地址所指定的更高级别的存储设备中的数据块。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号