Skip to content

Commit

Permalink
e3 - increase defatults: batchSize from 256Mb to 512mb and default sy…
Browse files Browse the repository at this point in the history
…nc.loop.block.limit from 2K to 5K (erigontech#10355)

Seems on all networks better have bigger defaults -> less commitments
need to calc.
gnosis has ~10 txs per block, polygon has ~100 txs per block. step is
~1.5M transactions.
best performance we can show if compute commitment only 1 time per step
(at end of step).
  • Loading branch information
AskAlexSharov authored May 15, 2024
1 parent 5d6798b commit cd37ee6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions turbo/cli/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ var (
BatchSizeFlag = cli.StringFlag{
Name: "batchSize",
Usage: "Batch size for the execution stage",
Value: "256M",
Value: "512M",
}
EtlBufferSizeFlag = cli.StringFlag{
Name: "etl.bufferSize",
Expand Down Expand Up @@ -173,7 +173,7 @@ var (
SyncLoopBlockLimitFlag = cli.UintFlag{
Name: "sync.loop.block.limit",
Usage: "Sets the maximum number of blocks to process per loop iteration",
Value: 2_000, // unlimited
Value: 5_000,
}

UploadLocationFlag = cli.StringFlag{
Expand Down

0 comments on commit cd37ee6

Please sign in to comment.