Reserving Test Server Processes


Using reserved processes as part of your test session increases performance and data throughput by allowing you to run tests across multiple threads/processes on a single Test Server. When using the Port Reservation feature, if you have multiple Groups of Test Case using the same PHYs, you may assign each Group to a particular TS virtual process.   This will let you have more control over the balance of performance across your test.

NOTE: When you reserve processes to run your test session, the Performance Accelerator features, that increase the Test Server capacity, data, and performance throughput, are used if your system is licensed. To take full advantage of the accelerators you need to reserve at least three processes and set up your test case to port relationship correctly. That is, setup a test session with three test cases each configured using different ports.

Reserving processes allows your test request multiple processes, and is allocated only if they are available (i.e., in PA mode and no other test is already using them).

A Test Server in Performance Accelerator mode runs 3 instances of the test server (3 processes). Executing your test session with reserved processes allows you to use multiple processes on each test server (i.e., if PA mode is selected and available). 

See also:

NOTE: Selecting Reserve Processes for assignments of virtual processes automatically selects Port Reservation, which must be done after you have reserved ports and before running/saving a test.

  • Performance Accelerator is enabled from Test Server Administration window are used when you Reserve Processes. You can Reserve Ports without either of the Accelerator features.
  • You may also Reserve Processes (one process) without Performance Accelerator.

Assigning Virtual Processes:

  1. Select the test session and before executing it, select the Session Builder tab..., click the Reserve Processes checkbox, and then click the Assign button.

    A TS Virtual Process Assignments window opens. The window displays a separate tab for each TS with a list of processes, related Groups of Test Cases, and ports assigned. In default mode (No checkboxes enabled, the TC-Groups will be round robin assigned to a logical Process based on the Target # of Processes. The Target # or Processes = MAX would make the #processes the lowest of either the 'number of TC-Groups' or the 'max TS-processes supported by the License'. If fewer processes than specified in this dialog are available on the TS when the test is executed, the test will run with the TC-Groups round-robin assigned by the TAS to make them fit. See additional options below.

NOTE: Only 30 static routes per TS Process are supported. TAS prevents you from starting a test with more than 30 subnets on any TS process.

An error occurs if total subnets in a TS process (including v4, v6, and lo subnets) is > 30 (6 ports x 5 subnets per port). In addition, the total static routes are limited to not more than 30 per TS process.

IMPORTANT:  The processes, groups of TC instances and PHYs displayed when the Enable Custom Assignments check box is not selected, does not reflect the automatic assignment by the TAS. The window displays the optimum assignment which would be used when you select the Enable Custom Assignments check box.

 

 

  1. Select the Prevent test from running with fewer processes check box to prevent the test from running when not enough processes are available.

    When the check box is not selected, let the Test can run with fewer than the requested number of processes.

  2. Select the Enable Custom Assignments check box to modify the automatic assignments of processes by TAS and/or assign all test cases on one process. For Custom Assignments, you are  choosing how many processes you need and which TC-Groups are running together/separate on those processes. The Target # of Processes (see below) is only used to let you have enough processes to choose from, ultimately the # of processes you are requesting is determined by the process indexes you choose in the table. When you run in this mode and check [x] Prevent test from running with fewer processes, the TAS will not allow the test to run if there are not enough available processes to match your custom assignment, regardless of the Target # of Processes Combo Box.
    When the check box is not selected, the TAS will assign the TC-Groups on a round robin basis. Select when you want to assign the TC-Groups to processes by your own custom groupings, other than the default Round-Robin. Example : You may want one TC-Group by itself and the remaining can share the same process.

  3. Click Put all test cases on one process to assign all test cases on one process.

  4. Click Use exact TS Processes and the Process Column will be renamed TS-Process to allow you to pick any absolutely TS-Process Index. They no longer must start at  zero (0) and are not just relative, but correlate to the exact TS-Process on the TS .

  5. Select the Target # of Processes - When choosing MAX, you are letting the TAS make sure that you get all of the processes currently initialized by the Test Server (TS). If the TS has a standard amount of processes (1), or if the TS has 3 and your test has 3 or more TC-Groups, then it’s 3. In this setting you will only be prevented from running your test, if someone else is using one of the processes on the TS, NOT if the TS does not have enough processes license/running. By choosing a specific 0-4 as Target # of Processes and checking [X] Prevent test from running with fewer processes, the TAS will not allow the test to run if there are not enough processes ‘available’. By choosing MAX as Target # of Processes in Automatic and check [X] Prevent test from running with fewer processes, the TAS will not allow the test to run if you do not get enough processes up to the # of provided processes on the TS. For example, it will not fail if you run on a TS with only 2 processes, but you have 4 processes assigned, instead it will automatically reduce and assign to 2.

  6. Select the Test Server Tab to modify.

    You may modify the Process ID assigned to the Group ID of the Test Cases instances and the allocated Physical Interfaces and override the automatic assignment by TAS.  

NOTES:

  • A Test Server (TS) provides up to three Virtual Processes, 0, 1, and 2.  Depending on your PHY assignment to TCs, if you have two Groups of Test Cases, you will only see two options, 0 and 1, for Processes.

  • A TS being used in one mode cannot be used in another mode. That is, you cannot start a Reserved Ports test if a Non-Reserved Test is currently running, and cannot start a Reserved Ports + Reserved Processes test if a Reserved Ports test is running.

  • If the TS is already running another test, there will be fewer than 3 processes available, so when you run, your process assignments will be reduced automatically.

    For example, if there are other Test Sessions running and only one process is remaining, no matter how you assign the processes, all of your Groups will run on that one remaining process.  

    Hence, it is highly recommend that you pay attention to your TS usage and NOT use this feature if you are sharing a TS with other tests sessions or users.  If you do share your TS, make sure that you are aware of the way Virtual Process assignment works.

  • If your test is the only one on a given TS and you are running all 3 virtual processes, the Process ID 0, 1, and 2 correlate to the Process ID you see in the Run Log.

  • If you share a TS and/or another test is already running on a virtual process (e.g., process #0), your test session cannot be run on the same process, even if the TS Virtual Process Assignments window displays it as such. In this case, the Process ID only provides a means to organize the Groups.

    The TAS will guarantee that all groups assigned to the same Process run on the same TS process, but it does not guarantee that the Process #1 in the dialog = Process #1 on the TS, If a test session is already running process #1.

Learn More about: