Linux - Virtualization and CloudThis forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a Centos 7 KVM VM with only one purpose - to run Red Hat Cockpit. I ran it today and it had a static use of 256 MB RAM - even as I added other servers for it to watch and clicked all over the web interface. It currently has 1 GB RAM as that's what libvirt defaults to for a CentOS 7 VM. I was thinking of shrinking it to 512 MB to give it a bit of overhead just in case. When I check the CentOS website, I see minimum RAM listings for x86 on Centos 6.9, but not for 7. If it's reporting only using 256, do you foresee any issues with me running it with 512?
Other details:
It was installed from the CentOS 7 mimimal disc and is commandline only - no desktop environments.
Try it and see.
Keep an eye on swap usage (in the guest) as a warning sign. When I cared about such things in the past I would reduce the guest to the point where it just started to swap. Adjust the size up to give it a bit of headroom and leave it alone unless things changed in the future. This is not bullet proof of course, but does catch scenarios where start-up uses more memory than is obvious from just looking at the stable running system.
Automatic ballooning is the ultimate answer, but I'm not sure of its current status in KVM.
OK, thanks. I did a bit more Googling and it seems that installation requires 1GB. Outside of that, people reported having trouble running yum on 64MB RAM. That's a bit drastic. It's just that, in my understanding you can over-commit a CPU, but not RAM. So I don't want to have my VMs use more RAM than they actually need. Your idea about swap is a great one. I'll mark as solved.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.