Skip to content

Commit 3110640

Browse files
fix1
1 parent 8c69a97 commit 3110640

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

simplyblock_core/env_var

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
SIMPLY_BLOCK_COMMAND_NAME=sbcli-msn
2-
SIMPLY_BLOCK_VERSION=0.2.8
2+
SIMPLY_BLOCK_VERSION=0.2.9
33

44
SIMPLY_BLOCK_DOCKER_IMAGE=public.ecr.aws/simply-block/simplyblock:multi-snode
55
DOCKER_USER=hamdysimplyblock

simplyblock_core/utils.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ def calculate_pool_count(alceml_count, number_of_distribs, cpu_count, poller_cou
511511
small_pool_count = 384 * (alceml_count + number_of_distribs + 3 + poller_count) + (6 + alceml_count + number_of_distribs) * 256 + poller_number * 127 + 384 + 128 * poller_number + constants.EXTRA_SMALL_POOL_COUNT
512512
#large_pool_count = (3 + alceml_count + lvol_count + 2 * snap_count + 1) * 32 + poller_number * 15 + 384 + 16 * poller_number + constants.EXTRA_LARGE_POOL_COUNT
513513
large_pool_count = 48 * (alceml_count + number_of_distribs + 3 + poller_count) + (6 + alceml_count + number_of_distribs) * 32 + poller_number * 15 + 384 + 16 * poller_number + constants.EXTRA_LARGE_POOL_COUNT
514-
return 2*small_pool_count, 2*large_pool_count
514+
return small_pool_count, large_pool_count
515515

516516

517517
def calculate_minimum_hp_memory(small_pool_count, large_pool_count, lvol_count, max_prov, cpu_count):
@@ -525,7 +525,7 @@ def calculate_minimum_hp_memory(small_pool_count, large_pool_count, lvol_count,
525525
pool_consumption = (small_pool_count * 8 + large_pool_count * 128) / 1024 + 1092
526526
max_prov_tb = max_prov / (1024 * 1024 * 1024 * 1024)
527527
memory_consumption = (4 * cpu_count + 1.0277 * pool_consumption + 25 * lvol_count) * (1024 * 1024) + (250 * 1024 * 1024) * 1.1 * max_prov_tb + constants.EXTRA_HUGE_PAGE_MEMORY
528-
return int(memory_consumption*1.5)
528+
return int(memory_consumption)
529529

530530

531531
def calculate_minimum_sys_memory(max_prov, total):

0 commit comments

Comments
 (0)