Merge pull request #10620 from filecoin-project/phi/backport-splitstore-config
Backport #10605 to v1.21.0
This commit is contained in:
commit
33039d2cec
@ -242,7 +242,7 @@
|
|||||||
#
|
#
|
||||||
# type: uint64
|
# type: uint64
|
||||||
# env var: LOTUS_CHAINSTORE_SPLITSTORE_HOTSTOREMAXSPACETARGET
|
# env var: LOTUS_CHAINSTORE_SPLITSTORE_HOTSTOREMAXSPACETARGET
|
||||||
#HotStoreMaxSpaceTarget = 0
|
#HotStoreMaxSpaceTarget = 650000000000
|
||||||
|
|
||||||
# When HotStoreMaxSpaceTarget is set Moving GC will be triggered when total moving size
|
# When HotStoreMaxSpaceTarget is set Moving GC will be triggered when total moving size
|
||||||
# exceeds HotstoreMaxSpaceTarget - HotstoreMaxSpaceThreshold
|
# exceeds HotstoreMaxSpaceTarget - HotstoreMaxSpaceThreshold
|
||||||
|
@ -96,6 +96,7 @@ func DefaultFullNode() *FullNode {
|
|||||||
MarkSetType: "badger",
|
MarkSetType: "badger",
|
||||||
|
|
||||||
HotStoreFullGCFrequency: 20,
|
HotStoreFullGCFrequency: 20,
|
||||||
|
HotStoreMaxSpaceTarget: 650_000_000_000,
|
||||||
HotStoreMaxSpaceThreshold: 150_000_000_000,
|
HotStoreMaxSpaceThreshold: 150_000_000_000,
|
||||||
HotstoreMaxSpaceSafetyBuffer: 50_000_000_000,
|
HotstoreMaxSpaceSafetyBuffer: 50_000_000_000,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user