首页> 外国专利> Method and apparatus for adaptive cache frame locking and unlocking

Method and apparatus for adaptive cache frame locking and unlocking

机译:自适应高速缓存帧锁定​​和解锁的方法和装置

摘要

A method and apparatus are disclosed for locking the most recently accessed frames in a cache memory. The most recently accessed frames in a cache memory are likely to be accessed by a task again in the near future. The most recently used frames may be locked at the beginning of a task switch or interrupt to improve the performance of the cache. The list of most recently used frames is updated as a task executes and may be embodied, for example, as a list of frames addresses or a flag associated with each frame. The list of most recently used frames may be separately maintained for each task if multiple tasks may interrupt each other. An adaptive frame unlocking mechanism is also disclosed that automatically unlocks frames that may cause a significant performance degradation for a task. The adaptive frame unlocking mechanism monitors a number of times a task experiences a frame miss and unlocks a given frame if the number of frame misses exceeds a predefined threshold.
机译:公开了一种用于将最新访问的帧锁定在高速缓存存储器中的方法和装置。在不久的将来,任务可能会再次访问高速缓存中最近访问的帧。最近使用的帧可以在任务切换或中断开始时锁定,以提高缓存的性能。最近使用的帧的列表随着任务的执行而更新,并且例如可以体现为帧地址或与每个帧相关联的标志的列表。如果多个任务可能相互中断,则可以为每个任务单独维护最近使用的帧列表。还公开了一种自适应帧解锁机制,该机制自动解锁可能导致任务的性能显着下降的帧。自适应帧解锁机制监视任务经历帧丢失的次数,如果帧丢失的数量超过预定义的阈值,则解锁给定的帧。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号