Skip to content

Commit 1e25e6f

Browse files
committed
reduce pagesize to default: 4096
this should help with write speeds and dirty less pages
1 parent aeb311a commit 1e25e6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dbwrapper.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ MDBXWrapper::MDBXWrapper(const DBParams& params)
429429

430430
LogPrintf("Opening MDBX in %s\n", fs::PathToString(params.path));
431431

432-
DBContext().create_params.geometry.pagesize = 16384;
432+
DBContext().create_params.geometry.pagesize = 4096;
433433

434434
// We need this because of some unpleasant (for us) passing around of the
435435
// Chainstate between threads during initialization.

0 commit comments

Comments
 (0)