Linked by Thom Holwerda on Sun 31st Aug 2008 16:15 UTC, submitted by cy
Thread beginning with comment 328752
To view parent comment, click here.
To read all comments associated with this story, please click here.
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[4]: Swap twice the RAM
by ple_mono on Mon 1st Sep 2008 14:18
in reply to "RE[3]: Swap twice the RAM"






Member since:
2006-01-30
It's important to explain why "some OS" on the event of a crash dumps the whole system memory over the paging file: because it's pre-allocated and, at some point, reliable (ie: safe to write to).
There could never be something unexplained or uncotrolled at kernel space. If something odd happened at kernel space, it (the kernel) can only be trusted to a minimum, so trusting it to allocate another file could be disastrous and render the whole system corrupt or unusable, so this design of using a pre-allocated file would be the safest.
Back to the matter at hand, the fixed value of twice the RAM is completely out of parameter, but you have to start somewhere, so it's understandable.
I would choose no hard disk paging, ever, for a few reasons: it's simpler (and simpler is always good) and you got the "how much RAM you have is exactly how much you can expect to load on your system" approach (a lot easier for everyone: users, developers, admins, ...).
I have an idea: use disk paging only after the system generated a baseline on how a particular system behaves. I think it's the smartest way to do that.