-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Added option to turn on UDP for TPU transaction and make UDP based TPU off by default #27462
Added option to turn on UDP for TPU transaction and make UDP based TPU off by default #27462
Conversation
Investigating local_cluster test failure with udp disabled. |
2bddf28
to
3ca337d
Compare
It's passing |
Good idea. Let me look into it |
…aidator to reduce changed files
Thanks for addressing it. I had another minor nit. Please see if it makes sense. You can add the flag ( This will reduce the changes in test-validator and some of the tests. |
Done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…U off by default (#27462) --tpu-enable-udp is introduced. And when this is on, the transaction receive and transaction forward is enabled using udp. Except for a few tests which was hard-coded sending transactions using udp, most tests are being done with udp based tpu disabled. (cherry picked from commit 7f223dc) # Conflicts: # cli/src/cli.rs # core/src/tpu.rs # core/src/validator.rs # local-cluster/src/local_cluster.rs # net/net.sh # net/remote/remote-node.sh # test-validator/src/lib.rs # validator/src/main.rs
…U off by default (backport #27462) (#27658) * Added option to turn on UDP for TPU transaction and make UDP based TPU off by default (#27462) --tpu-enable-udp is introduced. And when this is on, the transaction receive and transaction forward is enabled using udp. Except for a few tests which was hard-coded sending transactions using udp, most tests are being done with udp based tpu disabled. (cherry picked from commit 7f223dc) # Conflicts: # cli/src/cli.rs # core/src/tpu.rs # core/src/validator.rs # local-cluster/src/local_cluster.rs # net/net.sh # net/remote/remote-node.sh # test-validator/src/lib.rs # validator/src/main.rs * Fixed merge conflicts * Fixed another conflict * Fixed a fmt Co-authored-by: Lijun Wang <83639177+lijunwangs@users.noreply.github.com>
…U off by default (backport solana-labs#27462) (solana-labs#27658) * Added option to turn on UDP for TPU transaction and make UDP based TPU off by default (solana-labs#27462) --tpu-enable-udp is introduced. And when this is on, the transaction receive and transaction forward is enabled using udp. Except for a few tests which was hard-coded sending transactions using udp, most tests are being done with udp based tpu disabled. (cherry picked from commit 7f223dc) * Fixed merge conflicts * Fixed another conflict * Fixed a fmt Co-authored-by: Lijun Wang <83639177+lijunwangs@users.noreply.github.com>
…U off by default (backport #27462) (#27658) * Added option to turn on UDP for TPU transaction and make UDP based TPU off by default (#27462) --tpu-enable-udp is introduced. And when this is on, the transaction receive and transaction forward is enabled using udp. Except for a few tests which was hard-coded sending transactions using udp, most tests are being done with udp based tpu disabled. (cherry picked from commit 7f223dc) * Fixed merge conflicts * Fixed another conflict * Fixed a fmt Co-authored-by: Lijun Wang <83639177+lijunwangs@users.noreply.github.com>
…based TPU off by default (backport solana-labs#27462) (solana-labs#27658)" This reverts commit 1bbace4.
…ake UDP based TPU off by default (backport solana-labs#27462) (solana-labs#27658)"" This reverts commit 411f0a3.
Problem
Introduce a way to turn down UDP based TPU off by default and an option to turn on it.
Summary of Changes
--tpu-enable-udp is introduced. And when this is on, the transaction receive and transaction forward is enabled using udp.
Except for a few tests which was hard-coded sending transactions using udp, most tests are being done with udp based tpu disabled.
Fixes #