Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.


  Search this Thread
Old 04-10-2006, 02:42 AM   #1
Registered: Aug 2004
Location: Jaipur(Rajasthan), INDIA
Posts: 35

Rep: Reputation: 15
SWAP space=2*RAM


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

Old 04-10-2006, 02:43 AM   #2
Registered: Feb 2003
Location: Poole, Dorset, England
Distribution: Fedora Core 5
Posts: 80

Rep: Reputation: 15
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.
Old 04-12-2006, 03:51 PM   #3
Senior Member
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
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.
Old 04-27-2006, 02:22 PM   #4
Brian Knoblauch
Registered: Jan 2005
Distribution: OpenSuse Tumbleweed
Posts: 288

Rep: Reputation: 39
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to reduce swap space and reclaim the space grantm Linux - Newbie 7 08-16-2012 07:05 AM
Not using RAM and Swap much ? ruwach Linux - Hardware 2 06-11-2004 07:26 AM
How to unmount actual swap and mount a new(bigger) swap space? isaac Linux - Newbie 1 06-06-2004 01:23 AM
RAM and Swap shiny_spoon Linux - General 5 01-13-2004 02:27 PM
No SWAP but all RAM!! hari_seldon99 Linux - General 3 01-13-2004 10:48 AM > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 04:07 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration