Abstract:
A data distribution method and a splitter is provided. The data distribution method executed by the splitter includes: parsing a received data packet to determine a transport layer communications protocol to which the data packet belongs; acquiring from the data packet, identification information of a data stream to which the received data packet belongs; acquiring from a memory according to a correspondence between a transport layer communications protocol and an distribution table, an distribution table corresponding to the transport layer communications protocol to which the data packet belongs; determining according to a correspondence between identification information of a data stream and a thread in the acquired distribution table, a thread corresponding to the data stream to which the data packet belongs; and sending the data packet to a cache queue of the determined thread, so that the determined thread acquires the data packet from the cache queue.
Abstract:
A data distribution method and a splitter is provided. The data distribution method executed by the splitter includes: parsing a received data packet to determine a transport layer communications protocol to which the data packet belongs; acquiring from the data packet, identification information of a data stream to which the received data packet belongs; acquiring from a memory according to a correspondence between a transport layer communications protocol and an distribution table, an distribution table corresponding to the transport layer communications protocol to which the data packet belongs; determining according to a correspondence between identification information of a data stream and a thread in the acquired distribution table, a thread corresponding to the data stream to which the data packet belongs; and sending the data packet to a cache queue of the determined thread, so that the determined thread acquires the data packet from the cache queue.
Abstract:
A method and an apparatus for rapid data distribution, the method includes: sending, by a central processing unit, data description information to a rapid forwarding module, where the data description information includes an address and length information of data requested by a user; reading, by the rapid forwarding module according to the data description information, the data requested by the user and forwarding the data requested by the user to a network interface controller; and sending, by the network interface controller, the data requested by the user to the user. By using the method provided in the present invention, after services are increased, only the network interface controller and a storage device need to be added, and cost for the memory and the central processing unit does not need to be increased.
Abstract:
An input/output (IO) request processing method and a file server, where the method includes adding, according to different service levels carried in IO requests of users, the IO requests of the users to corresponding cache queues for processing at a virtual file system layer, a block IO layer and a device driver layer separately, thereby meeting different service level requirements for the IO requests of the users.
Abstract:
A method and an apparatus for rapid data distribution, the method includes: sending, by a central processing unit, data description information to a rapid forwarding module, where the data description information includes an address and length information of data requested by a user; reading, by the rapid forwarding module according to the data description information, the data requested by the user and forwarding the data requested by the user to a network interface controller; and sending, by the network interface controller, the data requested by the user to the user. By using the method provided in the present invention, after services are increased, only the network interface controller and a storage device need to be added, and cost for the memory and the central processing unit does not need to be increased.
Abstract:
A method for processing an I/O request and a computer system are provided. The method includes: receiving an I/O write request from a virtual machine; writing first data to be written as requested by the I/O write request into a local persistent storage area; determining a file type of a file to which the first data belongs; and writing the first data into a remote shared storage area if the file type of the file to which the first data belongs is a user file or a system file. Thus access traffic on the remote shared storage area can be reduced.