Skip to content

Commit

Permalink
reduce pagesize to default: 4096
Browse files Browse the repository at this point in the history
this should help with write speeds and dirty less pages
  • Loading branch information
josibake committed Oct 7, 2024
1 parent aeb311a commit 1e25e6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dbwrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ MDBXWrapper::MDBXWrapper(const DBParams& params)

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

DBContext().create_params.geometry.pagesize = 16384;
DBContext().create_params.geometry.pagesize = 4096;

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

0 comments on commit 1e25e6f

Please sign in to comment.