发明名称 Managing read/write locks for multiple CPU cores for efficient access to storage array resources
摘要 A technique for managing resources on a storage array having multiple CPU cores releases share locks on a resource by decrementing share lock counters associated with the CPU cores that release the share locks, regardless of whether these are the same as the CPU cores that acquired the share locks. As each CPU core changes its own share lock counter, cache trashing caused by changing share lock counters associated with other CPU cores can be avoided.
申请公布号 US9201802(B1) 申请公布日期 2015.12.01
申请号 US201213731197 申请日期 2012.12.31
申请人 EMC Corporation 发明人 Armangau Philippe;Seibel Chris;Hassey John A.;Wang Yubing
分类号 G06F12/00;G06F12/08;G06F9/52;G06F12/02 主分类号 G06F12/00
代理机构 BainwoodHuang 代理人 BainwoodHuang
主权项 1. A method, operable on a computerized system having multiple CPU cores, for managing access to resources of a storage array, comprising: creating an instance of a mutex object that includes a mutex sub-object for each of the CPU cores, each mutex sub-object having a share lock counter; receiving a request to obtain non-exclusive access to a resource of the storage array; executing a first set of instructions on a first CPU core of the computerized system, the first CPU core having its own cache, to acquire a share lock on the resource, including incrementing the share lock counter of the mutex sub-object for the first CPU core in the cache of the first CPU core; and executing a second set of instructions on a second CPU core of the computerized system, the second CPU core having its own cache, to release the share lock on the resource acquired by the first set of instructions executing on the first CPU core, including decrementing the share lock counter of the mutex sub-object for the second CPU core in the cache of the second CPU core, wherein instantiating the mutex object includes instantiating the mutex object within a memory shared among the multiple CPU cores.
地址 Hopkinton MA US