!aZUzMIEZvEwnDquxLf:neko.dev

Gentoo

1315 Members
Unofficial. Talk about Gentoo stuff. Lightly moderated, i.e. try to keep topics Gentoo related and listen to the mods. Don't talk about politics, stuff like that never stays civil. (There are other rooms for that.) Checkout #gentoo-community:matrix.org and #gentoo-chatter:matrix.org. Also we love cats :3172 Servers

Load older messages


SenderMessageTime
30 Jan 2023
@guntherdw:wrongplace.beguntherdwBut, in my experience QEMU doesn't fully "hog" the RAM you give to a VM21:01:52
@guntherdw:wrongplace.beguntherdwSo even if you give a VM 16GB at bootup if it's not even caching any files or other resources it will not show up as 16GB in htop on the host machine21:02:24
@julien:jroy.caJulien
In reply to @guntherdw:wrongplace.be
https://medium.com/coccoc-engineering-blog/the-way-of-kvm-memory-management-9670f0f852af
oh so there's Ovirt to do that auto ballooning
21:02:36
@julien:jroy.caJulienAnd that's also one thing I like about LXC: you don't have to pre-allocate memory. In my case I don't put any limits on resources so all my containers have access to the entire system. I don't have to allocate N cores to a VM, instead my container has access to all my 32threads.21:05:02
@julien:jroy.caJulienI can then put QoS in place to prioritize some containers21:05:13
@julien:jroy.caJulienI could put limits on resources of course, but in my case I don't need to21:05:27
@guntherdw:wrongplace.beguntherdwIn ESX you can do such a thing as well, but it's a bit less fine grained21:05:53
@guntherdw:wrongplace.beguntherdwThe bad part about memory ballooning though in ESX that I wasn't aware it was doing that because it's not always clear it's doing it until you actually check with vmware-toolbox-cmd21:07:52
@guntherdw:wrongplace.beguntherdwIt just shows up as "memory in use" but no actual process taking up said memory21:08:14
@guntherdw:wrongplace.beguntherdw One of my VM's was somewhat misconfigured and was getting OOM's left right and center randomly, and it took me quite a while to figure out it was other VM's on the same host causing it 21:09:17
@julien:jroy.caJulien
In reply to @julien:jroy.ca
And that's also one thing I like about LXC: you don't have to pre-allocate memory. In my case I don't put any limits on resources so all my containers have access to the entire system. I don't have to allocate N cores to a VM, instead my container has access to all my 32threads.
though I guess that could allow a compromised container to drain the system for everyone else
21:09:21
@guntherdw:wrongplace.beguntherdw Well, not directly, but my memory was just a tiny bit too much under pressure 21:10:17
@julien:jroy.caJulienHeh. I had this problem a lot on my previous server21:10:40
@guntherdw:wrongplace.beguntherdwI was under the impression I had more than enough still available by looking at the "RAM in use" counter in my vsphere UI, apparently that was a bit misleading21:10:44
@julien:jroy.caJulienHad only 24GB of RAM and I crammed too many VMs in it21:10:51
@julien:jroy.caJulienI was way over-comitted in fact after a reboot I needed to wait for the hypervisor to reclaim memory from the booted VMs so the other ones could boot 🤣21:11:23
@guntherdw:wrongplace.beguntherdwScreenshot_20230130_221212.png
Download Screenshot_20230130_221212.png
21:12:25
@guntherdw:wrongplace.beguntherdw I really need to get more memory in that one box xD 21:12:32
@guntherdw:wrongplace.beguntherdwIt's not one that I run for a corp or anything, just my ~10 y old homeserver running a couple services like DNS, mail etc21:13:28
@julien:jroy.caJulienam I reading this right? you have 4GB on the host?21:13:23
@guntherdw:wrongplace.beguntherdw
In reply to @guntherdw:wrongplace.be
I really need to get more memory in that one box xD
Especially now that Devuan initramfs's are getting quite bloated and require quite a bit of RAM to boot up and not OOM
21:17:47
@julien:jroy.caJulienclipboard.png
Download clipboard.png
21:17:44
@julien:jroy.caJulienhere is mine now21:17:49
@guntherdw:wrongplace.beguntherdwWhen it's running it's fine, but that initramfs, good lord21:18:03
@julien:jroy.caJulien64 is more than enough for now :D21:18:02
@guntherdw:wrongplace.beguntherdwI used to be able to run my ZNC VM off of like less than 128MB of RAM21:18:19
@julien:jroy.caJuliengee21:18:42
@julien:jroy.caJulienhow did that work21:19:10
@julien:jroy.caJulienI mean my kernel alone takes more than that21:19:32
@julien:jroy.caJulienyou mean 128MB allocated to the VM ?21:20:12

There are no newer messages yet.


Back to Room List