Page MenuHomeFreeBSD

altq tests: Basic ALTQ test
ClosedPublic

Authored by kp on Jan 23 2021, 10:52 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 16, 12:08 AM
Unknown Object (File)
Mar 10 2024, 1:49 PM
Unknown Object (File)
Jan 27 2024, 4:58 PM
Unknown Object (File)
Dec 20 2023, 4:15 AM
Unknown Object (File)
Dec 12 2023, 10:35 AM
Unknown Object (File)
Dec 3 2023, 6:00 PM
Unknown Object (File)
Nov 10 2023, 1:09 PM
Unknown Object (File)
Nov 8 2023, 1:03 PM

Details

Summary

Activate ALTQ_HFSC, crudely check if it really limits bandwidth as we'd expect.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 36429
Build 33318: arc lint + arc unit

Event Timeline

kp requested review of this revision.Jan 23 2021, 10:52 AM
donner added inline comments.
tests/sys/netpfil/pf/altq.sh
25

It's expected, that this command always succeed, so there is no check needed. Correct?

37

There is a race condition between the "saturate" ping and the test. A busy system might have several seconds between those commands.

Would it be possible to rephrase the check, so that the ping is sending i.e. 10 packets and we expect 3 of them back?

Adjust to new altq.foo sysctl

This revision is now accepted and ready to land.Jan 25 2021, 3:23 PM
This revision was automatically updated to reflect the committed changes.