All posts
sync
Posts on the sync from genesis in Cinder: Era1 files, the sync stages, write batches and the runs over the merge on real chains.
- Sync from genesis: 256 blocks per write, 40 times fewer fsync calls, and a prewarm result we could not claimThree speed items for the sync from genesis, measured on 3 000 Hoodi blocks with an A/A control. Write batches of 256 blocks made the execution stage about 38% faster and wrote 37% fewer pages. Lazy commits cut the fsync calls from 716 to 18. But on a fast disk, the time gain was inside the A/A spread. A second write of each body costs nothing, so we wrote no code for it. And the prewarm: off, the mean was 13.8% slower, but the interval went from -7.8% to +44.1%.