会员体验
专利管家(专利管理)
工作空间(专利管理)
风险监控(情报监控)
数据分析(专利分析)
侵权分析(诉讼无效)
联系我们
交流群
官方交流:
QQ群: 891211   
微信请扫码    >>>
现在联系顾问~
热词
    • 4. 发明授权
    • Method and apparatus for allocating data and instructions within a shared cache
    • 用于在共享缓存内分配数据和指令的方法和装置
    • US06532520B1
    • 2003-03-11
    • US09394965
    • 1999-09-10
    • Alvar A. DeanMarc R. FaucherJohn W. GoetzKenneth J. GoodnowPaul T. GutwinStephen W. MahinWilbur D. Pricer
    • Alvar A. DeanMarc R. FaucherJohn W. GoetzKenneth J. GoodnowPaul T. GutwinStephen W. MahinWilbur D. Pricer
    • G06F1200
    • G06F12/121G06F12/127G06F2212/1021G06F2212/6042
    • A method and apparatus are provided for managing cache allocation for a plurality of data types in a unified cache having dynamically allocable lines for first type data and for second type data. Cache allocation is managed by counting misses to first type data and misses to second type data in the unified cache, and by determining when a difference between a number of first type data misses and a number of second type data misses crosses a preselected threshold. A replacement algorithm of the unified cache then is adjusted in response to the detected crossing of the preselected threshold, the adjusting step including increasing a replacement priority of the first type data lines in the cache. The replacement algorithm preferably is an LRU algorithm wherein the adjusting step includes incrementing an age indication of the first type data lines. Hardware for implementing the inventive cache allocation management method comprises a miss counter configured to increment its count in response to a miss to first type data signal on a first counter input and to output a first logic state on a first counter output when the counter's count exceeds a first predetermined count. A priority adjustment circuit coupled to the first counter output increases the replacement priority of the first type data relative to the replacement priority of the second type data in response to the first logic state output by the miss counter.
    • 提供了一种方法和装置,用于管理具有用于第一类型数据和第二类型数据的动态可分配行的统一高速缓存中的多个数据类型的高速缓存分配。 高速缓存分配通过对统一高速缓存中的第一类型数据和第二类型数据的丢失进行计数,并且通过确定多个第一类型数据丢失与多个第二类型数据丢失之间的差异何时穿过预选阈值来管理高速缓存分配。 然后,响应于检测到的预选阈值的交叉,调整统一高速缓存的替换算法,该调整步骤包括增加高速缓存中的第一类型数据线的替换优先级。 替换算法优选地是LRU算法,其中调整步骤包括递增第一类型数据线的年龄指示。 用于实现本发明的高速缓存分配管理方法的硬件包括错误计数器,其配置为响应于第一计数器输入上的第一类型数据信号的未命中而增加其计数,并且当计数器的计数超过时,在第一计数器输出上输出第一逻辑状态 第一预定计数。 耦合到第一计数器输出的优先级调整电路响应于未命中计数器输出的第一逻辑状态,增加第一类型数据相对于第二类型数据的替换优先级的替换优先级。