Page MenuHomeFreeBSD

Save the current TCP pacing rate in t_pacing_rate.
ClosedPublic

Authored by jhb on Oct 19 2020, 10:20 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 21, 8:37 AM
Unknown Object (File)
Nov 22 2024, 7:19 PM
Unknown Object (File)
Nov 22 2024, 7:18 PM
Unknown Object (File)
Nov 18 2024, 9:25 AM
Unknown Object (File)
Nov 14 2024, 2:54 PM
Unknown Object (File)
Nov 6 2024, 4:23 PM
Unknown Object (File)
Oct 30 2024, 6:35 PM
Unknown Object (File)
Oct 22 2024, 9:37 PM
Subscribers

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 34271
Build 31414: arc lint + arc unit

Event Timeline

jhb requested review of this revision.Oct 19 2020, 10:20 PM

Having this around avoids the need to query an existing tag for a rate for TLS + rate limit tags. It also makes the race window where TLS can "miss" a rate change smaller.

One question I have is if we have to use -1 as the rate for unlimited, or if a rate value of 0 (which feels a bit more natural) would work ok? If 0 works, then I'd change this to a uint64_t.

This revision was not accepted when it landed; it landed in state Needs Review.Oct 29 2020, 12:03 AM
This revision was automatically updated to reflect the committed changes.