Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider using setsockopt to set and limit a socket's SO_MAX_PACING_RATE #354

Open
stephen-soltesz opened this issue Mar 1, 2022 · 0 comments

Comments

@stephen-soltesz
Copy link
Contributor

@mattmathis reported that it's possible to set the max pacing rate for a socket using setsockopt. This could be done at the same time BBR is enabled . This could be a way of enforcing per-connection rate limits (e.g. 2.5Gbps) in addition to whole-machine limits with the TxController.

https://lxr.missinglinkelectronics.com/linux/net/core/sock.c#L1164

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant