Skip to content

Commit

Permalink
enable madv_normal for .kv files of > 0 lvl (#11223)
Browse files Browse the repository at this point in the history
enable `KV_MADV_NORMAL_NO_LAST_LVL=accounts,storage,code,commitment` by
default
  • Loading branch information
AskAlexSharov authored Jul 18, 2024
1 parent 50b09ad commit 9f3101e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erigon-lib/common/dbg/experiments.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ var (
BuildSnapshotAllowance = EnvInt("SNAPSHOT_BUILD_SEMA_SIZE", 2) // allows 2 kind of snapshots to be built simultaneously (e.g Caplin+Domains)

SnapshotMadvRnd = EnvBool("SNAPSHOT_MADV_RND", true)
KvMadvNormalNoLastLvl = EnvString("KV_MADV_NORMAL_NO_LAST_LVL", "")
KvMadvNormalNoLastLvl = EnvString("KV_MADV_NORMAL_NO_LAST_LVL", "accounts,storage,code,commitment") //TODO: move this logic - from hacks to app-level
KvMadvNormal = EnvString("KV_MADV_NORMAL", "")
OnlyCreateDB = EnvBool("ONLY_CREATE_DB", false)

Expand Down

0 comments on commit 9f3101e

Please sign in to comment.