Real-time adaptive receive side scaling key selection
First Claim
1. A data processing system for selecting a receive side scaling (RSS) key, the data processing system comprising:
- a bus system;
a storage device connected to the bus system, wherein the storage device stores program instructions; and
a processor connected to the bus system, wherein the processor executes the program instructions to;
determine whether a defined time interval expired;
determine whether one or more keys in a set of randomly generated candidate RSS keys have a higher packet distribution score than an active RSS key in response to determining that the defined time interval has expired;
select an RSS key having a highest packet distribution score from the one or more keys in the set of randomly generated candidate RSS keys that have a higher packet distribution score than the active RSS key in response to determining that one or more keys in the set of randomly generated candidate RSS keys have a higher packet distribution score than the active RSS key; and
use the RSS key having the highest packet distribution score to distribute incoming network packets across a plurality of processors corresponding to the data processing system.
1 Assignment
0 Petitions
Accused Products
Abstract
Selecting a receive side scaling (RSS) key is provided. It is determined whether a defined time interval expired. In response to determining that the defined time interval has expired, it is determined whether one or more keys in a set of randomly generated candidate RSS keys have a higher packet distribution score than an active RSS key. In response to determining that one or more keys in the set of randomly generated candidate RSS keys have a higher packet distribution score than the active RSS key, an RSS key having a highest packet distribution score is selected from the one or more keys in the set of randomly generated candidate RSS keys that have a higher packet distribution score than the active RSS key. The RSS key having the highest packet distribution score is used to distribute incoming network packets across a plurality of processors.
12 Citations
12 Claims
-
1. A data processing system for selecting a receive side scaling (RSS) key, the data processing system comprising:
-
a bus system; a storage device connected to the bus system, wherein the storage device stores program instructions; and a processor connected to the bus system, wherein the processor executes the program instructions to; determine whether a defined time interval expired; determine whether one or more keys in a set of randomly generated candidate RSS keys have a higher packet distribution score than an active RSS key in response to determining that the defined time interval has expired; select an RSS key having a highest packet distribution score from the one or more keys in the set of randomly generated candidate RSS keys that have a higher packet distribution score than the active RSS key in response to determining that one or more keys in the set of randomly generated candidate RSS keys have a higher packet distribution score than the active RSS key; and use the RSS key having the highest packet distribution score to distribute incoming network packets across a plurality of processors corresponding to the data processing system. - View Dependent Claims (2, 3, 4)
-
-
5. A computer program product for selecting a receive side scaling (RSS) key, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a data processing system to cause the data processing system to perform a method comprising:
-
determining, by the data processing system, whether a defined time interval expired; responsive to the data processing system determining that the defined time interval has expired, determining, by the data processing system, whether one or more keys in a set of randomly generated candidate RSS keys have a higher packet distribution score than an active RSS key; responsive to the data processing system determining that one or more keys in the set of randomly generated candidate RSS keys have a higher packet distribution score than the active RSS key, selecting, by the data processing system, an RSS key having a highest packet distribution score from the one or more keys in the set of randomly generated candidate RSS keys that have a higher packet distribution score than the active RSS key; and using, by the data processing system, the RSS key having the highest packet distribution score to distribute incoming network packets across a plurality of processors corresponding to the data processing system. - View Dependent Claims (6, 7, 8, 9, 10, 11, 12)
-
Specification