Skip to content

Commit e759945

Browse files
authored
Make RocksDB config dependant of current hardware (#3740)
## Motivation Previously the RocksDB settings were not dependant on the current hardware ## Proposal Make them dependent on the current hardware. These settings seem to work well even for the benchmarks, for example. ## Test Plan Ran benchmarks with these settings ## Release Plan - Nothing to do / These changes follow the usual release cycle.
1 parent 79daec3 commit e759945

File tree

5 files changed

+203
-21
lines changed

5 files changed

+203
-21
lines changed

Cargo.lock

Lines changed: 80 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ lru = "0.12.3"
123123
num-bigint = "0.4.3"
124124
num-format = "0.4.4"
125125
num-traits = "0.2.18"
126-
num_cpus = "1.16.0"
127126
octocrab = "0.42.1"
128127
oneshot = "0.1.6"
129128
pathdiff = "0.2.1"
@@ -172,6 +171,7 @@ similar-asserts = "1.5.0"
172171
static_assertions = "1.1.0"
173172
stdext = "0.3.3"
174173
syn = "2.0.52"
174+
sysinfo = "0.33.1"
175175
tempfile = "3.10.1"
176176
test-case = "3.3.1"
177177
test-log = { version = "0.2.15", default-features = false, features = [

examples/Cargo.lock

Lines changed: 81 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

linera-views/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,14 @@ linera-base.workspace = true
4545
linera-views-derive.workspace = true
4646
linera-witty.workspace = true
4747
linked-hash-map.workspace = true
48-
num_cpus.workspace = true
4948
prometheus.workspace = true
5049
rand = { workspace = true, features = ["small_rng"] }
5150
rocksdb = { workspace = true, optional = true }
5251
scylla = { workspace = true, optional = true }
5352
serde.workspace = true
5453
sha3.workspace = true
5554
static_assertions.workspace = true
55+
sysinfo.workspace = true
5656
tempfile.workspace = true
5757
thiserror.workspace = true
5858
tokio = { workspace = true, features = ["rt", "sync"] }

0 commit comments

Comments
 (0)