Skip to content

lib/tst_net.sh: calc median instead of mean in tst_netload()

Alexey Kodanev ltp 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 3 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 3 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [LTP] [PATCH 0/3] lib/tst_net.sh: calc median instead of mean in tst_netload()
Quoted 13 lines · Petr Vorel

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_COUNT was 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.

Quoted 7 lines

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).

Merged, thanks for review Petr!