Skip to content

Commit

Permalink
reduce #chunk on data to be 60000
Browse files Browse the repository at this point in the history
that give 5536 chunks for NVME.

Signed-off-by: Xiaoxi Chen <[email protected]>
  • Loading branch information
xiaoxichen committed Apr 19, 2024
1 parent 00ab48e commit ff62e8f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def build_requirements(self):
self.build_requires("gtest/1.14.0")

def requirements(self):
self.requires("homestore/[^6.2, include_prerelease=True]@oss/master")
self.requires("homestore/[^6.2.0, include_prerelease=True]@oss/master")
self.requires("sisl/[^12.1, include_prerelease=True]@oss/master")
self.requires("lz4/1.9.4", override=True)

Expand Down
4 changes: 2 additions & 2 deletions src/lib/homestore_backend/hs_homeobject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ void HSHomeObject::init_homestore() {
{HS_SERVICE::REPLICATION,
hs_format_params{.dev_type = HSDevType::Data,
.size_pct = 99.0,
.num_chunks = 65000,
.num_chunks = 60000,
.block_size = _data_block_size,
.alloc_type = blk_allocator_type_t::append,
.chunk_sel_type = chunk_selector_type_t::CUSTOM}},
Expand All @@ -186,7 +186,7 @@ void HSHomeObject::init_homestore() {
{HS_SERVICE::REPLICATION,
hs_format_params{.dev_type = run_on_type,
.size_pct = 79.0,
.num_chunks = 65000,
.num_chunks = 60000,
.block_size = _data_block_size,
.alloc_type = blk_allocator_type_t::append,
.chunk_sel_type = chunk_selector_type_t::CUSTOM}},
Expand Down

0 comments on commit ff62e8f

Please sign in to comment.