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

v1.18: Change DEFAULT_TPU_CONNECTION_POOL_SIZE to 1 (backport of #1014) #1043

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Apr 25, 2024

Problem

DEFAULT_TPU_CONNECTION_POOL_SIZE was set to 4 to maximize the performance when we do local performance testing with bench-tps. With the server side QOS restrictions per stake node and unstaked node, the benefit of more connections is less obvious while having more connections increase the load on the server especially during leader change.
This only change the default to 1. Validators still can use existing --tpu-connection-pool-size to override the default value.

Summary of Changes

Change DEFAULT_TPU_CONNECTION_POOL_SIZE to 1.

Fixes #


This is an automatic backport of pull request #1014 done by [Mergify](https://mergify.com).

@lijunwangs lijunwangs merged commit 2d65381 into v1.18 Apr 25, 2024
35 checks passed
@lijunwangs lijunwangs deleted the mergify/bp/v1.18/pr-1014 branch April 25, 2024 18:56
@sakridge
Copy link

lgtm

anwayde pushed a commit to firedancer-io/agave that referenced this pull request Jul 23, 2024
…-xyz#1014) (anza-xyz#1043)

Change DEFAULT_TPU_CONNECTION_POOL_SIZE to 1 (anza-xyz#1014)

Co-authored-by: Lijun Wang <83639177+lijunwangs@users.noreply.github.com>
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.

3 participants