bsc-archive-snapshot icon indicating copy to clipboard operation
bsc-archive-snapshot copied to clipboard

can it run with --db.pagesize=8kb ?

Open flywukong opened this issue 2 years ago • 3 comments

the mdbx should be consistent with the config of pagesize , so this tarball is done with --db.pagesize=8kb or --db.pagesize=4kb ? if it is runned with 4kb , I am afraid that the data can not be run with flag --db.pagesize=8kb

PS : I did not use your script to run it , I have run node with below command and it works well for 10+ hours, ./erigon --chain=bsc --datadir /server/archive --snap.keepblocks --db.pagesize=8kb

flywukong avatar Jul 22 '22 02:07 flywukong

Currently it is 4k (default), but I've been working on a new sync that is 16k that should be released in a week or so.

allada avatar Jul 22 '22 03:07 allada

we can also use mdbx_dump/mdbx_load tools to convert the data into 8k or 16k

flywukong avatar Jul 22 '22 04:07 flywukong

As of https://github.com/allada/bsc-archive-snapshot/commit/4d8d56ac1fe424c119ef1925f387ce24df484e31, it uses 16k blocks. This solved much of the "can't keep up with latest blocks issues".

allada avatar Jul 28 '22 05:07 allada

Currently it is 4k (default), but I've been working on a new sync that is 16k that should be released in a week or so.

On Thu, Jul 21, 2022, 9:25 PM flywukong @.***> wrote:

the mdbx should be consistent with the config of pagesize , so this tarball is done with --db.pagesize=8kb or --db.pagesize=4kb ?

— Reply to this email directly, view it on GitHub https://github.com/allada/bsc-archive-snapshot/issues/25, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAN7CIT44BGIK6XFIIBZ2ATVVIBCJANCNFSM54JUGKRA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

allada avatar Oct 11 '22 08:10 allada