NSB NFVi PROX BNG losing many packets 55/59155/3
authorDanielMartinBuckley <daniel.m.buckley@intel.com>
Tue, 19 Jun 2018 15:43:41 +0000 (16:43 +0100)
committerEmma Foley <emma.l.foley@intel.com>
Thu, 28 Jun 2018 10:27:46 +0000 (11:27 +0100)
JIRA: YARDSTICK-1101

Problem was incorrect generator and changed the traffic profile to allow
a tolerated loss of 5%.

ARP packets are not managed (just passed thru the system) therefor the
tolerated loss must be higehr than normal.

Change-Id: I03bd62b397a66b50961e810d033c6894d0b3e9a6
Signed-off-by: Daniel Martin Buckley <daniel.m.buckley@intel.com>
(cherry picked from commit 48c9e48dcff498c8f51ec507d4107bc658b82d82)

samples/vnf_samples/nsut/prox/configs/gen_bng-4.cfg
samples/vnf_samples/nsut/prox/configs/gen_bng_qos-4.cfg
samples/vnf_samples/nsut/prox/configs/handle_bng-4.cfg
samples/vnf_samples/nsut/prox/configs/handle_bng_qos-4.cfg
samples/vnf_samples/nsut/prox/tc_prox_baremetal_bng-4.yaml
samples/vnf_samples/nsut/prox/tc_prox_baremetal_bng_qos-4.yaml
samples/vnf_samples/nsut/prox/tc_prox_heat_context_bng-4.yaml
samples/vnf_samples/nsut/prox/tc_prox_heat_context_bng_qos-4.yaml
samples/vnf_samples/traffic_profiles/prox_bng.yaml

index 3b9c68f..a70ea65 100644 (file)
@@ -56,7 +56,7 @@ mode=gen
 tx port=cpe0
 bps=12500000
 ; Ethernet + QinQ + ARP-reply
-pkt inline=${sut_mac0} 70 00 00 00 00 01 ${qinq_tag_inline} 00 01 81 00 00 01 08 06 00 01 08 00 06 04 00 02 00 1e 67 3e b8 df c0 a8 01 01 00 00 00 00 00 00 c0 a8 01 01
+pkt inline=${sut_mac0} 00 00 02 00 00 02 ${qinq_tag_inline} 00 01 81 00 00 01 08 06 00 01 08 00 06 04 00 02 00 1e 67 3e b8 df c0 a8 01 01 00 00 00 00 00 00 c0 a8 01 01
 ; svlan: [0..127]
 random=000000000XXXXXXX
 rand_offset=14
@@ -71,7 +71,7 @@ mode=gen
 tx port=cpe1
 bps=12500000
 ; Ethernet + QinQ + ARP-reply
-pkt inline=${sut_mac2} 70 00 00 00 00 03 ${qinq_tag_inline} 00 01 81 00 00 01 08 06 00 01 08 00 06 04 00 02 00 1e 67 3e b8 df c0 a8 01 01 00 00 00 00 00 00 c0 a8 01 01
+pkt inline=${sut_mac2} 00 00 02 00 00 02 ${qinq_tag_inline} 00 01 81 00 00 01 08 06 00 01 08 00 06 04 00 02 00 1e 67 3e b8 df c0 a8 01 01 00 00 00 00 00 00 c0 a8 01 01
 ; svlan: [128..255]
 random=000000001XXXXXXX
 rand_offset=14
@@ -93,8 +93,8 @@ rand_offset=14
 ; cvlan: 256*[0..15]+16*[0..3]+[0..3]
 random=0000XXXX00XX00XX
 rand_offset=18
-; dst_ip: [10,11].[0..255].[0,16,32,48,64,80,96,112,128,144,160,176,192,208,224,240].[0..255]
-random=0000101XXXXXXXXXXXXX0000XXXXXXXX
+; dst_ip: [10,11].[odd 1..255].[16,48,80,112,144,176,208,240].[odd 1..255]
+random=0000101XXXXXXXX1XXX10000XXXXXXX1
 rand_offset=38
 lat pos=42
 
@@ -105,15 +105,15 @@ mode=gen
 tx port=cpe1
 bps=1069289928
 ; Ethernet + QinQ + IP + UDP
-pkt inline=${sut_mac2} 70 00 00 00 00 03 ${qinq_tag_inline} 00 01 81 00 00 01 08 00 45 00 00 1c 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 00 35 00 35 00 08 7c 21
+pkt inline=${sut_mac2} 70 00 00 00 00 01 ${qinq_tag_inline} 00 01 81 00 00 01 08 00 45 00 00 1c 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 00 35 00 35 00 08 7c 21
 ; svlan: [128..255]
 random=000000001XXXXXXX
 rand_offset=14
 ; cvlan: 256*[0..15]+16*[0..3]+[0..3]
 random=0000XXXX00XX00XX
 rand_offset=18
