Merge "TestSpec: Add LTD.Scalability.RFC2544.0PacketLoss"
authorMaryam Tahhan <maryam.tahhan@intel.com>
Wed, 24 Jun 2015 12:32:03 +0000 (12:32 +0000)
committerGerrit Code Review <gerrit@172.30.200.206>
Wed, 24 Jun 2015 12:32:03 +0000 (12:32 +0000)
1  2 
test_spec/vswitchperf_ltd.md

@@@ -629,7 -629,7 +629,7 @@@ The following represents possible deplo
  
    **Description**:
  
 -  The aim of this test is to understand the Throughput stability over an extended test duration in order to uncover any outliers. To allow for an extended test duration, the test should ideally run for 24 hours or, if this is not possible, for at least 6 hour. For this test, each frame size must be sent at the highest Throughput with X% packet loss, as determined in the prerequisite test. The default loss percentages to be tested are:
 +  The aim of this test is to understand the Throughput stability over an extended test duration in order to uncover any outliers. To allow for an extended test duration, the test should ideally run for 24 hours or, if this is not possible, for at least 6 hours. For this test, each frame size must be sent at the highest Throughput with X% packet loss, as determined in the prerequisite test. The default loss percentages to be tested are:
      - X = 0%
      - X = 10^-7%
  
    The following are the metrics collected for this test:
  
     - Throughput stability of the DUT.
 -   - Any outliers in the Throughput stability.
 -   - Any unexpected variation in Throughput stability.
 +     - This means reporting the number of packets lost per time interval and reporting any time intervals with packet loss. An interval of 60s is suggested.
     - CPU and memory utilization may also be collected as part of this test, to determine the vSwitch's performance footprint on the system.
     - The [RFC5481] PDV form of delay variation on the traffic flow, using the 99th percentile.
  
  
    **Description**:
  
 -  The aim of this test is to determine the length of time it takes the DUT to recover from a reset. For each frame size previously defined under [Default Test Parameters](#DefaultParams), traffic should be sent to the DUT under normal conditions. During the duration of the test and while the traffic flows are passing through the DUT, the DUT should be reset and the Reset time measured. The Reset time is the total time that a device is determined to be out of operation and includes the time to perform the reset and the time to recover from it (cf. [RFC6201]) 
 +  The aim of this test is to determine the length of time it takes the DUT to recover from a reset.
 +
 +  Two reset methods are defined - planned and unplanned. A planned reset requires stopping and restarting the virtual switch by the usual 'graceful' method defined by it's documentation. An unplanned reset requires simulating a fatal internal fault in the virtual switch - for example by using kill -SIGKILL on a Linux environment.
 +
 +  Both reset methods SHOULD be exercised.
 +
 +  For each frame size previously defined under [Default Test Parameters](#DefaultParams), traffic should be sent to the DUT under normal conditions. During the duration of the test and while the traffic flows are passing through the DUT, the DUT should be reset and the Reset time measured. The Reset time is the total time that a device is determined to be out of operation and includes the time to perform the reset and the time to recover from it (cf. [RFC6201]).
  
    [RFC6201] defines two methods to measure the Reset time:
      - Frame-Loss Method: which requires the monitoring of the number of lost frames and calculates the Reset time based on the number of frames lost and the offered rate according to the following formula:
    **Metrics collected**
  
    The following are the metrics collected for this test:
 -   - Average Reset Time.
 +   - Average Reset Time over the number of trials performed.
  
    Results of this test should include the following information:
 +   - The reset method used.
     - Throughput in Fps and Mbps.
 -   - Average Frame Loss.
 -   - Average Reset Time in milliseconds.
 -   - Number of trials.
 +   - Average Frame Loss over the number of trials performed.
 +   - Average Reset Time in milliseconds over the number of trials performed.
 +   - Number of trials performed.
     - Protocol: IPv4, IPv6, MPLS, etc.
     - Frame Size in Octets
     - Port Media: Ethernet, Gigabit Ethernet (GbE), etc.
    - Physical → Virtual Switch → Physical.
  <br/>
  ----
+ <a name="ScalabilityTests"></a>
+ ####2.3.3 Scalability tests
+   The general aim of these tests is to understand the impact of large flow table size and flow lookups on throughput.
+   The following list is not exhaustive but should indicate the type of tests that should be required. It is expected that more will be added.
+ <br/>
+  - #####Test ID: LTD.Scalability.RFC2544.0PacketLoss
+   **Title**: RFC 2544 0% loss Scalability throughput test
+   **Prerequisite Test**:
+   **Priority**:
+   **Description**:
+   The aim of this test is to measure how throughput changes as the number of flows in the DUT increases.
+   For each frame size previously defined under [Default Test Parameters](#DefaultParams) and for each of the following number of flows:
+   - 1,000
+   - 2,000
+   - 2,000
+   - 4,000
+   - 8,000
+   - 16,000
+   - 32,000
+   - 64,000
+   The maximum 0% packet loss throughput should be determined in a manner identical to LTD.Throughput.RFC2544.PacketLossRatio.
+   **Expected Result**:
+   **Metrics Collected**:
+   The following are the metrics collected for this test:
+    - The maximum number of frames per second that can be forwarded at the specified number of flows and the specified frame size, with zero packet loss.
+ <br/>
+ ----
  [RFC1242]:(http://www.ietf.org/rfc/rfc1242.txt)
  [RFC2544]:(http://www.ietf.org/rfc/rfc2544.txt)
  [RFC2885]:(http://www.ietf.org/rfc/rfc2885.txt)