diff options
author | 2018-02-12 11:32:35 +0100 | |
---|---|---|
committer | 2018-02-12 11:47:16 +0100 | |
commit | f1b7de05ac886a58a994676a4a5b6591eed5fc91 (patch) | |
tree | 480828c8a6a07929cd5bc5c710febccec2ff20b0 /common/vnf_common | |
parent | 7fa9c0b506709a683ec8984e19e9ba9deb27e021 (diff) |
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>
Diffstat (limited to 'common/vnf_common')
0 files changed, 0 insertions, 0 deletions