update multiplier in stl benchmark, shorten title in NIC's table
authorYaroslav Brustinov <[email protected]>
Fri, 19 Aug 2016 06:58:36 +0000 (09:58 +0300)
committerYaroslav Brustinov <[email protected]>
Fri, 19 Aug 2016 06:58:36 +0000 (09:58 +0300)
scripts/automation/regression/stateless_tests/stl_benchmark_test.py
scripts/dpdk_nic_bind.py

index 0f3a381..48d41f6 100755 (executable)
@@ -25,7 +25,8 @@ class STLBenchmark_Test(CStlGeneral_Test):
             self.stl_trex.clear_stats()
             sleep(1)
             self.stl_trex.add_streams(profile)
-            self.stl_trex.start(mult = '10%')
+            mult = '1%' if self.is_virt_nics else '10%'
+            self.stl_trex.start(mult = mult)
             start_time = time()
 
             for i in range(timeout + 1):
index 13806fd..dcb8482 100755 (executable)
@@ -538,7 +538,7 @@ def show_table():
         devices[pci]['MAC'] = mac
         
     table = texttable.Texttable(max_width=-1)
-    table.header(['ID', 'NUMA', 'PCI', 'MAC', 'Name', 'Driver', 'Linux interface', 'Active'])
+    table.header(['ID', 'NUMA', 'PCI', 'MAC', 'Name', 'Driver', 'Linux IF', 'Active'])
     for id, pci in enumerate(sorted(devices.keys())):
         d = devices[pci]
         table.add_row([id, d['NUMA'], d['Slot_str'], d.get('MAC', ''), d['Device_str'], d.get('Driver_str', ''), d['Interface'], d['Active']])