-   Linux - Enterprise (
-   -   SWAP space=2*RAM (

p_test 04-10-2006 02:42 AM

SWAP space=2*RAM

Why is SWAP space recommended to be 2 times of RAM ??any clue !!


gmcmaster 04-10-2006 02:43 AM

Not a clue to be honest, I usually set mine as just over the amount of RAM in the system. I've run a Swapless system on 1gig of RAM before with no problem.

uselpa 04-12-2006 03:51 PM

Some functionalities like suspend to disk and crash dumps are normally configured to write the whole memory to swap (+ some control information), which is why it is usually recommended to have a swap partition that is slightly larger than the available RAM.

Of course, if you need none of those, you can do without swap provided you have enough RAM for your usage.

Brian Knoblauch 04-27-2006 02:22 PM

2x RAM is a historical figure. Probably not at all valid in today's environments with cheap RAM and increased user expectation of rapid response.

All times are GMT -5. The time now is 01:09 PM.