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

Limit mss fixup to connection start #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

brada4
Copy link

@brada4 brada4 commented Sep 10, 2024

Use conntrack flow packet counter to limit mss fixup filter to the very start of connection flows where adjustable syn/syn can possibly appear.

Two initial packets +

sysctl net.ipv4.tcp_syn_retries net.ipv4.tcp_synack_retries
net.ipv4.tcp_syn_retries = 6
net.ipv4.tcp_synack_retries = 5

Signed-off-by: Andris PE neandris@gmail.com

Use conntrack flow packet counter to limit mss fixup filter to the very start of
connection flows where adjustable syn/syn can possibly appear.

Two initial packets +
> sysctl net.ipv4.tcp_syn_retries net.ipv4.tcp_synack_retries
net.ipv4.tcp_syn_retries = 6
net.ipv4.tcp_synack_retries = 5

Signed-off-by: Andris PE <neandris@gmail.com>
@brada4
Copy link
Author

brada4 commented Sep 10, 2024

Other heuristics take twice bytecode like !assured/assured & ct tcp, Rises throughput ~10% in default case both unicast and forward.

@whiskerp
Copy link

whiskerp commented Sep 26, 2024 via email

@brada4
Copy link
Author

brada4 commented Sep 26, 2024

He comes here twice a year, if he misses few watch shifts ill make a branch and add readme ;-)

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

Successfully merging this pull request may close these issues.

2 participants