diff options
| author | Puranjay Mohan <puranjay@kernel.org> | 2026-05-20 16:33:32 +0300 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-05-20 19:25:47 +0300 |
| commit | abac8acb633a9448369d658889ac2bcfbd96f54b (patch) | |
| tree | 85dd4267667d1421a24c0eee2742ce7d8a1c1844 /include/linux | |
| parent | 12e896b9794bbd88f56aeac2a5807ae8d4bb5ad8 (diff) | |
| download | linux-abac8acb633a9448369d658889ac2bcfbd96f54b.tar.xz | |
selftests/bpf: Filter timing outliers with IQR in batch-timing library
System noise (timer interrupts, scheduling) can inflate the reported
stddev. tcp-v4-syn showed stddev 37.86 ns without filtering vs
0.16 ns with filtering on the same run data.
Filter samples outside [Q1 - 1.5*IQR, Q3 + 1.5*IQR] before computing
statistics. Scenarios with genuinely wide distributions have large IQR
so the fences stay wide and the filter has minimal effect.
Signed-off-by: Puranjay Mohan <puranjay@kernel.org>
Link: https://lore.kernel.org/r/20260520133338.3392667-4-puranjay@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
