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

Performance degradation for staked connections (SWQoS) in version 2.1.9 #4665

Closed
StaRkeSolanaValidator opened this issue Jan 28, 2025 · 4 comments

Comments

@StaRkeSolanaValidator
Copy link

StaRkeSolanaValidator commented Jan 28, 2025

Problem Description

After upgrading to 2.1.9, our validator has experienced significant performance degradation related to staked connections (SWQoS). The primary issue observed is not being able to stablish a estable QUIC connection between the RPC and Validator, which return the following error log on the RPC side:

"ERR: Application error 0x5 (remote): invalid_stream"

Validator details:

  • Validator Identity: 3s97yjq2MhoPVPC3U9VeE3Z5S643Pweovg88ysvrQPw5
  • Version: 2.1.9
  • No relayer

Note: Once the Validator is rolled back to 2.0.22, the normal behaviour is immediately established.

Proposed Solution

No actual proposal beyond assessing what is triggering this issue in 2.1.x, however I would urge to identify the root cause before Solana Foundation call the 2.1.x for the whole cluster or when 2.0.x is forked, as it is widely used by major RPC providers.

@StaRkeSolanaValidator StaRkeSolanaValidator changed the title Performance degradation for staked connections (SWQOS) in version 2.1.9 Performance degradation for staked connections (SWQoS) in version 2.1.9 Jan 28, 2025
@StaRkeSolanaValidator
Copy link
Author

StaRkeSolanaValidator commented Jan 29, 2025

Same behaviour detected in 2.1.11

@StaRkeSolanaValidator
Copy link
Author

StaRkeSolanaValidator commented Jan 30, 2025

This issue seems to start associated with this commit

Based on the commit, this is not really an issue. The behavoiur is correct and the SWQoS partner should not exceed the Maximum transaction size.

@alessandrod
Copy link

Hey @StaRkeSolanaValidator can you tell me more about how your swqos partner is sending txs? What client are they using? Are they using a custom client? Is it open source so I can review it?

@StaRkeSolanaValidator
Copy link
Author

Hey @StaRkeSolanaValidator can you tell me more about how your swqos partner is sending txs? What client are they using? Are they using a custom client? Is it open source so I can review it?

Not sure the client they are using, I will dig into it. Thanks for replying!

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

2 participants