Zero packet loss testing has been added. 37/52037/1
authorLuc Provoost <luc.provoost@intel.com>
Mon, 12 Feb 2018 10:32:35 +0000 (11:32 +0100)
committerLuc Provoost <luc.provoost@intel.com>
Mon, 12 Feb 2018 10:47:16 +0000 (11:47 +0100)
commitf1b7de05ac886a58a994676a4a5b6591eed5fc91
tree480828c8a6a07929cd5bc5c710febccec2ff20b0
parent7fa9c0b506709a683ec8984e19e9ba9deb27e021
Zero packet loss testing has been added.

Using l2 testing, where no ARP messages are being used, you can now run
a zero packet loss test. The binary search will continue to find the
speed where absolutely no packets have been lost during the test.
On top of that, the output has been reformatted to also show the
absolute and relative packet loss.
The *.test files have now 2 new parameters: drop_rate_treshold and accuracy.
When drop_rate_treshold is set to 0, this test will conclude successfull
when no packet has been lost whatsoever. If this is set to any other
number, the test will be successfull when the relative packet loss is
lower than drop_rate_treshold.
The new accuray parameter defines when the binary search will stop:
when the relative difference between the min and max of the search
window is lower than accuracy.
The irq testing is slightly modified to print the total number of
interrupts in a certain time bucket, not only as the number per second,
but when there is no interrupt whatsowever, we print '0' in stead of
'0.0'

Change-Id: I8fafded0a225cbe1ba7ac61cd28e94d72099e4a0
Signed-off-by: Luc Provoost <luc.provoost@intel.com>
12 files changed:
VNFs/DPPD-PROX/helper-scripts/openstackrapid/3VMrapid.yaml
VNFs/DPPD-PROX/helper-scripts/openstackrapid/3VMsriovrapid.yaml
VNFs/DPPD-PROX/helper-scripts/openstackrapid/basicrapid.test
VNFs/DPPD-PROX/helper-scripts/openstackrapid/impair.test
VNFs/DPPD-PROX/helper-scripts/openstackrapid/irq.test
VNFs/DPPD-PROX/helper-scripts/openstackrapid/l2gen.cfg [new file with mode: 0644]
VNFs/DPPD-PROX/helper-scripts/openstackrapid/l2swap.cfg [new file with mode: 0644]
VNFs/DPPD-PROX/helper-scripts/openstackrapid/l2zeroloss.test [new file with mode: 0644]
VNFs/DPPD-PROX/helper-scripts/openstackrapid/rapid.yaml
VNFs/DPPD-PROX/helper-scripts/openstackrapid/runrapid.py
VNFs/DPPD-PROX/helper-scripts/openstackrapid/secgw.test
VNFs/DPPD-PROX/helper-scripts/openstackrapid/sriovrapid.yaml