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

Add memory limit to ram ratio #458

Merged
merged 2 commits into from Sep 7, 2018
Merged

Add memory limit to ram ratio #458

merged 2 commits into from Sep 7, 2018

Conversation

ramkumarvs
Copy link
Contributor

Tested by running helm install and validated
helm install yugabyte --name demo

Copy link
Collaborator

@kmuthukk kmuthukk left a comment

Choose a reason for hiding this comment

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

Can you update the commit summary with something like:

In non-kubernetes deployment, yb-master process runs on the same node as the yb-tserver process, and only get a default 0.1 (10%) of node's RAM, and 0.85% of RAM is given to yb-tserver process. In kubernetes deployments since yb-master runs as its own pod, we should increase its default memory limit.

@@ -49,6 +50,7 @@ Services:
rpc-port: "7100"
yql-port: "9042"
yedis-port: "6379"
memory_limit_to_ram_ratio: 1
Copy link
Collaborator

Choose a reason for hiding this comment

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

The default (for TServers) is already 0.85 and we don't want to change that. We want to leave some room for other processes.

Copy link
Collaborator

Choose a reason for hiding this comment

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

In other words, let us not override the TServer setting for memory limit in this yaml file.

Copy link
Collaborator

@kmuthukk kmuthukk left a comment

Choose a reason for hiding this comment

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

LG!

@ramkumarvs ramkumarvs merged commit 19c9fed into master Sep 7, 2018
@ramkumarvs ramkumarvs deleted the add-memory-limit branch September 7, 2018 01:33
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.

None yet

2 participants