-
Notifications
You must be signed in to change notification settings - Fork 4.6k
PoH on SLP2 is going very slowly #8445
Comments
I move the bootstrap validator to a colo machine, not sure that helped though |
Issue reproduces if a test SLP cluster is launched with https://github.com/solana-labs/cluster |
cc: #8450 |
Regression range is v0.23.2 - v0.23.6. Something in this window has caused PoH to slow down significantly: v0.23.2...v0.23.6 |
@pgarg66, I recall you tweaking the PoH thread affinity. Any chance that's related? |
Update: I can make v0.23.6 PoH as fast as v0.23.2 with some genesis config changes Using the v0.23.6 release binaries:
So we have some |
v0.23.2 behaves the same as v0.23.6, so this is not a regression. The bug was triggered by me disabling warm-up epochs, making slow PoH visible right from epoch 0 instead of 1-2 weeks in when the cluster finally reaches the normal epoch length |
STR on master:
diff --git a/multinode-demo/setup.sh b/multinode-demo/setup.sh
index ebb8ac8d8..fe2de2ce8 100755
--- a/multinode-demo/setup.sh
+++ b/multinode-demo/setup.sh
@@ -27,7 +27,8 @@ $solana_keygen new --no-passphrase -so "$SOLANA_CONFIG_DIR"/bootstrap-validator/
$solana_keygen new --no-passphrase -so "$SOLANA_CONFIG_DIR"/bootstrap-validator/storage-keypair.json
args=("$@")
-default_arg --enable-warmup-epochs
+default_arg --slots-per-epoch 432000 # Bad
+#default_arg --slots-per-epoch 8192 # Good
default_arg --bootstrap-validator-pubkey "$SOLANA_CONFIG_DIR"/bootstrap-validator/identity-keypair.json
default_arg --bootstrap-vote-pubkey "$SOLANA_CONFIG_DIR"/bootstrap-validator/vote-keypair.json
default_arg --bootstrap-stake-pubkey "$SOLANA_CONFIG_DIR"/bootstrap-validator/stake-keypair.json
@@ -35,6 +36,6 @@ default_arg --bootstrap-storage-pubkey "$SOLANA_CONFIG_DIR"/bootstrap-validator/
default_arg --ledger "$SOLANA_CONFIG_DIR"/bootstrap-validator
default_arg --faucet-pubkey "$SOLANA_CONFIG_DIR"/faucet-keypair.json
default_arg --faucet-lamports 500000000000000000
-default_arg --hashes-per-tick auto
+default_arg --hashes-per-tick sleep
default_arg --operating-mode development
$solana_genesis "${args[@]}"
You can easily see from standard output that slots are passing by very slowly. But another way to view the problem after the |
PoH should be running at ~2.5 slots a second, it seems to be running more a ~0.25 slots a second.
The text was updated successfully, but these errors were encountered: