Skip to content

Commit c6b4ebf

Browse files
andllclaude
andcommitted
Increase objects table mutex count 4x and reduce max_dirty_keys to 2048
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 4f8cd07 commit c6b4ebf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/sui-core/src/authority/authority_store_tables.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ impl AuthorityPerpetualTables {
235235
KeyIndexing::key_reduction(obj_ref_size, 16..(obj_ref_size - 16));
236236

237237
let mut objects_config = KeySpaceConfig::new()
238-
.with_max_dirty_keys(4096)
238+
.with_max_dirty_keys(2048)
239239
.with_unloaded_iterator(true)
240240
.with_value_cache_size(value_cache_size);
241241
if matches!(db_options_override, Some(options) if options.is_validator) {
@@ -247,7 +247,7 @@ impl AuthorityPerpetualTables {
247247
"objects".to_string(),
248248
ThConfig::new_with_config_indexing(
249249
object_indexing,
250-
mutexes * 4,
250+
mutexes * 16,
251251
KeyType::uniform(1),
252252
objects_config,
253253
),

0 commit comments

Comments
 (0)