Hardware acceleration techniques using flow selection
AssigneeVMware, Inc.
InventorsAditi Ghag, Srividya Murali
Life of this patent
Estimating the term…
Abstract
In some embodiments, a method receives a packet for a flow associated with a workload. Based on an indicator for the flow, the method determines whether the flow corresponds to one of an elephant flow or a mice flow. Only when the flow is determined to correspond to an elephant flow, the method enables a hardware acceleration operation on the packet. The hardware acceleration operation may include hardware operation offload, receive side scaling, and workload migration.
Claims20
A method comprising:
- receiving a packet for a flow;
- based on an indicator for the flow, determining whether the flow corresponds to one of first classification or a second classification, the first classification being associated with a first duration of less than a first threshold, the second classification being associated with a second duration of greater than a second threshold;
- and
- based on a determination that the flow corresponds to an elephant flow, enabling a hardware acceleration operation on the packet.
A non-transitory computer-readable storage medium storing a first program for executing by a processing unit of a computer, the program comprising sets of instructions for:
- receiving a packet for a flow associated with a workload;
- based on an indicator for the flow, determining whether the flow corresponds to one of a second classification or a first classification, the first classification being associated with a first data size of less than a first threshold, the second classification being associated with a second data size of greater than a second threshold;
- when the flow is determined to correspond to a second classification, directing the packet to a physical network interface card (PNIC) to perform an operation;
- and
- when the flow is determined to correspond to a first classification, directing the packet to a second program executing on the computer to perform the operation on the packet.
An apparatus comprising:
- one or more computer processors;
- and
- a non-transitory computer-readable storage medium comprising instructions, that when executed, control the one or more computer processors to be operable for:
- receiving a packet for a flow;
- based on an indicator for the flow, determining whether the flow corresponds to one of a second classification or a first classification, the first classification being associated with a first duration of less than a first threshold, the second classification being associated with a second duration of greater than a second threshold;
- and
- only when the flow is determined to correspond to a second classification, enabling a hardware acceleration operation.
Dependencies are inferred from the claim text.