-
Notifications
You must be signed in to change notification settings - Fork 120
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
RFE: Increase resiliance for long-running clusters / optimize resource usage #259
Comments
Change disk-driver options:
should become to:
Change machine-type:
Change from old
Remove:
Add:
After the system is set to
Also the size of the qcow image reported a smaller number:
|
For testing purpose, I added your suggestion into branch libvirt-xml-improvements |
Tested on RHEL8 and RHEL9, vnc/video change is really great. |
Branch |
The following
|
@ableischwitz why not just use a smaller disk? What's the reason to reduce caching of images? |
The reason is quite simple: a) the size of 120G is documented as minimum size for disks and b) the size of disks is limited on such setups. The image-cache is sized for setups which don't suffer from disk-limitations. Reducing that size (60% of 120G is still quite large) allows to maintain slim vm-disks, while also being able to use more space in case it's needed. |
I don't get it if you don't have enough size for 3x120Gb disk it then use smaller disks. You cannot grow either... You would suggest adding this as post-install step, if you like to automate it you can write your own post-install add-on. |
The default configuration of libvirt-machines is not very specific on resource-usage and disk optimization.
When running a OpenShift cluster on overprovisioned disk, one will want to make sure that sparse-disks will release/trim freed blocks, otherwise the vms will get paused due to no space left on device.
Also there is no need to have a graphical system included on the vms, as serial output has some additional benefits like ability to scroll back to missed output.
Steps to be done:
This issue should be considered as a draft for optimizations in regards to limited resource usage on a single host.
The text was updated successfully, but these errors were encountered: