270
submitted 3 weeks ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 23 points 3 weeks ago

In university, they stopped giving out software licenses for personal machines in favor of letting students connect to virtual machines they hosted. They allocated 8GB of RAM which wasn't horrible at the time, but they only allocated 4GB of storage. Only time I've ever seen that ratio.

[-] [email protected] 11 points 3 weeks ago

Probably because the RAM was pooled, but storage was not. So your RAM allocation is part of a larger pool that is shared between all currently logged in users. But your storage is allocated/reserved up front, and is used only by you.

[-] [email protected] 3 points 3 weeks ago

That makes sense. They also pushed us to store everything on the cloud.

[-] [email protected] 1 points 3 weeks ago* (last edited 3 weeks 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 3 weeks 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
270 points (97.5% liked)

Memes

50921 readers
767 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