Detecting an elephant flow based on the size of a packet
First Claim
1. A method for detecting elephant flows at a forwarding element, the method comprising:
- prior to receiving any data packets above a threshold size belonging to a particular data flow, processing the data packets belonging to the particular data flow in a datapath of the forwarding element;
upon receiving a first data packet above the threshold size belonging to the particular data flow, sending the first data packet to a module of the forwarding element outside the datapath that processes the particular data flow as an elephant flow; and
processing subsequent data packets belonging to the particular data flow in the datapath of the forwarding element as elephant flow packets irrespective of the size of the subsequent data packets.
0 Assignments
0 Petitions
Accused Products
Abstract
Some embodiments provide a forwarding element that inspects the size of each of several packets in a data flow to determine whether the data flow is an elephant flow. The forwarding element inspects the size because, in order for the packet to be of a certain size, the data flow had to already have gone through a slow start in which smaller packets are transferred and by definition be an elephant flow. When the forwarding element receives a packet in a data flow, the forwarding element identifies the size of the packet. The forwarding element then determines if the size of the packet is greater than a threshold size. If the size is greater, the forwarding element specifies that the packet'"'"'s data flow is an elephant flow.
-
Citations
20 Claims
-
1. A method for detecting elephant flows at a forwarding element, the method comprising:
-
prior to receiving any data packets above a threshold size belonging to a particular data flow, processing the data packets belonging to the particular data flow in a datapath of the forwarding element; upon receiving a first data packet above the threshold size belonging to the particular data flow, sending the first data packet to a module of the forwarding element outside the datapath that processes the particular data flow as an elephant flow; and processing subsequent data packets belonging to the particular data flow in the datapath of the forwarding element as elephant flow packets irrespective of the size of the subsequent data packets. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A non-transitory machine readable medium storing a program which when executed by at least one processing unit detects elephant flows at a forwarding element, the program comprising sets of instructions for:
-
prior to receiving any data packets above a threshold size belonging to a particular data flow, processing the data packets belonging to the particular data flow in a datapath of the forwarding element; upon receiving a first data packet above the threshold size belonging to the particular data flow, sending the first data packet to a module of the forwarding element outside the datapath that processes the particular data flow as an elephant flow; and processing subsequent data packets belonging to the particular data flow in the datapath of the forwarding element as elephant flow packets irrespective of the size of the subsequent data packets. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
Specification