Managing replacement of data in a cache on a node based on caches of other nodes
    1.
    发明授权
    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.

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

    Lock acceleration
    2.
    发明授权
    Lock acceleration 有权
    锁加速

    公开(公告)号:US09460144B2

    公开(公告)日:2016-10-04

    申请号:US13350535

    申请日:2012-01-13

    CPC分类号: G06F17/30362

    摘要: A method for locking resources, including: receiving, by an accelerator, a first request from a first client to lock a first resource; evaluating, by a computer processor of a server, a hash function using an identifier of the first resource as an input to the hash function; identifying, by the computer processor and based on evaluating the hash function, a first hash bucket in a shared memory residing in a physical memory of the server; detecting that the first hash bucket is occupied; and sending the first request to a master lock monitor residing in a user space of the server based at least on detecting that the first hash bucket is occupied.

    摘要翻译: 一种用于锁定资源的方法,包括:由加速器接收来自第一客户端的锁定第一资源的第一请求; 通过服务器的计算机处理器评估利用所述第一资源的标识符作为所述散列函数的输入的散列函数; 通过所述计算机处理器识别位于所述服务器的物理存储器中的共享存储器中的第一散列桶; 检测到第一个哈希桶被占用; 以及至少基于检测到所述第一哈希桶被占用而将所述第一请求发送到驻留在所述服务器的用户空间中的主锁定监视器。

    LOCK ACCELERATION
    3.
    发明申请
    LOCK ACCELERATION 有权
    锁定加速

    公开(公告)号:US20130185270A1

    公开(公告)日:2013-07-18

    申请号:US13350535

    申请日:2012-01-13

    IPC分类号: G06F7/00

    CPC分类号: G06F17/30362

    摘要: A method for locking resources, including: receiving, by an accelerator, a first request from a first client to lock a first resource; evaluating, by a computer processor of a server, a hash function using an identifier of the first resource as an input to the hash function; identifying, by the computer processor and based on evaluating the hash function, a first hash bucket in a shared memory residing in a physical memory of the server; detecting that the first hash bucket is occupied; and sending the first request to a master lock monitor residing in a user space of the server based at least on detecting that the first hash bucket is occupied.

    摘要翻译: 一种用于锁定资源的方法,包括:由加速器接收来自第一客户端的锁定第一资源的第一请求; 通过服务器的计算机处理器评估利用所述第一资源的标识符作为所述散列函数的输入的散列函数; 通过所述计算机处理器识别位于所述服务器的物理存储器中的共享存储器中的第一散列桶; 检测到第一个哈希桶被占用; 以及至少基于检测到所述第一哈希桶被占用而将所述第一请求发送到驻留在所述服务器的用户空间中的主锁定监视器。