Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sys ctl to env param #277

Open
wants to merge 1 commit into
base: vNext
Choose a base branch
from

Conversation

BasharRadya
Copy link
Collaborator

Description

Read system control parameters from environment variables
Configure TSO and LRO default to ON

What

Subject: what this PR is doing in one line.

Why ?

better control of sys vars in virtual and container environment

How ?

read from enviorn variables instead of sys ctl

Change type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Tests
  • Other

Check list

  • Code follows the style de facto guidelines of this project
  • Comments have been inserted in hard to understand places
  • Documentation has been updated (if necessary)
  • Test has been added (if possible)

@BasharRadya BasharRadya force-pushed the sys_ctl_to_env_param branch 2 times, most recently from 765614a to 5da4add Compare December 14, 2024 15:28
@BasharRadya
Copy link
Collaborator Author

bot:retest

1 similar comment
@BasharRadya
Copy link
Collaborator Author

bot:retest

@AlexanderGrissik
Copy link
Collaborator

After discussion with Igor, we need to consider control parameters. Such as bindipv6only. These parameters are better to set the same as Kernel as these affect app behavior rather than performance. Lets discuss how we should proceed with them.

@BasharRadya BasharRadya force-pushed the sys_ctl_to_env_param branch 3 times, most recently from 9d7120a to 98d8a67 Compare January 21, 2025 09:01
@BasharRadya
Copy link
Collaborator Author

bot:retest

@BasharRadya
Copy link
Collaborator Author

bot:retes

@BasharRadya
Copy link
Collaborator Author

bot:retest

@BasharRadya
Copy link
Collaborator Author

bot:retest

3 similar comments
@BasharRadya
Copy link
Collaborator Author

bot:retest

@BasharRadya
Copy link
Collaborator Author

bot:retest

@AlexanderGrissik
Copy link
Collaborator

bot:retest

@BasharRadya BasharRadya force-pushed the sys_ctl_to_env_param branch 2 times, most recently from c039e4a to 5546949 Compare January 21, 2025 15:39
Refactored the logic to retrieve system parameters via environment variables
instead of relying on system control (`sysctl`) parameters.
Improved compatibility with containerized and runtime-configurable
environments.

Signed-off-by: Bashar Abdelgafer <[email protected]>
@BasharRadya
Copy link
Collaborator Author

bot:retest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants