-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Block import should be at least 100bps #1206
Comments
I can't repro this with a lone proposer node on latest master. When syncing I observe CPU usage at 100% on the import queue thread but I guess this is the expected behaviour as blocks are being on boarded. CPU usage drops off once fully synced. |
@Holygits are you running node in the |
I've run this command:
Ah. So this problem occurs when the block import rate is slower than block proposal rate. |
Should've mentioned I'm running a release build. |
Yeah debug build block importing is not usable
Release build is much faster (still not fast enough though)
|
This function is the dominating function in my traces when syncing. I'm currently trying to improve the performance. |
Currently seeing a steady 170bps during sync. |
* Companion for Substrate paritytech#6123 * Update Substrate
…ech#1206) * networking: Refactor request-responses module.
investigating #448 we are seeing continuous 100% CPU (caused by one thread per one core) if we run
--validator --chain dev --key Alice
, even without any other nodes connected. We are not seeing this, if the node is not the proposer. However if we link up the proposing node with another node, we are also seeing a continuous 100% CPU usage of two threads on that second node. This suggests we are looping without necessity in the importing thread.The text was updated successfully, but these errors were encountered: