Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Commit

Permalink
Increase RocksDB max-background-compactions and background-thread-cou…
Browse files Browse the repository at this point in the history
…nt to 4 by default. Improves fast sync times even on a t3.large instance (2 cores). (#1364)
  • Loading branch information
ajsutton committed Apr 29, 2019
1 parent edc9e9a commit 507c31f
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -94,7 +94,7 @@ public static class Builder {
@CommandLine.Option(
names = {"--Xrocksdb-max-background-compactions"},
hidden = true,
defaultValue = "1",
defaultValue = "4",
paramLabel = "<INTEGER>",
description =
"Maximum number of RocksDB background compactions (default: ${DEFAULT-VALUE})")
Expand All @@ -103,7 +103,7 @@ public static class Builder {
@CommandLine.Option(
names = {"--Xrocksdb-background-thread-count"},
hidden = true,
defaultValue = "1",
defaultValue = "4",
paramLabel = "<INTEGER>",
description = "Number of RocksDB background threads (default: ${DEFAULT-VALUE})")
int backgroundThreadCount;
Expand Down

0 comments on commit 507c31f

Please sign in to comment.