Abstract:
A directory processing method and apparatus are provided to resolve a problem that a directory occupies a relatively large quantity of caches in an existing directory processing solution. The method includes: receiving, by a first data node, a first request sent by a second data node; searching for, by the first data node, a matched directory entry in a directory of the first data node based on tag information and index information in a first physical address; creating, when no matched directory entry is found, a first directory entry of the directory based on the first request, where the first directory entry includes the tag information, first indication information, first pointer information, and first status information, the first pointer information is used to indicate that data in the memory address corresponding to the indication bit that is set to valid is read by the second data node.
Abstract:
A method for processing an error directory of a node in a cache coherence non-uniform memory access (CC-NUMA) system and a node are provided. The method effectively reduces a possibility of a breakdown of the system caused by accumulation of the error bits in the directory memory of the CC-NUMA system. The method comprises: when a quantity of bits of a correctable error of a directory stored in a directory memory of the node is greater than a preset threshold, controlling all processors in the CC-NUMA system to write dirty data in a corresponding cache back to a corresponding main memory, flush the dirty data, and directly flush clean data in the corresponding cache; and controlling the CC-NUMA system to enter a quiescent state, clearing a record stored in the directory memory to zero, and controlling, after the zero clearing is completed, the CC-NUMA system to exit the quiescent state.
Abstract:
A method for temporarily storing data and a storage device is provided. The method for temporarily storing data is applied to the storage device, and the storage device includes a source agent and a target agent. The method includes: sending, by the source agent, a data obtaining request to the target agent; receiving, by the source agent, target data that is corresponding to the data obtaining request and is returned by the target agent; determining, by the source agent, whether a snooping request that is for the target data and sent by the target agent is received after the data obtaining request is sent and before the target data is received, where the snooping request indicates that the target agent is simultaneously processing an obtaining request from another source agent for the target data; and if the snooping request is received, discarding, by the source agent, the target data
Abstract:
The present invention discloses a directory storage method and a directory storage node controller. The method includes: obtaining, by a node controller NC in a local node, a storage address of a data block in a CPU in the local node, where the data block is read by a remote node; determining first content and second content that are respectively located in a first specific bit and a second specific bit of the storage address; determining, according to the first content and from each preset storage space used for storing a directory, a storage space in which an addressing address matches the first content; and correspondingly storing the second content and the directory in the determined storage space.
Abstract:
The present disclosure provides a data read method and apparatus. An example method includes receiving a first read request message sent by a second processor at a first processor. If an address of the first data is within a range from an upper bound to a lower bound recorded in a first directory range register of the first processor, the first processor sends a first snoop message to at least one third processor other than the second processor, and simultaneously sends a second read request message to the memory. A first snoop response message sent by each of the at least one third processor according to the first snoop message is received. The first data sent by the memory according to the second data read request message is also received. The first processor sends the first data to the second processor according to the first snoop response message.
Abstract:
The present invention disclose a memory access method, including: receiving, by a first processing module, a read request sent by a second processing module for caching; determining, according to a destination directory, one or more target storage spaces in which the target data is cached; sending a listening request to one or more target processing modules, so that the target processing module returns a listening response to the second processing module, where the listening response is used for responding to the expected status; returning a target packet to the second processing module, where the target packet includes the target data and a listening quantity; when a quantity of the listening response received by the second processing module matches the listening quantity, receiving an update packet sent by the second processing module; and updating the destination directory according to the update packet.