Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I've never seen them turned on, except at the end of an extending troubleshooting session where a memory limit turned out to be the problem. I can't think of any use cases where it would be beneficial. Why not just assign less memory?

share|improve this question

closed as not constructive by RobM, Sven, Magellan, Scott Pack, Zoredache Oct 23 '12 at 16:49

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Alex, welcome to ServerFault. Please take some time to read our FAQ for help with getting started. Your question is not worded in a way we typically accept as it will solicit debate and opinions, not fact. Try to edit your question to be more objective. –  Brent Pabst Oct 9 '12 at 20:38

2 Answers 2

If you're referring to resource reservations, then their value is not when they're assigned per-VM, but rather when they're assigned per resource pool. Overcommitting isn't rare. Using reservations on resource pools helps ensure that tier 1 apps get first dibs at the resources.

share|improve this answer

You really don't want to use them on individual virtual machines, generally, unless you're testing how an application will perform under significant memory pressure to the host. They're much more useful on resource pools and vApps, if you care about ensuring that certain consumers of the system are only getting the total resources they've paid for but don't actually care how many virtual machines they run within those resuorces.

Memory limits on a single virtual machine are an interesting feature, because they serve more of a political role than a technical role, at least according to the instructors of my VCP class a few years back.

Let's say that you work for an IT department that is working on virtualizing all of its older servers. You do an analysis and decide to virtualize some server from your company's Accounting department. Your analysis tells you that even though the server has 32 GB of RAM, it's only ever used 4 GB of RAM at a time, and that was a small load spike. So, you virtualize the system, and to be generous, you give it an 8 GB memory allocation. You don't want to go any higher, because VMware Tools will only balloon out a certain amount of the guest's memory in response to contention and you don't want to go overboard with wasted memory.

That's great and all, but the head of the Accounting department is flippant because his department's budget paid for that server five years ago and damn it, he's gonna get his 32 GB of memory and no, he's not gonna pay for it again because he already paid for it and now you're rambling something about power and cooling and TCO and he doesn't care. Great, chief. Here, check top. See? You've got 32 GB. Great. Leave us alone.

share|improve this answer
2  
Interesting example. –  ewwhite Oct 9 '12 at 20:51

Not the answer you're looking for? Browse other questions tagged or ask your own question.