You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Local
Total Number of Cores: 8 (4 performance and 4 efficiency)
Memory: 16 GB
Version
Semantic version: v0.3.0-rc1-74-g7f70b9b
Commit: 7f70b9b
Build Date: Mon Jun 27 11:59:20 CEST 2022
System version: arm64/darwin
Golang version: go1.18
Problem
For both machines I've specified above, the header store sometimes seems to be extremely slow on Append, consequently bottlenecking other dependent services (such as the DASer's catchUp routine) and causing the queue of pending headers to be written to grow on the syncer's side (since the store's pending header batch is limited to the DefaultWriteBatchSize = 2048).
DASer catchUp routine is bottlenecked by the store's ability to provide a header at <height>. If the height is not yet available, the request will hang until the header store can serve that header. The header store can only serve the header if it is either in the store's pending header queue (waiting to be written to disk), or if the header is already stored to disk. If neither of those criteria are satisfied, the store will "subscribe" to that height and wait until the header at <height> is at least inside of the store's pending queue.
The issue is that the header store becomes bottlenecked on the Append operation, sometimes with a pending queue of 30,000+ headers to be written to disk (the syncer will log pending head at height 82744 for example, but last update to the header store's chain is at 55297). As I observe this bottleneck, I also see the memory usage increase slowly, but steadily.
The text was updated successfully, but these errors were encountered:
Specs
Remote
Ubuntu 20.04 (LTS) x64
1 vCPU
1GB / 25GB Disk
Local
Total Number of Cores: 8 (4 performance and 4 efficiency)
Memory: 16 GB
Version
Semantic version: v0.3.0-rc1-74-g7f70b9b
Commit: 7f70b9b
Build Date: Mon Jun 27 11:59:20 CEST 2022
System version: arm64/darwin
Golang version: go1.18
Problem
For both machines I've specified above, the header store sometimes seems to be extremely slow on
Append
, consequently bottlenecking other dependent services (such as the DASer'scatchUp
routine) and causing the queue of pending headers to be written to grow on the syncer's side (since the store's pending header batch is limited to theDefaultWriteBatchSize = 2048
).DASer
catchUp
routine is bottlenecked by the store's ability to provide a header at<height>
. If the height is not yet available, the request will hang until the header store can serve that header. The header store can only serve the header if it is either in the store's pending header queue (waiting to be written to disk), or if the header is already stored to disk. If neither of those criteria are satisfied, the store will "subscribe" to that height and wait until the header at<height>
is at least inside of the store's pending queue.The issue is that the header store becomes bottlenecked on the
Append
operation, sometimes with a pending queue of 30,000+ headers to be written to disk (the syncer will logpending head
at height82744
for example, but last update to the header store's chain is at55297
). As I observe this bottleneck, I also see the memory usage increase slowly, but steadily.The text was updated successfully, but these errors were encountered: