Abstract:
A parallel data processing method based on multiple graphic processing units (GPUs) is provided, including: creating, in a central processing unit (CPU), aplurality ofworker threads for controlling a plurality ofworker groups respectively, the worker groups including one or more GPUs; binding each worker thread to a corresponding GPU; loading a plurality ofbatches of training data from a nonvolatile memory to GPU video memories in the plurality ofworker groups; andcontrolling the plurality of GPUs to perform data processing in parallel through the worker threads. The method can enhance efficiency ofmulti-GPU parallel data processing. In addition, a parallel data processing apparatus is further provided.
Abstract:
A method, a device, a node and a system for managing file in distributed data warehouse are provided. The method includes: acquiring, by a data node, a deleting instruction carrying a data block identifier, wherein the deleting instruction is sent by a management node; suspending, by the data node, the deleting instruction; and deleting, by the data node, a data block corresponding to the data block identifier after a condition is met, thereby resolving the technical issue that an accidentally deleted file can not be recovered by setting a trash in the management node in some cases and ensuring the data security of the Hadoop system.
Abstract:
A method and advice for handing over between master and standby storage nodes and a storage medium are disclosed by the embodiments of the present invention, and the method includes: a master storage node sends service request data to a consistency control center for registration and synchronizes a standby storage node with the service request data if the registration is successful; when the consistency control center determines that the synchronization of the registered standby storage node with the service request data from the master storage node is failed, the consistency control center stores a key value corresponding to the registered service request data involved in the failed synchronization into a blacklist; the standby storage node obtains the blacklist from the consistency control center after the handing over; and when the standby storage node receives new service request data that corresponds to a key value the same as one stored in the blacklist, refusing, by the standby storage node, to provide a data writing service for the new service request data; otherwise, allowing, by the standby storage node, to provide the data writing service for the new service request data. In the embodiments of the present disclosure, the high consistency between the service request data on the master storage node and that on the standby storage node is ensured and the data writing service function is maintained on the standby storage node.