Processor allocation for multi-core architectures
AssigneeIxia
InventorMaksim Pyatkovskiy
Life of this patent
Estimating the term…
Abstract
Methods, computing devices, and computer readable storage media for testing network connections are disclosed. A first processor of a plurality of processors may define a new TCP connection. The first processor may apply a hash function to determine an appropriate one of the plurality of processors to open the new TCP connection. The first processor may write data defining the new TCP connection to a queue associated with the appropriate processor. The appropriate processor may retrieve the data defining the new TCP connection from the queue and open the new TCP connection.
Claims16
A method performed by a test system to test network connections, comprising:
- a first processor of a plurality of processors defining a new TCP connection;
- the first processor applying a hash function to determine a second processor of the plurality of processors to open the new TCP connection;
- the first processor writing data defining the new TCP connection to a queue associated with the second processor, the queue one of an N×N array of queues, where N is a number of processors in the plurality of processors;
- and
- the second processor retrieving the data defining the new TCP connection from the queue and transmitting a TCP SYN packet to initiate opening the new TCP connection in accordance with the retrieved data.
A computing device, comprising:
- a plurality of processors;
- and
- a memory shared by the plurality of processors;
- wherein a first processor of the plurality of processors executes stored instruction causing the first processor to perform actions comprising:
- defining a new TCP connection,
- applying a hash function to determine a second processor of the plurality of processors to open the new TCP connection, and
- writing data defining the new TCP connection to a queue associated with the second processor within the shared memory, the queue one of an N×N array of queues, where N is a number of processors in the plurality of processors;
- wherein the second processor executes stored instructions causing the second processor to perform actions comprising:
- retrieving the data defining the new TCP connection from the queue and transmitting a TCP SYN packet to initiate opening the new TCP connection in accordance with the retrieved data.
A machine-readable storage medium storing instructions that, when executed by a computing device having a plurality of processors, causes actions including:
- a first processor of the plurality of processors performing actions including:
- defining a new TCP connection,
- applying a hash function to determine a second processor of the plurality of processors to open the new TCP connection, and
- writing data defining the new TCP connection to a queue associated with the second processor, the queue one of an N×N array of queues, where N is a number of processors in the plurality of processors;
- and
- the second processor performing actions including:
- retrieving the data defining the new TCP connection from the queue and transmitting a TCP SYN packet to initiate opening the new TCP connection in accordance with the retrieved data.
Dependencies are inferred from the claim text.