Testing TCP Connection Rate
First Claim
1. A method to test connection rate of a network device, comprising:
- defining T connections between a test system and the network device, where T is a positive integer, each connection associated with a connection identifier;
storing connection identifiers associated with active connection in a first-in first-out (FIFO) active queue;
storing connection identifiers associated with inactive connections in a FIFO idle queue; and
initiating C connections with the network device in each of a plurality of sequential time intervals, where C is a positive integer less than T, wherein initiating C connections further comprises;
when a number NI of connection identifiers in the idle queue at the start of a time interval is less than C, aborting C−
NI connections associated with connection identifiers at the head of the active queue and moving the connection identifiers associated with the C−
NI aborted connection to the tail of the idle queue, andreading C connection identifiers from the head of the idle queue, scheduling the associated connections to be opened, and storing the C connection identifiers at the tail of the active queue.
6 Assignments
0 Petitions
Accused Products
Abstract
Methods and apparatus to test connection rate of a network device. T connections between a test system and the network device may be defined and C connections of the T connections may be initiated in each of a plurality of sequential time intervals, where T and C are positive integers and T>C. Connection identifiers associated with active connections and inactive connections may be stored in first-in first-out active and idle queues, respectively. Connection identifiers associated with the initiated connections may be moved from the head of the idle queue to the tail of the active queue. When a number NI of connection identifiers in the idle queue at the start of a time interval is less than C, C−NI connections associated with connection identifiers at the head of the active queue may be aborted and re-initiated.
38 Citations
8 Claims
-
1. A method to test connection rate of a network device, comprising:
-
defining T connections between a test system and the network device, where T is a positive integer, each connection associated with a connection identifier; storing connection identifiers associated with active connection in a first-in first-out (FIFO) active queue; storing connection identifiers associated with inactive connections in a FIFO idle queue; and initiating C connections with the network device in each of a plurality of sequential time intervals, where C is a positive integer less than T, wherein initiating C connections further comprises; when a number NI of connection identifiers in the idle queue at the start of a time interval is less than C, aborting C−
NI connections associated with connection identifiers at the head of the active queue and moving the connection identifiers associated with the C−
NI aborted connection to the tail of the idle queue, andreading C connection identifiers from the head of the idle queue, scheduling the associated connections to be opened, and storing the C connection identifiers at the tail of the active queue. - View Dependent Claims (2, 3, 4)
-
-
5. A test system, comprising:
-
a processor coupled to a network device under test; a memory coupled to the processor, a first portion of the memory holding a first-in first-out (FIFO) active queue to store connection identifiers associated with active connections between the test system and the network device, and a second portion of the memory holding a FIFO idle queue to store connection identifiers associated with inactive connections between the test system and the network device; the processor executing program instructions that cause the test system to perform actions including; defining T connections between the test system and the network device, where T is a positive integer, each connection associated with a connection identifier; and initiating C connections with the network device in each of a plurality of sequential time intervals, where C is a positive integer less than T, wherein initiating C connections further comprises; when a number NI of connection identifiers in the idle queue at the start of a time interval is less than C, aborting C−
NI connections associated with connection identifiers at the head of the active queue and moving the connection identifiers associated with the C−
NI aborted connection to the tail of the idle queue, andreading C connection identifiers from the head of the idle queue, scheduling the associated connections to be opened, and storing the C connection identifiers at the tail of the active queue. - View Dependent Claims (6, 7, 8)
-
Specification