8000 Tighten the minimal streams per 100ms for staked node by lijunwangs · Pull Request #737 · anza-xyz/agave · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tighten the minimal streams per 100ms for staked node #737

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

Conversation

lijunwangs
Copy link

Problem

The small staked's minimal streams per second is too generous. The one barely be entitled to 10 PPS can get 80 making it effective in QOS.

Summary of Changes

This change achieve the following results which matches master's behavior

1, On the tpu forward port where unstaked connections is 0, set the staked node's minimal PPS to 10 instead of 80
2. On the tpu port, set the staked nodes's minimal streams per 100MS to the the one of unstaked connection's + 1 in 100MS. This encourage more staked vs unstaked.

Fixes #

@lijunwangs lijunwangs changed the base branch from master to v1.17 April 11, 2024 00:40
@lijunwangs lijunwangs closed this Apr 11, 2024
Copy link
mergify bot commented Apr 11, 2024

⚠️ The sha of the head commit of this PR conflicts with #738. Mergify cannot evaluate rules on this PR. ⚠️

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.

1 participant
0