HomeFreeBSD

netpfil tests: dummynet queue test

Description

netpfil tests: dummynet queue test

Test prioritisation and dummynet queues.
We need to give the pipe sufficient bandwidth for dummynet to work.
Given that we can't rely on the TCP connection failing alltogether, but
we can measure the effect of dummynet by imposing a time limit on a
larger data transfer.

If TCP is prioritised it'll get most of the pipe bandwidth and easily
manage to transfer the data in 3 seconds or less. When not prioritised
this will not succeed.

MFC after: 2 weeks
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D31788

(cherry picked from commit cb6bfef9ca78623e33d2aef347dcee112a639103)

Details

Provenance
kpAuthored on Sep 2 2021, 1:38 PM
Differential Revision
D31788: netpfil tests: dummynet queue test
Parents
rGa1d23e697345: dummynet tests: pipe test for IPv6
Branches
Unknown
Tags
Unknown