-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
libvirt: increase master memory to 3GB #408
libvirt: increase master memory to 3GB #408
Conversation
Do we have time to dig into who's so hungry? Or are we just bumping this with the hope that we'll be able to circle back once things quiet down and tighten things up? Or is 3GB really reasonable for the sort of things the masters are doing? |
Haven't seen this |
@abhinavdahiya who is doing this? |
I am seeing this as well on my master node. |
@abhinavdahiya can we merge this if I promise to revert once we drop KCO? 👼 |
/approve |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: abhinavdahiya, sjenning The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
My main dev environment is a Lenovo P50 with 64GB of RAM - I got it specifically to run some large VMs (and/or many VMs) specifically with OpenShift in mind. First, default masters to 4096 MiB since we are seeing a default install be overloaded. And for me, increasing RAM on my master to 8GB is a *very* noticeable speed improvement and I think reliabilty; before I saw the apiserver be `OOMKilled` sometimes, and `kswapd0` was constantly doing writeback. These variables aren't bubbled all the way up to the documented installer config, but one can now do e.g.: ``` $ env TF_VAR_libvirt_master_memory=8192 TF_VAR_libvirt_master_vcpu=4 ./bin/openshift-install create cluster --dir=osiris ``` Previously: - openshift#408 - openshift#163
After CVO merged, 2GB is no longer sufficient for master operations. The VM gridlocks with kswapd and becomes slow to respond or completely unresponsive.
I bumped my master to 4GB to get this working, but 3GB should be sufficient for now.
@aveshagarwal @derekwaynecarr @rphillips @abhinavdahiya