-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Performance regression in block import after upgrading to polkadot 0.9.24 #12320
Comments
After making our node compatible with polkadot-0.9.29 depedencies, block import speed improved by 50% to 45-60 blocks per second
|
Can you give an exact commit? And can you also link to the different versions of your node you are speaking about? |
Substrate V3 node: https://github.com/threefoldtech/tfchain/tree/fix_devnet/substrate-node (compile with |
And your V3 wasn't just faster because you used the native runtime? |
No I don't think so. |
Okay. @koute maybe something you could take a look at some point? The regression seems to be relative high. |
@DylanVerstraete it would be nice to post the exact commands you used to launch your node. |
|
Sure, I can take a look at this. |
@DylanVerstraete Here's a patch which will speed up your blocks/sec when syncing by 10x from ~50 bps to ~500 bps:
Basically, you were using the interpreted WASM executor. If you switch to the compiled executor (which is the default, as long as it's enabled at compile time) you can not only regain all of that lost performance but also significantly speed up your syncing compared to what it was. It is true that there is a performance regression when running with the interpreted executor; compared to the old node (which is using |
@koute verified, thank! |
This issue has been mentioned on Polkadot Forum. There might be relevant details there: https://forum.polkadot.network/t/polkadot-release-analysis/1026/2 |
We noticed a huge drop in performance when trying to sync an archive node on our existing networks with a node that has polkadot-0.9.24 depedencies. With around 5-8 peers the speed comes down to 25-35 blocks per second.
On substrate V3 the block import speed was around 100-200 blocks per second.
V3 node output:
Polkadot 0.9.24 output:
The text was updated successfully, but these errors were encountered: