Skip to content

[k2] make init instance memory size adjustable#1610

Merged
PetrShumilov merged 8 commits intomasterfrom
pshumilov/make_init_instance_memory_size_adjustable
Apr 20, 2026
Merged

[k2] make init instance memory size adjustable#1610
PetrShumilov merged 8 commits intomasterfrom
pshumilov/make_init_instance_memory_size_adjustable

Conversation

@PetrShumilov
Copy link
Copy Markdown
Contributor

Key changes:

  • Set initial instance memory size to 64Mb (instead of 128 Mb previously)
  • Set min instance extra memory size to 64Mb (instead of 1Mb previously)
  • Made initial instance memory size adjustable via initial-instance-memory-size component argument
  • Made min instance extra memory size adjustable via min-instance-extra-memory-size component argument

Signed-off-by: Petr Shumilov <p.shumilov@vkteam.ru>
Signed-off-by: Petr Shumilov <p.shumilov@vkteam.ru>
Signed-off-by: Petr Shumilov <p.shumilov@vkteam.ru>
@PetrShumilov PetrShumilov added this to the next milestone Apr 16, 2026
@PetrShumilov PetrShumilov self-assigned this Apr 16, 2026
@PetrShumilov PetrShumilov added runtime Feature related to runtime k2 Affects compiler or runtime in K2 mode kphp Affects compiler or runtime in default mode (not K2) labels Apr 16, 2026
Signed-off-by: Petr Shumilov <p.shumilov@vkteam.ru>
@PetrShumilov PetrShumilov force-pushed the pshumilov/make_init_instance_memory_size_adjustable branch from 8e7f97c to fd44888 Compare April 16, 2026 15:46
Signed-off-by: Petr Shumilov <p.shumilov@vkteam.ru>
@PetrShumilov PetrShumilov force-pushed the pshumilov/make_init_instance_memory_size_adjustable branch 3 times, most recently from ba96544 to 021eeaa Compare April 16, 2026 15:59
Signed-off-by: Petr Shumilov <p.shumilov@vkteam.ru>
@PetrShumilov PetrShumilov force-pushed the pshumilov/make_init_instance_memory_size_adjustable branch from 021eeaa to 3e60f0d Compare April 16, 2026 16:01
Signed-off-by: Petr Shumilov <p.shumilov@vkteam.ru>
@PetrShumilov PetrShumilov force-pushed the pshumilov/make_init_instance_memory_size_adjustable branch 2 times, most recently from ee87c9c to 3007a41 Compare April 17, 2026 13:54
astrophysik
astrophysik previously approved these changes Apr 17, 2026
Copy link
Copy Markdown
Contributor

@astrophysik astrophysik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment thread runtime-light/allocator/allocator-state.h Outdated
Comment thread runtime-light/state/component-state.h Outdated
Comment thread runtime-light/state/component-state.cpp Outdated
@PetrShumilov PetrShumilov force-pushed the pshumilov/make_init_instance_memory_size_adjustable branch 2 times, most recently from f9f2f56 to 6174781 Compare April 17, 2026 16:04
Comment thread runtime-common/core/allocator/runtime-allocator.h Outdated
Comment thread runtime-common/core/allocator/runtime-allocator.h Outdated
Comment thread runtime-common/core/allocator/runtime-allocator.h Outdated
Signed-off-by: Petr Shumilov <p.shumilov@vkteam.ru>
@PetrShumilov PetrShumilov force-pushed the pshumilov/make_init_instance_memory_size_adjustable branch from 6174781 to a263244 Compare April 17, 2026 16:19
Copy link
Copy Markdown
Contributor

@apolyakov apolyakov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@PetrShumilov PetrShumilov merged commit 11d3605 into master Apr 20, 2026
7 checks passed
@PetrShumilov PetrShumilov deleted the pshumilov/make_init_instance_memory_size_adjustable branch April 20, 2026 08:07
PetrShumilov added a commit that referenced this pull request Apr 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

k2 Affects compiler or runtime in K2 mode kphp Affects compiler or runtime in default mode (not K2) runtime Feature related to runtime

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants