lib/tst_net.sh: calc median instead of mean in tst_netload()
Get series with b4
b4 am YB0cRKmBcO4qgLf8@pevikVersions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | lib/tst_net.sh: print all netstress results in tst_netload() | +0 | 0 replies | |
| 2/3 | lib: add tst_get_median helper binary for use in script tests | +0 | 0 replies | |
| 3/3 | lib/tst_net.sh: calc median instead of mean in tst_netload() | +0 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Petr Vorel |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [LTP] [PATCH 0/3] lib/tst_net.sh: calc median instead of mean in tst_netload()
Hi Alexey,
Quoted 10 lines
This series of patches is intended to improve the reliability of results in network tests that using
tst_netload().After
TST_NETLOAD_RUN_COUNTwas added, we get several results (5 by default). The first patch allows all of them to be displayed along with the final result. It helps to debug test performance failures.Further patches replace the mean calculation of such data set with the median one. It allows to exclude extreme points from the final result.
Thanks for improving stability of these tests!
I've also noticed often failures in net.features and some of ipsec tests, this should help.
FYI as TODO I'd like some of net.features have also as functional tests (ignoring the performance).
Kind regards,
Petr