Skip to content

Commit

Permalink
change default bm size to 64MB
Browse files Browse the repository at this point in the history
  • Loading branch information
acquamarin committed Nov 17, 2022
1 parent ef41751 commit 5f6ae34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/include/configs.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const std::string INTERNAL_ID_SUFFIX = "_id";

struct StorageConfig {
// The default amount of memory pre-allocated to both the default and large pages buffer pool.
static constexpr uint64_t DEFAULT_BUFFER_POOL_SIZE = 1ull << 30; // (1GB)
static constexpr uint64_t DEFAULT_BUFFER_POOL_SIZE = 1ull << 26; // (64MB)
// The default ratio of buffer allocated to large pages.
static constexpr double DEFAULT_PAGES_BUFFER_RATIO = 0.75;
static constexpr double LARGE_PAGES_BUFFER_RATIO = 1.0 - DEFAULT_PAGES_BUFFER_RATIO;
Expand Down

0 comments on commit 5f6ae34

Please sign in to comment.