-; dst_ip: [10,11].[0..255].[0,16,32,48,64,80,96,112,128,144,160,176,192,208,224,240].[0..255]
-random=0000101XXXXXXXXXXXXX0000XXXXXXXX
+; dst_ip: [10,11].[odd 1..255].[16,48,80,112,144,176,208,240].[odd 1..255]
+random=0000101XXXXXXXX1XXX10000XXXXXXX1
 rand_offset=38
 lat pos=42
 
index 3b9c68f..a70ea65 100644 (file)
@@ -56,7 +56,7 @@ mode=gen
 tx port=cpe0
 bps=12500000
 ; Ethernet + QinQ + ARP-reply
-pkt inline=${sut_mac0} 70 00 00 00 00 01 ${qinq_tag_inline} 00 01 81 00 00 01 08 06 00 01 08 00 06 04 00 02 00 1e 67 3e b8 df c0 a8 01 01 00 00 00 00 00 00 c0 a8 01 01
+pkt inline=${sut_mac0} 00 00 02 00 00 02 ${qinq_tag_inline} 00 01 81 00 00 01 08 06 00 01 08 00 06 04 00 02 00 1e 67 3e b8 df c0 a8 01 01 00 00 00 00 00 00 c0 a8 01 01
 ; svlan: [0..127]
 random=000000000XXXXXXX
 rand_offset=14
@@ -71,7 +71,7 @@ mode=gen
 tx port=cpe1
 bps=12500000
 ; Ethernet + QinQ + ARP-reply
-pkt inline=${sut_mac2} 70 00 00 00 00 03 ${qinq_tag_inline} 00 01 81 00 00 01 08 06 00 01 08 00 06 04 00 02 00 1e 67 3e b8 df c0 a8 01 01 00 00 00 00 00 00 c0 a8 01 01
+pkt inline=${sut_mac2} 00 00 02 00 00 02 ${qinq_tag_inline} 00 01 81 00 00 01 08 06 00 01 08 00 06 04 00 02 00 1e 67 3e b8 df c0 a8 01 01 00 00 00 00 00 00 c0 a8 01 01
 ; svlan: [128..255]
 random=000000001XXXXXXX
 rand_offset=14
@@ -93,8 +93,8 @@ rand_offset=14
 ; cvlan: 256*[0..15]+16*[0..3]+[0..3]
 random=0000XXXX00XX00XX
 rand_offset=18
-; dst_ip: [10,11].[0..255].[0,16,32,48,64,80,96,112,128,144,160,176,192,208,224,240].[0..255]
-random=0000101XXXXXXXXXXXXX0000XXXXXXXX
+; dst_ip: [10,11].[odd 1..255].[16,48,80,112,144,176,208,240].[odd 1..255]
+random=0000101XXXXXXXX1XXX10000XXXXXXX1
 rand_offset=38
 lat pos=42
 
@@ -105,15 +105,15 @@ mode=gen
 tx port=cpe1
 bps=1069289928
 ; Ethernet + QinQ + IP + UDP
-pkt inline=${sut_mac2} 70 00 00 00 00 03 ${qinq_tag_inline} 00 01 81 00 00 01 08 00 45 00 00 1c 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 00 35 00 35 00 08 7c 21
+pkt inline=${sut_mac2} 70 00 00 00 00 01 ${qinq_tag_inline} 00 01 81 00 00 01 08 00 45 00 00 1c 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 00 35 00 35 00 08 7c 21
 ; svlan: [128..255]
 random=000000001XXXXXXX
 rand_offset=14
 ; cvlan: 256*[0..15]+16*[0..3]+[0..3]
 random=0000XXXX00XX00XX
 rand_offset=18
-; dst_ip: [10,11].[0..255].[0,16,32,48,64,80,96,112,128,144,160,176,192,208,224,240].[0..255]
-random=0000101XXXXXXXXXXXXX0000XXXXXXXX
+; dst_ip: [10,11].[odd 1..255].[16,48,80,112,144,176,208,240].[odd 1..255]
+random=0000101XXXXXXXX1XXX10000XXXXXXX1
 rand_offset=38
 lat pos=42
 
index e602fac..7d350bd 100644 (file)
@@ -27,7 +27,7 @@ $core_lb_cpe0  =1
 $core_inet0    =2
 $core_lb_cpe1  =3
 $core_inet1    =4
