Igor_Kavinski wrote:Waco wrote:Literally the dumbest thing you can do with RAM. Let your OS do its job.
Aren't we letting the OS do its job by putting the pagefile on RAM disk? What else can you do if you have lots of cheap RAM eating up electricity and not being utilized?
No, I don't agree that artificially wasting RAM for a pagefile is letting the OS do its job. It's the exact opposite - you're stealing memory it could be putting to good use (for programs, I/O caching, background operations, etc) and literally wasting it on something
that's designed to be used when you are out of RAM.
Modern operating systems *never* let RAM sit unused unless you're literally doing nothing with your computer. The only time they touch the pagefile is if there is real memory pressure - AKA you're using more RAM actively than you have available. Artificially limiting how much RAM you have and engaging the swapping mechanism is an absolutely great way to get terrible performance for no reason at all (and instability if you really push it - let your OS do its job and manage the page file on your SSD/HDD).
Sorry - there's just no debating this. It's a stupid, terrible, and downright useless idea.
Victory requires no explanation. Defeat allows none.