首页> 外国专利> Sanctions - time based cache - tuning saving - and - techniques replacement

Sanctions - time based cache - tuning saving - and - techniques replacement

机译:制裁-基于时间的缓存-调优保存-和-技术更换

摘要

Cache data replacement techniques enable improved performance in a computer system having a central processing unit (CPU), a cache memory and a main memory, wherein the cache memory has a plurality of data items stored therein. The cache data replacement techniques include associating a priority value with each of the stored data items, wherein for each data item, the priority value is an estimate of how much CPU stall time will occur if an attempt is made to retrieve the data item from the cache memory when the data item is not stored in the cache memory. When a cache entry must be replaced, the priority values are analyzed to determine a lowest priority value. One of the data items that has the lowest priority value is selected and replaced by a replacement data item. The priority value of a data item may be determined, as a function of how many other instructions have been fetched and stored in a buffer memory between a time interval defined by initiation and completion of retrieval of the data item from the main memory, wherein execution of the other instruction is dependent on completing retrieval of the data item. In other aspects of the invention, the priority values of cache entries may periodically be lowered in order to improve the cache hit ratio, and may also be reinitialized whenever the associated data time is accessed, in order to ensure retention of valuable data items in the data cache.
机译:高速缓存数据替换技术能够在具有中央处理单元(CPU),高速缓存存储器和主存储器的计算机系统中提高性能,其中,高速缓存存储器具有存储在其中的多个数据项。高速缓存数据替换技术包括将优先级值与每个存储的数据项相关联,其中对于每个数据项,优先级值是如果尝试从数据库中检索数据项将发生多少CPU停顿时间的估计。数据项未存储在高速缓存中时高速缓存。当必须替换高速缓存条目时,将分析优先级值以确定最低优先级值。选择具有最低优先级值的数据项之一,并用替换数据项替换。可以根据在开始和完成从主存储器中检索数据项所定义的时间间隔之间,确定已经提取了多少其他指令并将其存储在缓冲存储器中的函数,确定数据项的优先级值。其他指令的执行取决于完成数据项的检索。在本发明的其他方面,可以周期性地降低高速缓存条目的优先级值以提高高速缓存命中率,并且还可以在访问关联的数据时间时将其重新初始化,以确保将有价值的数据项保留在高速缓存中。数据缓存。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号