Managing replacement of data in a cache on a node based on caches of other nodes
    29.
    发明授权
    Managing replacement of data in a cache on a node based on caches of other nodes 有权
    基于其他节点的缓存管理节点上的缓存中的数据替换

    公开(公告)号:US06633891B1

    公开(公告)日:2003-10-14

    申请号:US09652384

    申请日:2000-08-31

    IPC分类号: G06F1730

    摘要: A mechanism is described for managing the caches on nodes in a cluster. The caches are globally managed so that a data item may be retained in any cache on the nodes. This may be accomplished by, for example, a replacement policy for replacing data items stored in the buffers of the caches, where a buffer is selected for replacement in a manner that accounts for factors that include the state of the caches of other nodes. Some cached data items are designated as globally shared, and assigned (either statically or dynamically) a primary cache. For example, if a buffer holds a copy of a data item whose primary cache is another node, then the data item in the buffer is favored for replacement over a local data item or a global data item for which this is the primary cache. According to another aspect of the invention, the cache retention value of buffers on different nodes are compared, and the buffer with the lowest cache retention value is selected for replacement. According to yet another aspect of the present invention, the replacement policy accounts for the configuration of other caches in the cluster.

    摘要翻译: 描述了一种用于管理群集中节点上的高速缓存的机制。 高速缓存被全局管理,使数据项可以保留在节点上的任何高速缓存中。 这可以通过例如用于替换存储在高速缓存的缓冲器中的数据项的替换策略来实现,其中以考虑到包括其他节点的高速缓存的状态的因素的方式选择用于替换的缓冲器。 一些缓存的数据项被指定为全局共享,并被分配(静态地或动态地)主缓存。 例如,如果缓冲器保存其主缓存是另一个节点的数据项的副本,则缓冲器中的数据项有利于替换本地数据项或作为主缓存的全局数据项。 根据本发明的另一方面,比较不同节点上的缓冲器的缓存保留值,并选择具有最低缓存保留值的缓冲器进行替换。 根据本发明的另一方面,替换策略考虑了集群中其他高速缓存的配置。