Patent ID: 8745340

Claim:
A method for reducing communication between cluster nodes and optimizing failover processing in a distributed shared memory (DSM)-based application by at least one processor device, comprising: for a data structure operable on a DSM, packing read-mostly portions of the data structure and updatable portions of the data structures into separate DSM pages, the read-mostly portions being data elements whose update frequency is significantly low relative to other data elements in the data structure, the read-mostly portions including a search key portion of the data structure, wherein the search key is constant after the data structure is created, and the updatable portions of the data structures being the other data elements in the data structure; maintaining the read-mostly portions in a single copy sharable between the cluster nodes; duplicating the updatable portion to multiple copies, each of the multiple copies on DSM pages dedicated to a single cluster node; searching for an individual data structure by applying a read-only access to the read-mostly portions and implementing a search method to located the individual data structure; updating the updatable portions by updating only the DSM pages constituting the updatable portions of the data structure dedicated to the single cluster node; and computing an overall state of the data structure during a read access by operating on a specific cluster node and reading the updatable portions of the data structure, and performing an aggregation for computing the overall state of the data structure.