Page MenuHomeFreeBSD

altq tests: Basic ALTQ test
ClosedPublic

Authored by kp on Jan 23 2021, 10:52 AM.
Tags
None
Referenced Files
F112031802: D28303.diff
Tue, Mar 11, 8:20 PM
Unknown Object (File)
Tue, Mar 4, 11:19 AM
Unknown Object (File)
Thu, Feb 20, 6:38 AM
Unknown Object (File)
Feb 6 2025, 6:42 PM
Unknown Object (File)
Feb 6 2025, 6:33 PM
Unknown Object (File)
Jan 31 2025, 3:43 PM
Unknown Object (File)
Jan 30 2025, 4:55 PM
Unknown Object (File)
Jan 30 2025, 4:31 AM

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 36469
Build 33358: 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
26

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

38

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.