LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Enterprise (http://www.linuxquestions.org/questions/linux-enterprise-47/)
-   -   SWAP space=2*RAM (http://www.linuxquestions.org/questions/linux-enterprise-47/swap-space%3D2%2Aram-433594/)

p_test 04-10-2006 02:42 AM

SWAP space=2*RAM
 
Hi

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

Regards

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:13 PM.