269
submitted 1 week ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 1 points 1 week ago* (last edited 1 week ago)

So could the total amount of RAM be smaller than the total amount all the machines cumulatively think is available? How does the pool prevent all the machines from crashing if all of them fill up their memory?

[-] [email protected] 2 points 1 week ago

Kind of. Think of the RAM allowance as a "maximum" limit, not a reserved allocation. The VM host might have 64 GB RAM, and perhaps allows 20 VMS running in it at once. Each VM can allocate up to a max of 8GB from that host. Not everyone is running their VM at the same time, even if they are, not everyone would be running at their limit of 8GB of memory. If it does happen that 20 users are trying to use 8GB at the same time on one host, then it's the same as anytime an OS runs low on RAM, it would start paging out to disk, everything would slow down for everyone. If that happens too many times, they could shuffle some users' VMs around to balance the loads across hosts.

this post was submitted on 22 May 2025
269 points (97.5% liked)

Memes

50580 readers
839 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 6 years ago
MODERATORS