Read/write request processing method and apparatus, electronic device, and storage medium
AssigneesHuawei Technologies Co., Ltd., Tsinghua University
InventorsJiwu Shu, Youmin Chen, Youyou Lu, Wenlin Cui
Life of this patent
Estimating the term…
Abstract
A read/write request processing method and server are provided. In this method, each terminal is grouped, and different service durations are assigned for all terminal groups, so that a server can process, within any service duration, only a read/write request sent by a terminal in a terminal group corresponding to the service duration. According to the application, a cache area of a network interface card of the server is enabled to store only limited quantities of queue pairs (QPs) and work queue elements (WQEs), thereby preventing uneven resource distribution in the cache area of the network interface card.
Claims16
A read/write request processing method, wherein the method is performed by a server and comprises:
- receiving, within a service duration, a read/write request sent by a terminal in a terminal group corresponding to the service duration, wherein each terminal group comprises at least one terminal;
- processing the read/write request sent by the terminal in the terminal group corresponding to the service duration, and skipping processing a read/write request sent by a terminal in a terminal group corresponding to another service duration;
- reducing the service duration corresponding to the terminal group in response to the service duration corresponding to the terminal group satisfying a service processing requirement of the terminal in the terminal group and there being still a remaining duration;
- and
- increasing the service duration corresponding to the terminal group in response to the service duration corresponding to the terminal group not satisfying a service processing requirement of the terminal in the terminal group.
A server, comprising:
- a network interface card (NIC);
- and
- a processor coupled to the NIC;
- at least one of the processor and the NIC configured to:
- receive, within a service duration, a read/write request sent by a terminal in a terminal group corresponding to the service duration, wherein each terminal group comprises at least one terminal;
- process the read/write request sent by the terminal in the terminal group corresponding to the service duration, and skip processing a read/write request sent by a terminal in a terminal group corresponding to another service duration;
- reduce the service duration corresponding to the terminal group in response to the service duration corresponding to the terminal group satisfying a service processing requirement of the terminal in the terminal group and there being still a remaining duration;
- and
- increase the service duration corresponding to the terminal group in response to the service duration corresponding to the terminal group not satisfying a service processing requirement of the terminal in the terminal group.
Dependencies are inferred from the claim text.