-$core_workers  =13-14,15-16
+$core_workers  =13-14,15-16,17-18,19-20
 $core_tx_cpe0  =6
 $core_tx_cpe1  =8
 $core_tx_inet0 =9
index e1da4cd..f65b7cb 100644 (file)
@@ -28,7 +28,7 @@ $core_lb_cpe0  =1
 $core_inet0    =2
 $core_lb_cpe1  =3
 $core_inet1    =4
-$core_workers  =13-14,15-16 ;sut_bng_qos_wk
+$core_workers  =13-14,15-16,17-18,19-20
 $core_qos_cpe0 =5
 $core_tx_cpe0  =6
 $core_qos_cpe1 =7
index 914bace..1711c56 100644 (file)
@@ -26,6 +26,9 @@ scenarios:
     vnf__0: vnf_0.yardstick
 
   options:
+
+    interface_speed_gbps: 10
+
     vnf__0:
       prox_path: /opt/nsb_bin/prox
       prox_config: "configs/handle_bng-4.cfg"
@@ -34,6 +37,7 @@ scenarios:
       prox_files:
         "configs/gre_table.lua" : ""
         "configs/ipv4.lua" : ""
+      prox_generate_parameter: True
 
     tg__0:
       prox_path: /opt/nsb_bin/prox
@@ -43,9 +47,12 @@ scenarios:
         "-t": ""
 
   runner:
-    type: Duration
+    type: ProxDuration
     # we kill after duration, independent of test duration, so set this high
-    duration: 300
+    duration: 2900
+    confirmation: 1
+    sampled: yes
+    interval: 1
 
 context:
   type: Node
index 599a6e0..a7d2d38 100644 (file)
@@ -26,6 +26,9 @@ scenarios:
     vnf__0: vnf_0.yardstick
 
   options:
+
+    interface_speed_gbps: 10
+
     vnf__0:
       prox_path: /opt/nsb_bin/prox
       prox_config: "configs/handle_bng_qos-4.cfg"
@@ -35,6 +38,7 @@ scenarios:
         "configs/gre_table.lua" : ""
         "configs/ipv4.lua" : ""
         "configs/dscp.lua" : ""
+      prox_generate_parameter: True
 
     tg__0:
       prox_path: /opt/nsb_bin/prox
@@ -44,9 +48,12 @@ scenarios:
         "-t": ""
 
   runner:
-    type: Duration
+    type: ProxDuration
     # we kill after duration, independent of test duration, so set this high
-    duration: 300
+    duration: 2900
+    confirmation: 1
+    sampled: yes
+    interval: 1
 
 context:
   type: Node
index 67ad5e2..5fed4ce 100644 (file)
@@ -26,6 +26,9 @@ scenarios:
     vnf__0: vnf_0.yardstick
 
   options:
+
+    interface_speed_gbps: 10
+
     vnf__0:
       prox_path: /opt/nsb_bin/prox
       prox_config: "configs/handle_bng-4.cfg"
@@ -34,6 +37,7 @@ scenarios:
       prox_files:
         "configs/gre_table.lua" : ""
         "configs/ipv4.lua" : ""
+      prox_generate_parameter: True
 
     tg__0:
       prox_path: /opt/nsb_bin/prox
@@ -45,7 +49,7 @@ scenarios:
   runner:
     type: Duration
     # we kill after duration, independent of test duration, so set this high
-    duration: 300
+    duration: 1600
 
 context:
   name: yardstick
index 0578bf5..b6d1be4 100644 (file)
@@ -26,6 +26,9 @@ scenarios:
     vnf__0: vnf_0.yardstick
 
   options:
+
+    interface_speed_gbps: 10
+
     vnf__0:
       prox_path: /opt/nsb_bin/prox
       prox_config: "configs/handle_bng_qos-4.cfg"
@@ -35,6 +38,7 @@ scenarios:
         "configs/gre_table.lua" : ""
         "configs/ipv4.lua" : ""
         "configs/dscp.lua" : ""
+      prox_generate_parameter: True
 
     tg__0:
       prox_path: /opt/nsb_bin/prox
@@ -46,7 +50,7 @@ scenarios:
   runner:
     type: Duration
     # we kill after duration, independent of test duration, so set this high
-    duration: 300
+    duration: 1600
 
 context:
   name: yardstick
index 59d10f0..6705fb1 100644 (file)
@@ -19,7 +19,7 @@ description:     Prox BNG traffic profile
 
 traffic_profile:
   traffic_type: ProxBinSearchProfile
-  tolerated_loss: 100.0 #0.001
+  tolerated_loss: 5
   test_precision: 0.01
 # The minimum size of the Ethernet frame for the BNG test is 78 bytes.
   packet_sizes: [78]