Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce badger ValueTreshold to 128 #4629

Merged
merged 4 commits into from
Oct 30, 2020
Merged

Reduce badger ValueTreshold to 128 #4629

merged 4 commits into from
Oct 30, 2020

Conversation

Kubuxu
Copy link
Contributor

@Kubuxu Kubuxu commented Oct 28, 2020

It should significntly size of the LSM index, and thus increase the
performance with bigger datastores

It should significntly size of the LSM index, and thus increase the
performance with bigger datastores

Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
Jakub Sztandera added 3 commits October 28, 2020 23:24
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
@magik6k magik6k merged commit 6cdbf52 into master Oct 30, 2020
@magik6k magik6k deleted the fix/badger-lsm-trsh branch October 30, 2020 20:10
@jennijuju
Copy link
Member

steps to take:

./lotus-shed datastore rewrite $LOTUS_PATH/datastore/chain $LOTUS_PATH/datastore/chain-new

backup chain, remove chain, mv chain-new chain.

@lcgogo
Copy link

lcgogo commented Nov 21, 2020

steps to take:

./lotus-shed datastore rewrite $LOTUS_PATH/datastore/chain $LOTUS_PATH/datastore/chain-new

backup chain, remove chain, mv chain-new chain.

Can you help to clarify how to do this more clearly? For example, should I stop the daemon at first or not?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants